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.001076/0.001076, allocations: 115.9 kB / 17.09 MB, free: 5.984 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.001129/0.001129, allocations: 189.3 kB / 18.01 MB, free: 5.074 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.354/1.354, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2017/0.2017, allocations: 43.52 MB / 314.8 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.001546/0.001546, allocations: 59.91 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1168, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01463/0.1315, allocations: 12.44 MB / 0.5007 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00888/0.1404, allocations: 4.059 MB / 0.5046 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/0.1428, allocations: 79.88 kB / 0.5047 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003786/0.1467, allocations: 1.678 MB / 0.5063 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.1514, allocations: 1.591 MB / 0.5079 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.1541, allocations: 1.196 MB / 0.5091 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005568/0.1597, allocations: 3.619 MB / 0.5126 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003859/0.1636, allocations: 2.528 MB / 0.5151 GB, free: 496 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.1661, allocations: 1.211 MB / 0.5163 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/0.1689, allocations: 1.658 MB / 0.5179 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009995/0.17, allocations: 260 kB / 0.5181 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.1721, allocations: 0.7098 MB / 0.5188 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00218/0.1743, allocations: 1.66 MB / 0.5204 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003484/0.1778, allocations: 1.983 MB / 0.5224 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008049/0.1859, allocations: 6.511 MB / 0.5287 GB, free: 2.445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1859, allocations: 0 / 0.5287 GB, free: 2.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1859, allocations: 0 / 0.5287 GB, free: 2.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002494/0.1862, allocations: 0 / 0.5287 GB, free: 2.445 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.2611/0.4473, allocations: 4.197 MB / 0.5328 GB, free: 37.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4473, allocations: 9.031 kB / 0.5328 GB, free: 37.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.4584, allocations: 3.011 MB / 0.5358 GB, free: 37.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/0.4632, allocations: 1.875 MB / 0.5376 GB, free: 36.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.4634, allocations: 195.8 kB / 0.5378 GB, free: 36.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/0.4647, allocations: 261 kB / 0.538 GB, free: 36.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0208/0.4856, allocations: 10.52 MB / 0.5483 GB, free: 32.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.782e-05/0.4857, allocations: 36.23 kB / 0.5484 GB, free: 32.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004842/0.4862, allocations: 132.2 kB / 0.5485 GB, free: 32.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004101/0.4903, allocations: 2.437 MB / 0.5509 GB, free: 31.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01662/0.5069, allocations: 9.366 MB / 0.56 GB, free: 25.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04573/0.5527, allocations: 38.75 MB / 0.5979 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0061/0.5588, allocations: 3.492 MB / 0.6013 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.5609, allocations: 1.283 MB / 0.6025 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/0.5725, allocations: 5.451 MB / 0.6078 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.5727, allocations: 47.12 kB / 0.6079 GB, free: 6.688 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 6.302e-06/0.5727, allocations: 0 / 0.6079 GB, free: 6.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.007442/0.5801, allocations: 3.362 MB / 0.6112 GB, free: 3.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.5803, allocations: 162.8 kB / 0.6113 GB, free: 3.125 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005925/0.5862, allocations: 3.955 MB / 0.6152 GB, free: 15.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002331/0.5865, allocations: 45.7 kB / 0.6152 GB, free: 15.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002465/0.5889, allocations: 3.32 MB / 0.6185 GB, free: 11.76 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009069/0.5898, allocations: 0.6213 MB / 0.6191 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00178/0.5916, allocations: 1.341 MB / 0.6204 GB, free: 9.777 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5918, allocations: 305.1 kB / 0.6207 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/0.595, allocations: 2 MB / 0.6226 GB, free: 7.473 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006139/0.6011, allocations: 6.307 MB / 0.6288 GB, free: 15.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/0.6124, allocations: 9.069 MB / 0.6376 GB, free: 3.805 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/0.6126, allocations: 44 kB / 0.6377 GB, free: 3.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01508/0.6277, allocations: 7.928 MB / 0.6454 GB, free: 11.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.707e-05/0.6278, allocations: 68 kB / 0.6455 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001821/0.628, allocations: 152 kB / 0.6456 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.6282, allocations: 204 kB / 0.6458 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004556/0.6328, allocations: 1.51 MB / 0.6473 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002227/0.633, allocations: 298.8 kB / 0.6476 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004872/0.6379, allocations: 0.9513 MB / 0.6485 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008543/0.6388, allocations: 412 kB / 0.6489 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.004113/0.6429, allocations: 2.288 MB / 0.6511 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006096/0.6435, allocations: 315.8 kB / 0.6515 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008589/0.6444, allocations: 420.2 kB / 0.6519 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.464e-05/0.6445, allocations: 39.97 kB / 0.6519 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.6445, allocations: 4.625 kB / 0.6519 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.6445, allocations: 11.97 kB / 0.6519 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008962/0.6535, allocations: 5.696 MB / 0.6575 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.6535, allocations: 8 kB / 0.6575 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009728/0.6545, allocations: 216.4 kB / 0.6577 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/0.6545, allocations: 8 kB / 0.6577 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.614e-05/0.6546, allocations: 28 kB / 0.6577 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.647e-05/0.6547, allocations: 15.98 kB / 0.6577 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.6547, allocations: 9.75 kB / 0.6577 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.6579, allocations: 2.597 MB / 0.6603 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.659, allocations: 373.8 kB / 0.6606 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/0.6593, allocations: 31.98 kB / 0.6607 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.6604, allocations: 63.92 kB / 0.6607 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.6605, allocations: 92.22 kB / 0.6608 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.429e-05/0.6606, allocations: 40 kB / 0.6609 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003683/0.6643, allocations: 2.415 MB / 0.6632 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6643, allocations: 0 / 0.6632 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005164/0.6695, allocations: 1.132 MB / 0.6643 GB, free: 8.223 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.0003678/0.6699, allocations: 157.6 kB / 0.6645 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006992/0.6769, allocations: 4.559 MB / 0.6689 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.677, allocations: 192 / 0.6689 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.6782, allocations: 0.966 MB / 0.6699 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.6805, allocations: 361.7 kB / 0.6702 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.6957, allocations: 9.113 MB / 0.6791 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003652/0.6994, allocations: 3.288 MB / 0.6823 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009944/0.7004, allocations: 283.4 kB / 0.6826 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of SimCode: time 6.32e-07/0.7004, allocations: 0 / 0.6826 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of Templates: time 0.08416/0.7846, allocations: 54.96 MB / 0.7363 GB, free: 14.36 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/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