Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.006878/0.006883, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.001495/0.001495, allocations: 195.9 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 222.6 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3526/0.3526, allocations: 43.5 MB / 313.5 MB, free: 8.215 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 67.91 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1336, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.3004/0.434, allocations: 26.32 MB / 466.1 MB, free: 35.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.4531, allocations: 6.34 MB / 472.5 MB, free: 32.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008062/0.4612, allocations: 114.6 kB / 472.6 MB, free: 32.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004325/0.4656, allocations: 1.658 MB / 474.3 MB, free: 31.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004659/0.4703, allocations: 1.51 MB / 475.8 MB, free: 31.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.4727, allocations: 1.184 MB / 476.9 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006235/0.479, allocations: 5.143 MB / 482.1 MB, free: 28.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004425/0.4834, allocations: 2.52 MB / 484.6 MB, free: 28.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.4859, allocations: 1.06 MB / 485.7 MB, free: 27.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003204/0.4891, allocations: 1.779 MB / 487.4 MB, free: 27.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.4902, allocations: 178.8 kB / 487.6 MB, free: 27.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.4926, allocations: 0.6777 MB / 488.3 MB, free: 26.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002924/0.4955, allocations: 1.605 MB / 489.9 MB, free: 26.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006037/0.5016, allocations: 1.936 MB / 491.8 MB, free: 25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.5152, allocations: 6.134 MB / 498 MB, free: 22.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.5153, allocations: 1.375 kB / 498 MB, free: 22.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5153, allocations: 0 / 498 MB, free: 22.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004211/0.5157, allocations: 4 kB / 498 MB, free: 22.79 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01953/0.5353, allocations: 4.192 MB / 0.4904 GB, free: 20.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.5354, allocations: 8.812 kB / 0.4904 GB, free: 20.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.5473, allocations: 3.022 MB / 0.4934 GB, free: 19.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006102/0.5535, allocations: 1.866 MB / 0.4952 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.5539, allocations: 201.4 kB / 0.4954 GB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002115/0.556, allocations: 261.2 kB / 0.4956 GB, free: 18.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/0.5827, allocations: 10.52 MB / 0.5059 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001706/0.5829, allocations: 32.38 kB / 0.5059 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/0.5846, allocations: 131.7 kB / 0.5061 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004349/0.589, allocations: 2.44 MB / 0.5084 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/0.6069, allocations: 9.372 MB / 0.5176 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06385/0.6708, allocations: 38.92 MB / 0.5556 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007068/0.678, allocations: 3.496 MB / 0.559 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002314/0.6803, allocations: 1.274 MB / 0.5603 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01201/0.6924, allocations: 5.455 MB / 0.5656 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.6924, allocations: 47.06 kB / 0.5656 GB, free: 14.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 7.134e-06/0.6925, allocations: 0 / 0.5656 GB, free: 14.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.007443/0.6999, allocations: 3.358 MB / 0.5689 GB, free: 10.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.7, allocations: 170.8 kB / 0.5691 GB, free: 10.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008631/0.7087, allocations: 3.948 MB / 0.5729 GB, free: 6.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002725/0.709, allocations: 41.7 kB / 0.573 GB, free: 6.543 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003044/0.712, allocations: 3.332 MB / 0.5762 GB, free: 3.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.7133, allocations: 0.6136 MB / 0.5768 GB, free: 2.531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003645/0.7169, allocations: 1.348 MB / 0.5781 GB, free: 1.172 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.717, allocations: 305.1 kB / 0.5784 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003177/0.7202, allocations: 2 MB / 0.5804 GB, free: 14.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006501/0.7267, allocations: 6.307 MB / 0.5865 GB, free: 6.406 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/0.7394, allocations: 9.067 MB / 0.5954 GB, free: 11.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001641/0.7396, allocations: 44 kB / 0.5954 GB, free: 11.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.0199/0.7595, allocations: 7.937 MB / 0.6032 GB, free: 3.211 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002313/0.7598, allocations: 72 kB / 0.6033 GB, free: 3.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003685/0.7602, allocations: 152 kB / 0.6034 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/0.7606, allocations: 200 kB / 0.6036 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005484/0.7661, allocations: 1.509 MB / 0.6051 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003103/0.7664, allocations: 298.8 kB / 0.6054 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006112/0.7725, allocations: 0.9474 MB / 0.6063 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/0.7739, allocations: 416 kB / 0.6067 GB, free: 15.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.004972/0.7789, allocations: 2.28 MB / 0.6089 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007099/0.7796, allocations: 319.8 kB / 0.6092 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.7808, allocations: 416.2 kB / 0.6096 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.214e-05/0.7808, allocations: 36 kB / 0.6096 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.7808, allocations: 0 / 0.6096 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.7809, allocations: 15.97 kB / 0.6097 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.7936, allocations: 5.696 MB / 0.6152 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/0.7937, allocations: 8 kB / 0.6152 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009745/0.7946, allocations: 211.6 kB / 0.6154 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.747e-05/0.7947, allocations: 12 kB / 0.6154 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.7948, allocations: 31.98 kB / 0.6155 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/0.7948, allocations: 11.98 kB / 0.6155 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.7948, allocations: 12.47 kB / 0.6155 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.7981, allocations: 2.589 MB / 0.618 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009203/0.799, allocations: 396.5 kB / 0.6184 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007409/0.7998, allocations: 24 kB / 0.6184 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.8012, allocations: 67.84 kB / 0.6185 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.8015, allocations: 92.28 kB / 0.6186 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.8016, allocations: 43.98 kB / 0.6186 GB, free: 3.129 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003814/0.8054, allocations: 2.407 MB / 0.621 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.8054, allocations: 0 / 0.621 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006337/0.8117, allocations: 1.137 MB / 0.6221 GB, free: 15.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.0004691/0.8122, allocations: 166.8 kB / 0.6222 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008041/0.8203, allocations: 4.526 MB / 0.6267 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/0.8203, allocations: 0 / 0.6267 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.8219, allocations: 0.9702 MB / 0.6276 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/0.8258, allocations: 338.1 kB / 0.6279 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2491/1.075, allocations: 10.72 MB / 0.6384 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004794/1.08, allocations: 3.275 MB / 0.6416 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005411/1.085, allocations: 2.284 MB / 0.6438 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006841/1.086, allocations: 226.4 kB / 0.644 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.703e-06/1.086, allocations: 0 / 0.644 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.06694/1.153, allocations: 24.8 MB / 0.6682 GB, free: 150.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches