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.001174/0.001179, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1875/0.1875, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 80.2 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2962, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.0117/0.3079, allocations: 11.93 MB / 0.5433 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008903/0.3169, allocations: 4.063 MB / 0.5473 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/0.3198, allocations: 79.72 kB / 0.5473 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.3228, allocations: 1.674 MB / 0.549 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003427/0.3263, allocations: 1.552 MB / 0.5505 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.3282, allocations: 1.177 MB / 0.5516 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003613/0.3319, allocations: 3.502 MB / 0.5551 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.3342, allocations: 2.457 MB / 0.5575 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.3354, allocations: 1.156 MB / 0.5586 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.3369, allocations: 1.561 MB / 0.5601 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003775/0.3373, allocations: 240 kB / 0.5603 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3384, allocations: 0.7177 MB / 0.561 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.3395, allocations: 1.543 MB / 0.5625 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.341, allocations: 1.867 MB / 0.5644 GB, free: 88 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005377/0.3463, allocations: 6.124 MB / 0.5703 GB, free: 9.941 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3464, allocations: 0 / 0.5703 GB, free: 9.941 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3464, allocations: 0 / 0.5703 GB, free: 9.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001171/0.3465, allocations: 0 / 0.5703 GB, free: 9.941 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.005721/0.3522, allocations: 3.981 MB / 0.5742 GB, free: 5.891 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3523, allocations: 8.031 kB / 0.5742 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008441/0.3607, allocations: 2.974 MB / 0.5771 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003164/0.3639, allocations: 1.811 MB / 0.5789 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.3641, allocations: 193.1 kB / 0.5791 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005453/0.3646, allocations: 251.8 kB / 0.5793 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.3777, allocations: 10.05 MB / 0.5891 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.732e-05/0.3778, allocations: 31.69 kB / 0.5892 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000574/0.3784, allocations: 131.8 kB / 0.5893 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003089/0.3815, allocations: 2.314 MB / 0.5916 GB, free: 3.422 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.3957, allocations: 8.923 MB / 0.6003 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04114/0.4369, allocations: 37.52 MB / 0.6369 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005173/0.4421, allocations: 3.379 MB / 0.6402 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.4438, allocations: 1.235 MB / 0.6414 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008146/0.452, allocations: 5.171 MB / 0.6465 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.4521, allocations: 55 kB / 0.6465 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.17e-06/0.4521, allocations: 0 / 0.6465 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.00639/0.4585, allocations: 3.32 MB / 0.6498 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.4586, allocations: 166.8 kB / 0.6499 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005741/0.4643, allocations: 3.828 MB / 0.6537 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.4645, allocations: 45.69 kB / 0.6537 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002191/0.4667, allocations: 3.173 MB / 0.6568 GB, free: 14.91 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006609/0.4673, allocations: 0.6098 MB / 0.6574 GB, free: 14.29 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001853/0.4692, allocations: 1.305 MB / 0.6587 GB, free: 12.97 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.4693, allocations: 305.1 kB / 0.659 GB, free: 12.67 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/0.4719, allocations: 1.953 MB / 0.6609 GB, free: 10.71 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005085/0.477, allocations: 6.112 MB / 0.6668 GB, free: 2.527 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008426/0.4855, allocations: 8.792 MB / 0.6754 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/0.4856, allocations: 44 kB / 0.6755 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01215/0.4978, allocations: 7.693 MB / 0.683 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.498, allocations: 75.97 kB / 0.6831 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000204/0.4982, allocations: 148 kB / 0.6832 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.4984, allocations: 196 kB / 0.6834 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/0.5025, allocations: 1.454 MB / 0.6848 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002216/0.5027, allocations: 290.9 kB / 0.6851 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/0.5067, allocations: 0.9083 MB / 0.686 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007246/0.5074, allocations: 400 kB / 0.6864 GB, free: 12.46 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.00302/0.5104, allocations: 2.198 MB / 0.6885 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/0.5109, allocations: 307.8 kB / 0.6888 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007568/0.5117, allocations: 415 kB / 0.6892 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-05/0.5118, allocations: 39.92 kB / 0.6892 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.5118, allocations: 4 kB / 0.6892 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.5118, allocations: 3.984 kB / 0.6892 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008689/0.5205, allocations: 5.459 MB / 0.6946 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.5205, allocations: 8.656 kB / 0.6946 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008395/0.5214, allocations: 203.7 kB / 0.6948 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/0.5214, allocations: 19.94 kB / 0.6948 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.79e-05/0.5215, allocations: 24 kB / 0.6948 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.5215, allocations: 19.92 kB / 0.6948 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5215, allocations: 4 kB / 0.6948 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002692/0.5242, allocations: 2.54 MB / 0.6973 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006292/0.5249, allocations: 372.7 kB / 0.6977 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/0.5253, allocations: 36 kB / 0.6977 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.5263, allocations: 63.91 kB / 0.6978 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.5265, allocations: 76.36 kB / 0.6978 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.293e-05/0.5266, allocations: 47.98 kB / 0.6979 GB, free: 400 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003517/0.5301, allocations: 2.33 MB / 0.7002 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5301, allocations: 0 / 0.7002 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004474/0.5346, allocations: 1.067 MB / 0.7012 GB, free: 13 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.0004037/0.535, allocations: 159.1 kB / 0.7014 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006557/0.5416, allocations: 4.451 MB / 0.7057 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.5416, allocations: 4.062 kB / 0.7057 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.5428, allocations: 0.9517 MB / 0.7066 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.5449, allocations: 353.1 kB / 0.707 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.5588, allocations: 8.73 MB / 0.7155 GB, free: 14.28 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003927/0.5628, allocations: 3.166 MB / 0.7186 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009146/0.5637, allocations: 279.4 kB / 0.7189 GB, free: 10.82 MB / 0.5763 GB Notification: Performance of SimCode: time 8.72e-07/0.5637, allocations: 0 / 0.7189 GB, free: 10.82 MB / 0.5763 GB Notification: Performance of Templates: time 0.3058/0.8695, 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