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.001337/0.001336, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 46.12 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 71.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2761, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.0124/0.2886, allocations: 11.93 MB / 0.5433 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008343/0.2969, allocations: 4.059 MB / 0.5473 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.2991, allocations: 75.06 kB / 0.5473 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003295/0.3024, allocations: 1.674 MB / 0.549 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.306, allocations: 1.526 MB / 0.5505 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.3083, allocations: 1.169 MB / 0.5516 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004575/0.3129, allocations: 3.505 MB / 0.555 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003047/0.316, allocations: 2.461 MB / 0.5574 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.3177, allocations: 1.148 MB / 0.5586 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.3199, allocations: 1.569 MB / 0.5601 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006773/0.3205, allocations: 240 kB / 0.5603 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.3221, allocations: 0.71 MB / 0.561 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.3234, allocations: 1.55 MB / 0.5625 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.325, allocations: 1.863 MB / 0.5643 GB, free: 144 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005525/0.3305, allocations: 6.128 MB / 0.5703 GB, free: 9.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3305, allocations: 0 / 0.5703 GB, free: 9.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3306, allocations: 0 / 0.5703 GB, free: 9.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.78e-05/0.3307, allocations: 4 kB / 0.5703 GB, free: 9.988 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.005653/0.3363, allocations: 3.981 MB / 0.5742 GB, free: 5.938 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3364, allocations: 8.031 kB / 0.5742 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009299/0.3457, allocations: 2.967 MB / 0.5771 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/0.3493, allocations: 1.815 MB / 0.5789 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.3494, allocations: 197.1 kB / 0.5791 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006047/0.35, allocations: 251.8 kB / 0.5793 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.3642, allocations: 10.05 MB / 0.5891 GB, free: 5.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-05/0.3643, allocations: 35.69 kB / 0.5892 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/0.3646, allocations: 123.8 kB / 0.5893 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003326/0.368, allocations: 2.306 MB / 0.5915 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.382, allocations: 8.923 MB / 0.6003 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04307/0.4251, allocations: 37.52 MB / 0.6369 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005402/0.4305, allocations: 3.38 MB / 0.6402 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.4323, allocations: 1.245 MB / 0.6414 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008631/0.441, allocations: 5.175 MB / 0.6465 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.4411, allocations: 51.05 kB / 0.6465 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.598e-06/0.4411, allocations: 0 / 0.6465 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.006981/0.4481, allocations: 3.324 MB / 0.6498 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.4482, allocations: 162.8 kB / 0.6499 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006882/0.4551, allocations: 3.828 MB / 0.6536 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.4552, allocations: 49.7 kB / 0.6537 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00237/0.4576, allocations: 3.173 MB / 0.6568 GB, free: 14.97 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006555/0.4583, allocations: 0.5981 MB / 0.6574 GB, free: 14.36 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/0.4603, allocations: 1.317 MB / 0.6587 GB, free: 13.04 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4604, allocations: 301.1 kB / 0.659 GB, free: 12.74 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002793/0.4632, allocations: 1.953 MB / 0.6609 GB, free: 10.78 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004987/0.4682, allocations: 6.112 MB / 0.6668 GB, free: 2.594 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008677/0.4769, allocations: 8.781 MB / 0.6754 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.798e-05/0.477, allocations: 44 kB / 0.6754 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01179/0.4888, allocations: 7.699 MB / 0.683 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.4889, allocations: 73.97 kB / 0.683 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001962/0.4892, allocations: 148 kB / 0.6832 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.4894, allocations: 192 kB / 0.6834 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/0.4935, allocations: 1.458 MB / 0.6848 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002148/0.4937, allocations: 286.9 kB / 0.6851 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003991/0.4977, allocations: 0.9087 MB / 0.6859 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006589/0.4984, allocations: 408 kB / 0.6863 GB, free: 12.53 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.003523/0.5019, allocations: 2.195 MB / 0.6885 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005886/0.5025, allocations: 311.8 kB / 0.6888 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008671/0.5034, allocations: 407.1 kB / 0.6892 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.5034, allocations: 7.922 kB / 0.6892 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5034, allocations: 4 kB / 0.6892 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006133/0.5041, allocations: 360.7 kB / 0.6895 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004823/0.5046, allocations: 20.31 kB / 0.6895 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.5057, allocations: 67.89 kB / 0.6896 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.5059, allocations: 64.42 kB / 0.6897 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003118/0.5091, allocations: 2.263 MB / 0.6919 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002824/0.5119, allocations: 2.506 MB / 0.6943 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001051/0.513, allocations: 0.8603 MB / 0.6952 GB, free: 3.402 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003887/0.5169, allocations: 2.338 MB / 0.6974 GB, free: 1.078 MB / 0.545 GB Notification: Performance of Backend: time 3.11e-07/0.5169, allocations: 0 / 0.6974 GB, free: 1.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006927/0.5238, allocations: 3.773 MB / 0.7011 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01205/0.5359, allocations: 8.273 MB / 0.7092 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of Templates: time 0.5143/1.05, allocations: 32.2 MB / 0.7406 GB, free: 177.7 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