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.001227/0.001227, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001206/0.001206, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.419/1.419, allocations: 222.9 MB / 242.4 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.2214/0.2214, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3983, allocations: 60.81 MB / 0.5189 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01274/0.4111, allocations: 12.06 MB / 0.5307 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.4222, allocations: 4.025 MB / 0.5346 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003082/0.4253, allocations: 80.41 kB / 0.5347 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003797/0.4291, allocations: 1.663 MB / 0.5363 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005055/0.4343, allocations: 1.558 MB / 0.5378 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.4369, allocations: 1.186 MB / 0.539 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00627/0.4432, allocations: 3.523 MB / 0.5424 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00364/0.4469, allocations: 2.485 MB / 0.5448 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.4489, allocations: 1.175 MB / 0.546 GB, free: 368 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.451, allocations: 1.592 MB / 0.5475 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005569/0.4516, allocations: 240 kB / 0.5478 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.4531, allocations: 0.7099 MB / 0.5485 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.4544, allocations: 1.586 MB / 0.55 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001829/0.4563, allocations: 1.921 MB / 0.5519 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006275/0.4626, allocations: 6.281 MB / 0.558 GB, free: 3.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4626, allocations: 0 / 0.558 GB, free: 3.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4626, allocations: 0 / 0.558 GB, free: 3.988 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001499/0.4628, allocations: 4 kB / 0.558 GB, free: 3.984 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.007665/0.4704, allocations: 4.074 MB / 0.562 GB, free: 15.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.4705, allocations: 8.031 kB / 0.562 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009713/0.4802, allocations: 2.998 MB / 0.5649 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003877/0.4841, allocations: 1.842 MB / 0.5667 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.4843, allocations: 197.2 kB / 0.5669 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007181/0.485, allocations: 251.8 kB / 0.5672 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/0.504, allocations: 10.23 MB / 0.5772 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.5042, allocations: 27.75 kB / 0.5772 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/0.5053, allocations: 127.8 kB / 0.5773 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004296/0.5096, allocations: 2.372 MB / 0.5796 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/0.5277, allocations: 9.078 MB / 0.5885 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05733/0.585, allocations: 37.97 MB / 0.6256 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006903/0.592, allocations: 3.393 MB / 0.6289 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/0.5943, allocations: 1.234 MB / 0.6301 GB, free: 7.945 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.6054, allocations: 5.175 MB / 0.6351 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/0.6055, allocations: 51.05 kB / 0.6352 GB, free: 2.562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 5.801e-06/0.6056, allocations: 0 / 0.6352 GB, free: 2.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.007245/0.6128, allocations: 3.324 MB / 0.6384 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.613, allocations: 170.7 kB / 0.6386 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008103/0.6211, allocations: 3.865 MB / 0.6424 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002674/0.6214, allocations: 49.61 kB / 0.6424 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003158/0.6246, allocations: 3.227 MB / 0.6456 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.6256, allocations: 0.602 MB / 0.6462 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002909/0.6286, allocations: 1.317 MB / 0.6475 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.6287, allocations: 305.1 kB / 0.6477 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003512/0.6322, allocations: 1.961 MB / 0.6497 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007891/0.6401, allocations: 6.152 MB / 0.6557 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.6509, allocations: 8.866 MB / 0.6643 GB, free: 444 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000173/0.6511, allocations: 40 kB / 0.6644 GB, free: 404 kB / 0.5137 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01658/0.6677, allocations: 7.747 MB / 0.6719 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.668, allocations: 68 kB / 0.672 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003758/0.6683, allocations: 148 kB / 0.6721 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.6687, allocations: 196 kB / 0.6723 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005205/0.6739, allocations: 1.463 MB / 0.6738 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003087/0.6742, allocations: 294.9 kB / 0.674 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005653/0.6799, allocations: 0.9237 MB / 0.6749 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/0.6811, allocations: 407.9 kB / 0.6753 GB, free: 5.148 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.004569/0.6857, allocations: 2.23 MB / 0.6775 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006914/0.6864, allocations: 311.8 kB / 0.6778 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.6875, allocations: 411.4 kB / 0.6782 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.915e-05/0.6876, allocations: 39.98 kB / 0.6782 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.717e-05/0.6877, allocations: 4 kB / 0.6782 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.6877, allocations: 4.297 kB / 0.6782 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.6999, allocations: 5.535 MB / 0.6836 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/0.6999, allocations: 8 kB / 0.6837 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.701, allocations: 207.7 kB / 0.6838 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/0.701, allocations: 8 kB / 0.6839 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.7011, allocations: 24 kB / 0.6839 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.148e-05/0.7012, allocations: 19.92 kB / 0.6839 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.7012, allocations: 8.469 kB / 0.6839 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/0.7047, allocations: 2.54 MB / 0.6864 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.706, allocations: 372.6 kB / 0.6867 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007671/0.7068, allocations: 28 kB / 0.6868 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/0.7088, allocations: 67.91 kB / 0.6868 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.7091, allocations: 72.36 kB / 0.6869 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/0.7092, allocations: 47.98 kB / 0.6869 GB, free: 8.996 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006688/0.7159, allocations: 2.358 MB / 0.6893 GB, free: 6.652 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.72e-07/0.716, allocations: 0 / 0.6893 GB, free: 6.652 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007766/0.7237, allocations: 1.11 MB / 0.6903 GB, free: 5.539 MB / 0.545 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.0007079/0.7245, allocations: 158.9 kB / 0.6905 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009032/0.7335, allocations: 4.467 MB / 0.6948 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/0.7336, allocations: 0 / 0.6948 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.7351, allocations: 0.9497 MB / 0.6958 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/0.7384, allocations: 360.5 kB / 0.6961 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/0.7584, allocations: 8.384 MB / 0.7043 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005918/0.7643, allocations: 3.211 MB / 0.7074 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006121/0.7705, allocations: 2.239 MB / 0.7096 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009797/0.7715, allocations: 219.4 kB / 0.7098 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of SimCode: time 1.163e-06/0.7715, allocations: 0 / 0.7098 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of Templates: time 0.3459/1.117, allocations: 21.31 MB / 0.7306 GB, free: 181.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/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