Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 106.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2293/0.2293, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.91 kB / 441.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.146, allocations: 57.79 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01326/0.1593, allocations: 12.44 MB / 0.5 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009733/0.1691, allocations: 4.047 MB / 0.504 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.1718, allocations: 79.81 kB / 0.504 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00331/0.1751, allocations: 1.682 MB / 0.5057 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004124/0.1793, allocations: 1.623 MB / 0.5073 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.1816, allocations: 1.196 MB / 0.5084 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005456/0.1871, allocations: 3.615 MB / 0.512 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003766/0.1908, allocations: 2.524 MB / 0.5144 GB, free: 480 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.1932, allocations: 1.218 MB / 0.5156 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.195, allocations: 1.662 MB / 0.5173 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004789/0.1955, allocations: 252 kB / 0.5175 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.1969, allocations: 0.7138 MB / 0.5182 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001434/0.1984, allocations: 1.652 MB / 0.5198 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.2002, allocations: 1.983 MB / 0.5217 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007288/0.2075, allocations: 6.515 MB / 0.5281 GB, free: 2.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.2075, allocations: 4 kB / 0.5281 GB, free: 2.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2076, allocations: 0 / 0.5281 GB, free: 2.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001732/0.2077, allocations: 0 / 0.5281 GB, free: 2.422 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.3317/0.5394, allocations: 4.192 MB / 0.5322 GB, free: 37.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5395, allocations: 10.06 kB / 0.5322 GB, free: 37.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.551, allocations: 3.011 MB / 0.5351 GB, free: 37.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00449/0.5555, allocations: 1.882 MB / 0.537 GB, free: 36.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.5557, allocations: 208.1 kB / 0.5372 GB, free: 36.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008124/0.5565, allocations: 253.9 kB / 0.5374 GB, free: 36.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/0.5764, allocations: 10.52 MB / 0.5477 GB, free: 32.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-05/0.5765, allocations: 29.72 kB / 0.5477 GB, free: 32.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004985/0.577, allocations: 131 kB / 0.5479 GB, free: 32.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004745/0.5818, allocations: 2.44 MB / 0.5502 GB, free: 31.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.6006, allocations: 9.367 MB / 0.5594 GB, free: 25.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04651/0.6472, allocations: 38.75 MB / 0.5972 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006304/0.6535, allocations: 3.504 MB / 0.6006 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.6555, allocations: 1.276 MB / 0.6019 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009351/0.6649, allocations: 5.447 MB / 0.6072 GB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.665, allocations: 47.06 kB / 0.6073 GB, free: 6.699 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 5.641e-06/0.665, allocations: 0 / 0.6073 GB, free: 6.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.007464/0.6725, allocations: 3.358 MB / 0.6105 GB, free: 3.336 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.6726, allocations: 174.7 kB / 0.6107 GB, free: 3.129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006199/0.6788, allocations: 3.957 MB / 0.6146 GB, free: 15.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.6791, allocations: 41.7 kB / 0.6146 GB, free: 15.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002467/0.6815, allocations: 3.32 MB / 0.6179 GB, free: 11.76 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007401/0.6823, allocations: 0.6213 MB / 0.6185 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001686/0.684, allocations: 1.344 MB / 0.6198 GB, free: 9.777 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6841, allocations: 305.1 kB / 0.6201 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/0.687, allocations: 2.004 MB / 0.622 GB, free: 7.469 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006257/0.6933, allocations: 6.307 MB / 0.6282 GB, free: 15.01 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.7043, allocations: 9.061 MB / 0.637 GB, free: 3.805 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/0.7044, allocations: 45.03 kB / 0.6371 GB, free: 3.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.0142/0.7186, allocations: 7.928 MB / 0.6448 GB, free: 11.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.7188, allocations: 72 kB / 0.6449 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001924/0.719, allocations: 152 kB / 0.645 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.7192, allocations: 200 kB / 0.6452 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004735/0.724, allocations: 1.514 MB / 0.6467 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003106/0.7243, allocations: 302.8 kB / 0.647 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004949/0.7292, allocations: 0.9432 MB / 0.6479 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007121/0.73, allocations: 412 kB / 0.6483 GB, free: 8.242 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.0038/0.7338, allocations: 2.288 MB / 0.6505 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005953/0.7344, allocations: 315.8 kB / 0.6508 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008286/0.7352, allocations: 420.2 kB / 0.6512 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.267e-05/0.7353, allocations: 39.98 kB / 0.6513 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.7353, allocations: 0.5 kB / 0.6513 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.7353, allocations: 11.97 kB / 0.6513 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009064/0.7444, allocations: 5.7 MB / 0.6568 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.7445, allocations: 8 kB / 0.6569 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009583/0.7454, allocations: 209.5 kB / 0.6571 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/0.7454, allocations: 12.75 kB / 0.6571 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.082e-05/0.7455, allocations: 24 kB / 0.6571 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.532e-05/0.7456, allocations: 23.92 kB / 0.6571 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/0.7456, allocations: 11.94 kB / 0.6571 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.7487, allocations: 2.589 MB / 0.6597 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007721/0.7494, allocations: 376.6 kB / 0.66 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003362/0.7498, allocations: 27.98 kB / 0.66 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.7508, allocations: 63.92 kB / 0.6601 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.751, allocations: 92.31 kB / 0.6602 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.86e-05/0.7511, allocations: 48 kB / 0.6602 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003744/0.7549, allocations: 2.407 MB / 0.6626 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7549, allocations: 0 / 0.6626 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005547/0.7604, allocations: 1.139 MB / 0.6637 GB, free: 8.219 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.0003742/0.7608, allocations: 153.6 kB / 0.6638 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00737/0.7682, allocations: 4.56 MB / 0.6683 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.7682, allocations: 192 / 0.6683 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.7695, allocations: 0.9683 MB / 0.6692 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.7717, allocations: 361.4 kB / 0.6696 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/0.7883, allocations: 8.608 MB / 0.678 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004011/0.7924, allocations: 3.276 MB / 0.6812 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005739/0.7981, allocations: 2.287 MB / 0.6834 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006781/0.7988, allocations: 227.4 kB / 0.6836 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of SimCode: time 1.664e-06/0.7988, allocations: 0 / 0.6836 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.05244/0.8513, allocations: 22.56 MB / 0.7057 GB, free: 13.12 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches