Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2375/0.2375, allocations: 46.97 MB / 361.6 MB, free: 4.102 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 59.91 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3539, allocations: 66.04 MB / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01317/0.3671, allocations: 10.39 MB / 0.572 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.378, allocations: 3.895 MB / 0.5758 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.3806, allocations: 87.69 kB / 0.5758 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.3842, allocations: 1.643 MB / 0.5774 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003866/0.388, allocations: 1.564 MB / 0.579 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.3905, allocations: 1.153 MB / 0.5801 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005/0.3955, allocations: 3.498 MB / 0.5835 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/0.3981, allocations: 1.992 MB / 0.5855 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.3998, allocations: 1.172 MB / 0.5866 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.402, allocations: 1.732 MB / 0.5883 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005063/0.4025, allocations: 236 kB / 0.5885 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.4038, allocations: 0.628 MB / 0.5891 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.4052, allocations: 1.593 MB / 0.5907 GB, free: 6.391 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.4067, allocations: 1.303 MB / 0.592 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007118/0.4138, allocations: 6.184 MB / 0.598 GB, free: 14.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4138, allocations: 0 / 0.598 GB, free: 14.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4138, allocations: 0 / 0.598 GB, free: 14.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001705/0.414, allocations: 0 / 0.598 GB, free: 14.87 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.007218/0.4212, allocations: 4.011 MB / 0.6019 GB, free: 10.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4213, allocations: 16.03 kB / 0.6019 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009873/0.4312, allocations: 2.993 MB / 0.6049 GB, free: 7.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00534/0.4365, allocations: 1.767 MB / 0.6066 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.4367, allocations: 193.1 kB / 0.6068 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007349/0.4375, allocations: 251.7 kB / 0.607 GB, free: 5.547 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01659/0.4541, allocations: 10.04 MB / 0.6168 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.591e-05/0.4541, allocations: 31.69 kB / 0.6168 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.4545, allocations: 127.8 kB / 0.617 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003665/0.4582, allocations: 2.314 MB / 0.6192 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/0.4752, allocations: 8.917 MB / 0.6279 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05053/0.5257, allocations: 35.04 MB / 0.6622 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005762/0.5315, allocations: 2.345 MB / 0.6644 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.5334, allocations: 1.138 MB / 0.6656 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00952/0.5429, allocations: 4.461 MB / 0.6699 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/0.543, allocations: 55.14 kB / 0.67 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.19e-06/0.543, allocations: 0 / 0.67 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007282/0.5503, allocations: 3.313 MB / 0.6732 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.5504, allocations: 174.8 kB / 0.6734 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005536/0.5559, allocations: 3.752 MB / 0.677 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002772/0.5562, allocations: 45.61 kB / 0.6771 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002633/0.5588, allocations: 3.337 MB / 0.6803 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008923/0.5597, allocations: 0.6321 MB / 0.6809 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001831/0.5616, allocations: 1.31 MB / 0.6822 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.5618, allocations: 353.9 kB / 0.6826 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002966/0.5647, allocations: 1.957 MB / 0.6845 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006626/0.5714, allocations: 6.1 MB / 0.6904 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/0.5824, allocations: 8.789 MB / 0.699 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001755/0.5826, allocations: 52 kB / 0.6991 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01507/0.5977, allocations: 7.698 MB / 0.7066 GB, free: 9.418 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.5978, allocations: 68 kB / 0.7066 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002276/0.598, allocations: 151.9 kB / 0.7068 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.5982, allocations: 192 kB / 0.707 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004817/0.6031, allocations: 1.454 MB / 0.7084 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000282/0.6033, allocations: 290.8 kB / 0.7087 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004755/0.6081, allocations: 0.9036 MB / 0.7096 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/0.6092, allocations: 404.1 kB / 0.7099 GB, free: 5.969 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (791): * Single equations (assignments): 783 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00429/0.6135, allocations: 2.195 MB / 0.7121 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006655/0.6142, allocations: 294 kB / 0.7124 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009184/0.6151, allocations: 392.3 kB / 0.7127 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.456e-05/0.6152, allocations: 39.98 kB / 0.7128 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/0.6152, allocations: 0 / 0.7128 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.6152, allocations: 7.984 kB / 0.7128 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.6258, allocations: 4.331 MB / 0.717 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/0.6258, allocations: 4 kB / 0.717 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.6269, allocations: 208.3 kB / 0.7172 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.268e-05/0.6269, allocations: 8 kB / 0.7172 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/0.627, allocations: 36 kB / 0.7173 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.801e-05/0.6271, allocations: 11.94 kB / 0.7173 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/0.6271, allocations: 11.94 kB / 0.7173 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.6308, allocations: 2.517 MB / 0.7197 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00099/0.6317, allocations: 285.6 kB / 0.72 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006215/0.6324, allocations: 27.98 kB / 0.72 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.6337, allocations: 67.86 kB / 0.7201 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.6339, allocations: 84.25 kB / 0.7202 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.634, allocations: 51.97 kB / 0.7202 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00449/0.6385, allocations: 2.087 MB / 0.7223 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6385, allocations: 0 / 0.7223 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006131/0.6446, allocations: 1.103 MB / 0.7233 GB, free: 8.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 102 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006322/0.6453, allocations: 154.9 kB / 0.7235 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008131/0.6534, allocations: 4.256 MB / 0.7277 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.6534, allocations: 0 / 0.7277 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.655, allocations: 0.8784 MB / 0.7285 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/0.6579, allocations: 282.5 kB / 0.7288 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3213/0.9792, allocations: 8.352 MB / 0.7369 GB, free: 153 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003117/0.9823, allocations: 2.618 MB / 0.7395 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003978/0.9863, allocations: 2.187 MB / 0.7416 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.9867, allocations: 211.2 kB / 0.7418 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/0.9867, allocations: 1.312 kB / 0.7418 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.04218/1.029, allocations: 23.69 MB / 0.765 GB, free: 131.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.6259778609965]