Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 113.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 217.9 kB / 19.41 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 75.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3865, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01575/0.4023, allocations: 11.92 MB / 0.5433 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.4136, allocations: 4.063 MB / 0.5473 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00412/0.4178, allocations: 79.88 kB / 0.5473 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004369/0.4221, allocations: 1.662 MB / 0.549 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005063/0.4273, allocations: 1.527 MB / 0.5505 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.43, allocations: 1.173 MB / 0.5516 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005766/0.4358, allocations: 3.512 MB / 0.555 GB, free: 9.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003144/0.439, allocations: 2.453 MB / 0.5574 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.4411, allocations: 1.156 MB / 0.5586 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.4435, allocations: 1.561 MB / 0.5601 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006475/0.4441, allocations: 236 kB / 0.5603 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.4458, allocations: 0.7138 MB / 0.561 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.4473, allocations: 1.558 MB / 0.5625 GB, free: 2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.4493, allocations: 1.855 MB / 0.5643 GB, free: 136 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007015/0.4563, allocations: 6.12 MB / 0.5703 GB, free: 9.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.4563, allocations: 7.984 kB / 0.5703 GB, free: 9.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4563, allocations: 0 / 0.5703 GB, free: 9.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000169/0.4565, allocations: 0 / 0.5703 GB, free: 9.984 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.00827/0.4648, allocations: 3.977 MB / 0.5742 GB, free: 5.938 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4649, allocations: 12.02 kB / 0.5742 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009981/0.4748, allocations: 2.967 MB / 0.5771 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004351/0.4792, allocations: 1.819 MB / 0.5789 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.4795, allocations: 197.1 kB / 0.5791 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/0.4806, allocations: 243.8 kB / 0.5793 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.5002, allocations: 10.05 MB / 0.5891 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.878e-05/0.5004, allocations: 31.73 kB / 0.5892 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006369/0.501, allocations: 127.8 kB / 0.5893 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004254/0.5053, allocations: 2.31 MB / 0.5915 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01874/0.5241, allocations: 8.926 MB / 0.6002 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04976/0.5739, allocations: 37.53 MB / 0.6369 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005729/0.5797, allocations: 3.375 MB / 0.6402 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/0.5815, allocations: 1.242 MB / 0.6414 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008681/0.5902, allocations: 5.167 MB / 0.6464 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.5902, allocations: 51 kB / 0.6465 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.688e-06/0.5903, allocations: 4 kB / 0.6465 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007433/0.5977, allocations: 3.32 MB / 0.6497 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/0.5978, allocations: 170.8 kB / 0.6499 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005928/0.6038, allocations: 3.832 MB / 0.6536 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002499/0.604, allocations: 45.69 kB / 0.6537 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002431/0.6065, allocations: 3.169 MB / 0.6568 GB, free: 14.96 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008506/0.6073, allocations: 0.6059 MB / 0.6574 GB, free: 14.35 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/0.6091, allocations: 1.309 MB / 0.6587 GB, free: 13.03 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6092, allocations: 301.1 kB / 0.6589 GB, free: 12.73 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/0.612, allocations: 1.953 MB / 0.6609 GB, free: 10.77 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00537/0.6173, allocations: 6.108 MB / 0.6668 GB, free: 2.59 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.6274, allocations: 8.796 MB / 0.6754 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/0.6275, allocations: 44 kB / 0.6754 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01391/0.6415, allocations: 7.696 MB / 0.683 GB, free: 15.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.6416, allocations: 71.94 kB / 0.683 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002114/0.6418, allocations: 148 kB / 0.6832 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.642, allocations: 192 kB / 0.6834 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/0.6466, allocations: 1.463 MB / 0.6848 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002519/0.6469, allocations: 286.9 kB / 0.6851 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00505/0.652, allocations: 0.9122 MB / 0.6859 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009187/0.6529, allocations: 404 kB / 0.6863 GB, free: 12.51 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.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 (791): * Single equations (assignments): 783 * 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.004347/0.6573, allocations: 2.195 MB / 0.6885 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007099/0.658, allocations: 311.8 kB / 0.6888 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.6591, allocations: 407.1 kB / 0.6892 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-05/0.6592, allocations: 43.98 kB / 0.6892 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.6592, allocations: 3.938 kB / 0.6892 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.6593, allocations: 7.984 kB / 0.6892 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.6693, allocations: 5.455 MB / 0.6945 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/0.6694, allocations: 4 kB / 0.6945 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009528/0.6703, allocations: 211.7 kB / 0.6947 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/0.6703, allocations: 11.94 kB / 0.6948 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.41e-05/0.6704, allocations: 24 kB / 0.6948 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/0.6705, allocations: 15.94 kB / 0.6948 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.6705, allocations: 8 kB / 0.6948 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/0.6735, allocations: 2.537 MB / 0.6973 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008216/0.6743, allocations: 376.7 kB / 0.6976 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006288/0.675, allocations: 27.94 kB / 0.6977 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.6762, allocations: 63.92 kB / 0.6977 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.6764, allocations: 80.34 kB / 0.6978 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.905e-05/0.6765, allocations: 44.06 kB / 0.6978 GB, free: 468 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004117/0.6806, allocations: 2.338 MB / 0.7001 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6806, allocations: 4 kB / 0.7001 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005845/0.6865, allocations: 1.067 MB / 0.7012 GB, free: 13.06 MB / 0.5606 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.0005914/0.6871, allocations: 158.9 kB / 0.7013 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007406/0.6945, allocations: 4.442 MB / 0.7057 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.6946, allocations: 1.938 kB / 0.7057 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.6959, allocations: 0.9528 MB / 0.7066 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/0.6988, allocations: 352.8 kB / 0.7069 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/0.7174, allocations: 8.738 MB / 0.7155 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004658/0.7221, allocations: 3.166 MB / 0.7186 GB, free: 11.14 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009864/0.7231, allocations: 275.4 kB / 0.7188 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of SimCode: time 8.01e-07/0.7231, allocations: 0 / 0.7188 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of Templates: time 0.419/1.142, allocations: 52.82 MB / 0.7704 GB, free: 146.6 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches