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.001312/0.001312, allocations: 111.7 kB / 18.46 MB, free: 4.594 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.001161/0.001161, allocations: 182.1 kB / 19.38 MB, free: 3.68 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.369/1.369, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2122/0.2122, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.91 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4025, allocations: 60.82 MB / 0.5196 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.0157/0.4182, allocations: 12.06 MB / 0.5313 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.4295, allocations: 4.028 MB / 0.5353 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003388/0.4329, allocations: 77.41 kB / 0.5353 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003859/0.4368, allocations: 1.67 MB / 0.537 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00528/0.4421, allocations: 1.582 MB / 0.5385 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.4449, allocations: 1.194 MB / 0.5397 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006719/0.4517, allocations: 3.523 MB / 0.5431 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004403/0.4561, allocations: 2.485 MB / 0.5455 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.4586, allocations: 1.175 MB / 0.5467 GB, free: 356 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.4613, allocations: 1.588 MB / 0.5482 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009305/0.4622, allocations: 240 kB / 0.5485 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.4643, allocations: 0.7176 MB / 0.5492 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002249/0.4666, allocations: 1.601 MB / 0.5507 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003478/0.4701, allocations: 1.91 MB / 0.5526 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009012/0.4791, allocations: 6.289 MB / 0.5587 GB, free: 3.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4791, allocations: 0 / 0.5587 GB, free: 3.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4791, allocations: 0 / 0.5587 GB, free: 3.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002466/0.4794, allocations: 0 / 0.5587 GB, free: 3.961 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.00978/0.4892, allocations: 4.082 MB / 0.5627 GB, free: 15.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.4892, allocations: 12.03 kB / 0.5627 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.4998, allocations: 2.994 MB / 0.5657 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005013/0.5048, allocations: 1.835 MB / 0.5675 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.505, allocations: 197.2 kB / 0.5676 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.5061, allocations: 251.8 kB / 0.5679 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/0.5233, allocations: 10.23 MB / 0.5779 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.5234, allocations: 35.69 kB / 0.5779 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007959/0.5242, allocations: 131.8 kB / 0.578 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003802/0.5281, allocations: 2.364 MB / 0.5803 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.5442, allocations: 9.082 MB / 0.5892 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05539/0.5996, allocations: 37.97 MB / 0.6263 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006246/0.6059, allocations: 3.383 MB / 0.6296 GB, free: 9.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.6079, allocations: 1.237 MB / 0.6308 GB, free: 7.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/0.6181, allocations: 5.179 MB / 0.6359 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.6182, allocations: 43.12 kB / 0.6359 GB, free: 2.543 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 5.079e-06/0.6182, allocations: 0 / 0.6359 GB, free: 2.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.007513/0.6257, allocations: 3.336 MB / 0.6392 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/0.626, allocations: 162.8 kB / 0.6393 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007684/0.6337, allocations: 3.869 MB / 0.6431 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.6338, allocations: 41.7 kB / 0.6431 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002897/0.6367, allocations: 3.231 MB / 0.6463 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008018/0.6376, allocations: 0.602 MB / 0.6469 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0024/0.64, allocations: 1.313 MB / 0.6482 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.6401, allocations: 305.1 kB / 0.6485 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002974/0.643, allocations: 1.965 MB / 0.6504 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00611/0.6492, allocations: 6.16 MB / 0.6564 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.6597, allocations: 8.851 MB / 0.665 GB, free: 428 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000194/0.6599, allocations: 44.28 kB / 0.6651 GB, free: 384 kB / 0.5137 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01472/0.6747, allocations: 7.751 MB / 0.6726 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.6749, allocations: 68 kB / 0.6727 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002992/0.6752, allocations: 159.9 kB / 0.6729 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/0.6754, allocations: 196 kB / 0.6731 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004795/0.6802, allocations: 1.462 MB / 0.6745 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002728/0.6805, allocations: 291.4 kB / 0.6748 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005186/0.6857, allocations: 0.9239 MB / 0.6757 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.6868, allocations: 396 kB / 0.676 GB, free: 5.129 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.004165/0.691, allocations: 2.238 MB / 0.6782 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006475/0.6916, allocations: 307.9 kB / 0.6785 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.6927, allocations: 411.4 kB / 0.6789 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.6927, allocations: 3.984 kB / 0.6789 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6927, allocations: 4 kB / 0.6789 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/0.6935, allocations: 364.7 kB / 0.6793 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/0.694, allocations: 20 kB / 0.6793 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.6953, allocations: 63.84 kB / 0.6793 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.6955, allocations: 64.47 kB / 0.6794 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003254/0.6987, allocations: 2.272 MB / 0.6816 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002924/0.7017, allocations: 2.498 MB / 0.6841 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001057/0.7028, allocations: 0.8681 MB / 0.6849 GB, free: 11.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004007/0.7068, allocations: 2.358 MB / 0.6872 GB, free: 9.625 MB / 0.545 GB Notification: Performance of Backend: time 7.51e-07/0.7068, allocations: 4 kB / 0.6872 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008242/0.715, allocations: 3.79 MB / 0.6909 GB, free: 5.855 MB / 0.545 GB Notification: Performance of SimCode: time 0.01907/0.7341, allocations: 8.393 MB / 0.6991 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.3415/1.076, allocations: 33.06 MB / 0.7314 GB, free: 186.3 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