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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001091, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 103.4 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3753/0.3753, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 55.91 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3743, allocations: 60.8 MB / 0.5064 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.03065/0.405, allocations: 25.95 MB / 0.5317 GB, free: 19.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02147/0.4265, allocations: 6.326 MB / 0.5379 GB, free: 15.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008208/0.4348, allocations: 113 kB / 0.538 GB, free: 15.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004202/0.439, allocations: 1.635 MB / 0.5396 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004876/0.4441, allocations: 1.479 MB / 0.5411 GB, free: 14.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.4476, allocations: 1.188 MB / 0.5422 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007745/0.4554, allocations: 5.024 MB / 0.5471 GB, free: 12.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005118/0.4606, allocations: 2.477 MB / 0.5495 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.4636, allocations: 1.034 MB / 0.5506 GB, free: 10.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004107/0.4678, allocations: 1.702 MB / 0.5522 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001513/0.4693, allocations: 178.7 kB / 0.5524 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003029/0.4723, allocations: 0.6829 MB / 0.5531 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00359/0.476, allocations: 1.554 MB / 0.5546 GB, free: 9.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005116/0.4811, allocations: 1.874 MB / 0.5564 GB, free: 8.219 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.493, allocations: 5.933 MB / 0.5622 GB, free: 5.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.4931, allocations: 0 / 0.5622 GB, free: 5.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4931, allocations: 0.9375 kB / 0.5622 GB, free: 5.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003014/0.4934, allocations: 3.938 kB / 0.5622 GB, free: 5.465 MB / 378.7 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.01383/0.5072, allocations: 4.071 MB / 0.5662 GB, free: 2.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.722e-05/0.5073, allocations: 14.25 kB / 0.5662 GB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.5174, allocations: 3.001 MB / 0.5691 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005646/0.5231, allocations: 1.815 MB / 0.5709 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.5233, allocations: 201.2 kB / 0.5711 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009326/0.5242, allocations: 255.8 kB / 0.5713 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/0.5421, allocations: 10.23 MB / 0.5813 GB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.099e-05/0.5422, allocations: 31.75 kB / 0.5813 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004158/0.5427, allocations: 131.8 kB / 0.5815 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003911/0.5466, allocations: 2.361 MB / 0.5838 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.5642, allocations: 9.086 MB / 0.5927 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05314/0.6174, allocations: 38.14 MB / 0.6299 GB, free: 15.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005129/0.6226, allocations: 3.384 MB / 0.6332 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.6244, allocations: 1.226 MB / 0.6344 GB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009453/0.6339, allocations: 5.193 MB / 0.6395 GB, free: 5.309 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.6339, allocations: 47.06 kB / 0.6395 GB, free: 5.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 5.29e-06/0.634, allocations: 0 / 0.6395 GB, free: 5.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=150): time 0.007362/0.6413, allocations: 3.328 MB / 0.6428 GB, free: 1.922 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.6415, allocations: 174.7 kB / 0.6429 GB, free: 1.711 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006008/0.6475, allocations: 3.869 MB / 0.6467 GB, free: 13.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.6477, allocations: 41.7 kB / 0.6468 GB, free: 13.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002187/0.6499, allocations: 3.227 MB / 0.6499 GB, free: 10.52 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000712/0.6506, allocations: 0.6062 MB / 0.6505 GB, free: 9.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001732/0.6523, allocations: 1.309 MB / 0.6518 GB, free: 8.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6524, allocations: 305.1 kB / 0.6521 GB, free: 8.289 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/0.6552, allocations: 1.968 MB / 0.654 GB, free: 6.316 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006667/0.6618, allocations: 6.152 MB / 0.66 GB, free: 14.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/0.6734, allocations: 8.85 MB / 0.6686 GB, free: 3.129 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/0.6736, allocations: 48 kB / 0.6687 GB, free: 3.082 MB / 490.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01461/0.6882, allocations: 7.75 MB / 0.6763 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.6884, allocations: 68 kB / 0.6763 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002441/0.6886, allocations: 148 kB / 0.6765 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.6888, allocations: 196 kB / 0.6766 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004649/0.6935, allocations: 1.474 MB / 0.6781 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002744/0.6938, allocations: 295.3 kB / 0.6784 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005093/0.6989, allocations: 0.916 MB / 0.6793 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/0.6999, allocations: 404 kB / 0.6796 GB, free: 7.84 MB / 0.4948 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.004678/0.7046, allocations: 2.23 MB / 0.6818 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000685/0.7053, allocations: 311.9 kB / 0.6821 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.7065, allocations: 407.4 kB / 0.6825 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.756e-05/0.7066, allocations: 36 kB / 0.6825 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.7066, allocations: 4 kB / 0.6825 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.7067, allocations: 15.95 kB / 0.6826 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3286/1.035, allocations: 5.53 MB / 0.688 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.361e-05/1.035, allocations: 5.938 kB / 0.688 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.037, allocations: 205.7 kB / 0.6882 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-05/1.037, allocations: 11.5 kB / 0.6882 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/1.037, allocations: 32.91 kB / 0.6882 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.267e-05/1.037, allocations: 14.03 kB / 0.6882 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/1.037, allocations: 6.188 kB / 0.6882 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006697/1.044, allocations: 4.685 MB / 0.6928 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000977/1.045, allocations: 372.6 kB / 0.6932 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003961/1.045, allocations: 23.41 kB / 0.6932 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.047, allocations: 73.2 kB / 0.6932 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/1.047, allocations: 81.58 kB / 0.6933 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/1.047, allocations: 44.75 kB / 0.6934 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004833/1.052, allocations: 2.355 MB / 0.6957 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.71e-07/1.052, allocations: 0 / 0.6957 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008311/1.06, allocations: 1.107 MB / 0.6967 GB, free: 140.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (108): * Single equations (assignments): 102 * 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.0006284/1.061, allocations: 160.4 kB / 0.6969 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009223/1.07, allocations: 4.433 MB / 0.7012 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.07, allocations: 0 / 0.7012 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/1.072, allocations: 0.9535 MB / 0.7022 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/1.076, allocations: 353.9 kB / 0.7025 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/1.101, allocations: 11.38 MB / 0.7136 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005833/1.107, allocations: 3.26 MB / 0.7168 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008978/1.116, allocations: 2.233 MB / 0.719 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009005/1.117, allocations: 225.7 kB / 0.7192 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/1.117, allocations: 0 / 0.7192 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.08102/1.198, allocations: 25.05 MB / 0.7437 GB, free: 119.9 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches