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.001103/0.001104, allocations: 105.9 kB / 17.09 MB, free: 6.008 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.001149/0.001149, allocations: 199.2 kB / 18.02 MB, free: 5.09 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.331/1.331, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1938/0.1938, allocations: 43.53 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.001524/0.001524, allocations: 63.91 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1164, 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.01307/0.1295, allocations: 12.43 MB / 0.5007 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008361/0.1379, allocations: 4.051 MB / 0.5046 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.1402, allocations: 79.81 kB / 0.5047 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003553/0.1438, allocations: 1.678 MB / 0.5064 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004323/0.1482, allocations: 1.584 MB / 0.5079 GB, free: 7.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.1506, allocations: 1.2 MB / 0.5091 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004948/0.1555, allocations: 3.623 MB / 0.5126 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/0.1584, allocations: 2.528 MB / 0.5151 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.1602, allocations: 1.21 MB / 0.5163 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.1622, allocations: 1.662 MB / 0.5179 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005166/0.1627, allocations: 256 kB / 0.5181 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.164, allocations: 0.7099 MB / 0.5188 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.1653, allocations: 1.652 MB / 0.5204 GB, free: 11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.1669, allocations: 1.987 MB / 0.5224 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005801/0.1727, allocations: 6.507 MB / 0.5287 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.1727, allocations: 4 kB / 0.5287 GB, free: 2.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1727, allocations: 0 / 0.5287 GB, free: 2.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001185/0.1729, allocations: 0 / 0.5287 GB, free: 2.461 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.2436/0.4164, allocations: 4.197 MB / 0.5328 GB, free: 37.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4165, allocations: 14.69 kB / 0.5328 GB, free: 37.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009998/0.4265, allocations: 3.012 MB / 0.5358 GB, free: 37.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003773/0.4303, allocations: 1.871 MB / 0.5376 GB, free: 36.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.4304, allocations: 203.2 kB / 0.5378 GB, free: 36.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004986/0.4309, allocations: 257.8 kB / 0.5381 GB, free: 36.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/0.4462, allocations: 10.52 MB / 0.5483 GB, free: 32.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.614e-05/0.4463, allocations: 28.19 kB / 0.5484 GB, free: 32.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/0.4466, allocations: 131.3 kB / 0.5485 GB, free: 32.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003481/0.4501, allocations: 2.443 MB / 0.5509 GB, free: 31.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/0.463, allocations: 9.366 MB / 0.56 GB, free: 25.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0373/0.5004, allocations: 38.75 MB / 0.5979 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005648/0.5061, allocations: 3.5 MB / 0.6013 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.5077, allocations: 1.278 MB / 0.6025 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008215/0.516, allocations: 5.451 MB / 0.6078 GB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.516, allocations: 47.94 kB / 0.6079 GB, free: 6.699 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 4.108e-06/0.516, allocations: 0 / 0.6079 GB, free: 6.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.006549/0.5226, allocations: 3.359 MB / 0.6112 GB, free: 3.336 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.5227, allocations: 170.7 kB / 0.6113 GB, free: 3.133 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004789/0.5275, allocations: 3.955 MB / 0.6152 GB, free: 15.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.5276, allocations: 41.7 kB / 0.6152 GB, free: 15.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002099/0.5297, allocations: 3.32 MB / 0.6185 GB, free: 11.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005565/0.5303, allocations: 0.624 MB / 0.6191 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/0.5317, allocations: 1.344 MB / 0.6204 GB, free: 9.785 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5318, allocations: 305.1 kB / 0.6207 GB, free: 9.484 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00254/0.5344, allocations: 2 MB / 0.6226 GB, free: 7.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005618/0.54, allocations: 6.308 MB / 0.6288 GB, free: 15.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009552/0.5496, allocations: 9.059 MB / 0.6376 GB, free: 3.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.955e-05/0.5497, allocations: 44 kB / 0.6377 GB, free: 3.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01155/0.5613, allocations: 7.928 MB / 0.6454 GB, free: 11.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.822e-05/0.5614, allocations: 72 kB / 0.6455 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/0.5615, allocations: 152 kB / 0.6456 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.5617, allocations: 200 kB / 0.6458 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/0.5656, allocations: 1.513 MB / 0.6473 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002046/0.5658, allocations: 300.8 kB / 0.6476 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/0.5696, allocations: 0.947 MB / 0.6485 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004802/0.5701, allocations: 416 kB / 0.6489 GB, free: 8.254 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.00297/0.5731, allocations: 2.292 MB / 0.6512 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000456/0.5735, allocations: 315.8 kB / 0.6515 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007422/0.5743, allocations: 420.2 kB / 0.6519 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.5743, allocations: 7.984 kB / 0.6519 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.5743, allocations: 4.562 kB / 0.6519 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/0.5749, allocations: 368.6 kB / 0.6522 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.5752, allocations: 23.98 kB / 0.6522 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008933/0.5761, allocations: 60.22 kB / 0.6523 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.5762, allocations: 64.42 kB / 0.6524 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002924/0.5792, allocations: 2.287 MB / 0.6546 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002617/0.5818, allocations: 2.518 MB / 0.6571 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001059/0.5829, allocations: 0.8761 MB / 0.6579 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003186/0.5861, allocations: 2.415 MB / 0.6603 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of Backend: time 3.1e-07/0.5861, allocations: 0 / 0.6603 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007059/0.5931, allocations: 3.868 MB / 0.6641 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of SimCode: time 0.01367/0.6068, allocations: 8.585 MB / 0.6724 GB, free: 104 kB / 0.4981 GB Notification: Performance of Templates: time 0.06566/0.6725, allocations: 33.31 MB / 0.705 GB, free: 14.8 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/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