Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001163/0.001163, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.001022/0.001022, allocations: 191.2 kB / 19.39 MB, free: 3.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1977/0.1977, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3671, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01297/0.3801, allocations: 12.06 MB / 0.5313 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009538/0.3897, allocations: 4.026 MB / 0.5353 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002685/0.3924, allocations: 77.03 kB / 0.5353 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003741/0.3962, allocations: 1.671 MB / 0.537 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004867/0.4011, allocations: 1.589 MB / 0.5385 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.4039, allocations: 1.186 MB / 0.5397 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006133/0.4101, allocations: 3.523 MB / 0.5431 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004146/0.4142, allocations: 2.476 MB / 0.5455 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.4165, allocations: 1.179 MB / 0.5467 GB, free: 168 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.4189, allocations: 1.588 MB / 0.5482 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009115/0.4198, allocations: 240 kB / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.4217, allocations: 0.7177 MB / 0.5492 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001802/0.4235, allocations: 1.601 MB / 0.5507 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003033/0.4266, allocations: 1.91 MB / 0.5526 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008315/0.4349, allocations: 6.324 MB / 0.5588 GB, free: 3.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4349, allocations: 0 / 0.5588 GB, free: 3.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4349, allocations: 0 / 0.5588 GB, free: 3.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002472/0.4352, allocations: 0 / 0.5588 GB, free: 3.738 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.009614/0.4448, allocations: 4.187 MB / 0.5629 GB, free: 15.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4449, allocations: 12.03 kB / 0.5629 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00999/0.4549, allocations: 3.016 MB / 0.5658 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004028/0.4589, allocations: 1.847 MB / 0.5676 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.4591, allocations: 197.2 kB / 0.5678 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.4602, allocations: 255.8 kB / 0.5681 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.4766, allocations: 10.22 MB / 0.578 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.643e-05/0.4768, allocations: 35.69 kB / 0.5781 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008939/0.4777, allocations: 127.8 kB / 0.5782 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003711/0.4814, allocations: 2.372 MB / 0.5805 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01619/0.4976, allocations: 9.078 MB / 0.5894 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05289/0.5505, allocations: 38.04 MB / 0.6265 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005975/0.5566, allocations: 3.399 MB / 0.6299 GB, free: 8.734 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.5585, allocations: 1.231 MB / 0.6311 GB, free: 7.484 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009375/0.5679, allocations: 5.192 MB / 0.6361 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.109e-05/0.568, allocations: 47.06 kB / 0.6362 GB, free: 2.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 6.943e-06/0.568, allocations: 0 / 0.6362 GB, free: 2.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.007565/0.5756, allocations: 3.349 MB / 0.6394 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/0.5757, allocations: 162.8 kB / 0.6396 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007929/0.5837, allocations: 3.878 MB / 0.6434 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.5838, allocations: 45.69 kB / 0.6434 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003064/0.5869, allocations: 3.376 MB / 0.6467 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008692/0.5878, allocations: 0.6243 MB / 0.6473 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002451/0.5903, allocations: 1.329 MB / 0.6486 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5904, allocations: 305.1 kB / 0.6489 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003065/0.5935, allocations: 1.965 MB / 0.6508 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006517/0.6, allocations: 6.156 MB / 0.6569 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/0.6105, allocations: 8.855 MB / 0.6655 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001525/0.6107, allocations: 44 kB / 0.6655 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01389/0.6246, allocations: 7.761 MB / 0.6731 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.6248, allocations: 68.47 kB / 0.6732 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000272/0.6251, allocations: 148 kB / 0.6733 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.6253, allocations: 196 kB / 0.6735 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004458/0.6298, allocations: 1.47 MB / 0.675 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002683/0.6301, allocations: 295.4 kB / 0.6752 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004815/0.6349, allocations: 0.9503 MB / 0.6762 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008549/0.6358, allocations: 400 kB / 0.6765 GB, free: 4.449 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.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 (797): * Single equations (assignments): 789 * 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.003828/0.6396, allocations: 2.238 MB / 0.6787 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006517/0.6403, allocations: 329.7 kB / 0.679 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009855/0.6413, allocations: 411.4 kB / 0.6794 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.6413, allocations: 3.984 kB / 0.6794 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6413, allocations: 4 kB / 0.6794 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007169/0.642, allocations: 386.5 kB / 0.6798 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/0.6425, allocations: 20 kB / 0.6798 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.6437, allocations: 63.84 kB / 0.6799 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.6439, allocations: 56.48 kB / 0.6799 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003276/0.6472, allocations: 2.272 MB / 0.6822 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003293/0.6505, allocations: 2.512 MB / 0.6846 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001162/0.6517, allocations: 0.8714 MB / 0.6855 GB, free: 11.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004627/0.6564, allocations: 2.362 MB / 0.6878 GB, free: 8.895 MB / 0.545 GB Notification: Performance of Backend: time 4.11e-07/0.6564, allocations: 0 / 0.6878 GB, free: 8.895 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007742/0.6641, allocations: 3.786 MB / 0.6915 GB, free: 5.133 MB / 0.545 GB Notification: Performance of SimCode: time 0.01899/0.6831, allocations: 8.54 MB / 0.6998 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.3332/1.016, allocations: 33.05 MB / 0.7321 GB, free: 185.8 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches