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.001306/0.001306, allocations: 109.1 kB / 17.04 MB, free: 5.797 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.001309/0.001309, allocations: 195 kB / 17.98 MB, free: 5.016 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.371/1.371, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2032/0.2032, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 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.001494/0.001494, allocations: 71.41 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.09391, allocations: 57.78 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01118/0.1051, allocations: 12.42 MB / 454.4 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007711/0.1129, allocations: 4.047 MB / 458.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.1146, allocations: 87.75 kB / 458.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003221/0.1179, allocations: 1.678 MB / 460.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004006/0.1219, allocations: 1.599 MB / 461.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.1244, allocations: 1.188 MB / 463 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00522/0.1296, allocations: 3.615 MB / 466.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003357/0.133, allocations: 2.532 MB / 469.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.1348, allocations: 1.21 MB / 470.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/0.1368, allocations: 1.67 MB / 472 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005412/0.1374, allocations: 255.9 kB / 472.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.1387, allocations: 0.7139 MB / 473 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.1401, allocations: 1.648 MB / 474.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.1419, allocations: 1.983 MB / 476.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006069/0.148, allocations: 6.507 MB / 483.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1481, allocations: 0 / 483.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1481, allocations: 0 / 483.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001778/0.1483, allocations: 0 / 483.1 MB, free: 12.8 MB / 366.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.006853/0.1551, allocations: 4.192 MB / 487.3 MB, free: 8.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1552, allocations: 12.03 kB / 487.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009675/0.1649, allocations: 3.005 MB / 490.3 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005336/0.1702, allocations: 1.877 MB / 492.2 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.1704, allocations: 201.3 kB / 492.4 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005872/0.171, allocations: 259.8 kB / 492.7 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01445/0.1854, allocations: 10.53 MB / 0.4914 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.63e-05/0.1856, allocations: 31.69 kB / 0.4914 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003646/0.1859, allocations: 127.8 kB / 0.4915 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00356/0.1895, allocations: 2.439 MB / 0.4939 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0161/0.2056, allocations: 9.378 MB / 0.5031 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2435/0.4491, allocations: 38.73 MB / 0.5409 GB, free: 60.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005644/0.4548, allocations: 3.483 MB / 0.5443 GB, free: 59.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.4568, allocations: 1.275 MB / 0.5456 GB, free: 59.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008883/0.4657, allocations: 5.461 MB / 0.5509 GB, free: 57.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.4657, allocations: 61.81 kB / 0.5509 GB, free: 57.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=153): time 4.408e-06/0.4658, allocations: 0 / 0.5509 GB, free: 57.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.006702/0.4725, allocations: 3.356 MB / 0.5542 GB, free: 56.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.4725, allocations: 166.2 kB / 0.5544 GB, free: 56.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004691/0.4772, allocations: 3.953 MB / 0.5582 GB, free: 55.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.4774, allocations: 41.11 kB / 0.5583 GB, free: 55.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.4788, allocations: 3.323 MB / 0.5615 GB, free: 52.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/0.4793, allocations: 0.6222 MB / 0.5621 GB, free: 52.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/0.4805, allocations: 1.348 MB / 0.5635 GB, free: 51.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.4806, allocations: 301.1 kB / 0.5637 GB, free: 51.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.4828, allocations: 2.004 MB / 0.5657 GB, free: 50.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003719/0.4865, allocations: 6.304 MB / 0.5719 GB, free: 44.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006608/0.4931, allocations: 9.065 MB / 0.5807 GB, free: 35.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/0.4933, allocations: 44 kB / 0.5807 GB, free: 35.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01072/0.504, allocations: 7.933 MB / 0.5885 GB, free: 27.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/0.5041, allocations: 68 kB / 0.5886 GB, free: 27.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/0.5042, allocations: 152 kB / 0.5887 GB, free: 27.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.5043, allocations: 204 kB / 0.5889 GB, free: 27.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/0.5081, allocations: 1.505 MB / 0.5904 GB, free: 25.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001424/0.5082, allocations: 305 kB / 0.5907 GB, free: 25.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/0.512, allocations: 0.9398 MB / 0.5916 GB, free: 24.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/0.5124, allocations: 418.6 kB / 0.592 GB, free: 24.04 MB / 414.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.002286/0.5147, allocations: 2.284 MB / 0.5942 GB, free: 21.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.5151, allocations: 319.7 kB / 0.5945 GB, free: 21.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.5156, allocations: 420.2 kB / 0.5949 GB, free: 21.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-05/0.5156, allocations: 35.98 kB / 0.5949 GB, free: 20.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.5156, allocations: 4 kB / 0.595 GB, free: 20.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.5156, allocations: 3.984 kB / 0.595 GB, free: 20.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007176/0.5228, allocations: 5.706 MB / 0.6005 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.5228, allocations: 8 kB / 0.6005 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/0.5237, allocations: 215.7 kB / 0.6007 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.5237, allocations: 9.812 kB / 0.6007 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.391e-05/0.5238, allocations: 28.11 kB / 0.6008 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/0.5238, allocations: 19.88 kB / 0.6008 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.5238, allocations: 7.938 kB / 0.6008 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.5258, allocations: 2.597 MB / 0.6033 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.5264, allocations: 380.5 kB / 0.6037 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/0.5267, allocations: 31.98 kB / 0.6037 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/0.5276, allocations: 60.72 kB / 0.6038 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.5278, allocations: 84.34 kB / 0.6039 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.138e-05/0.5278, allocations: 47.83 kB / 0.6039 GB, free: 11.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002452/0.5303, allocations: 2.415 MB / 0.6063 GB, free: 9.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5303, allocations: 480 / 0.6063 GB, free: 9.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004125/0.5344, allocations: 1.125 MB / 0.6074 GB, free: 8.066 MB / 414.1 MB 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.00032/0.5348, allocations: 164.3 kB / 0.6075 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005151/0.5399, allocations: 4.556 MB / 0.612 GB, free: 3.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.54, allocations: 0 / 0.612 GB, free: 3.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008937/0.5409, allocations: 0.9656 MB / 0.6129 GB, free: 2.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.5426, allocations: 368.2 kB / 0.6133 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.5551, allocations: 8.613 MB / 0.6217 GB, free: 9.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003306/0.5584, allocations: 3.273 MB / 0.6249 GB, free: 6.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004648/0.5631, allocations: 2.288 MB / 0.6271 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005056/0.5636, allocations: 227.4 kB / 0.6273 GB, free: 3.562 MB / 430.1 MB Notification: Performance of SimCode: time 2.815e-06/0.5636, allocations: 0 / 0.6273 GB, free: 3.562 MB / 430.1 MB Notification: Performance of Templates: time 0.04444/0.6081, allocations: 20.29 MB / 0.6471 GB, free: 15.48 MB / 462.1 MB 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches