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.001297/0.001297, allocations: 105.9 kB / 17.04 MB, free: 6.055 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.00164/0.00164, allocations: 196 kB / 17.97 MB, free: 5.141 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.603/1.603, allocations: 205.1 MB / 223.8 MB, free: 12.3 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.2346/0.2346, allocations: 43.52 MB / 314.7 MB, free: 496 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.002028/0.002029, allocations: 71.39 kB / 384.2 MB, free: 56.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1331, allocations: 57.8 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01279/0.1459, allocations: 12.41 MB / 454.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.1566, allocations: 4.055 MB / 458.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003731/0.1604, allocations: 79.81 kB / 458.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003738/0.1642, allocations: 1.682 MB / 460.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004708/0.169, allocations: 1.588 MB / 461.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.1718, allocations: 1.192 MB / 463 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006188/0.178, allocations: 3.623 MB / 466.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.182, allocations: 2.524 MB / 469.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.1848, allocations: 1.226 MB / 470.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003013/0.1878, allocations: 1.658 MB / 472 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.189, allocations: 260 kB / 472.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.1913, allocations: 0.7099 MB / 473 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002196/0.1935, allocations: 1.648 MB / 474.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002393/0.1959, allocations: 1.983 MB / 476.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007207/0.2032, allocations: 6.511 MB / 483.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.2032, allocations: 0 / 483.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.2032, allocations: 0 / 483.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002433/0.2035, allocations: 4 kB / 483.1 MB, free: 12.82 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.008966/0.2125, allocations: 4.184 MB / 487.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2125, allocations: 8.031 kB / 487.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009482/0.222, allocations: 3.017 MB / 490.3 MB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005259/0.2273, allocations: 1.877 MB / 492.2 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.2275, allocations: 201.3 kB / 492.4 MB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007242/0.2282, allocations: 259.8 kB / 492.7 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/0.2458, allocations: 10.52 MB / 0.4914 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-05/0.2459, allocations: 35.69 kB / 0.4914 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004044/0.2463, allocations: 131.8 kB / 0.4915 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003844/0.2502, allocations: 2.435 MB / 0.4939 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/0.2681, allocations: 9.372 MB / 0.5031 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3303/0.5984, allocations: 38.74 MB / 0.5409 GB, free: 60.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005659/0.6042, allocations: 3.49 MB / 0.5443 GB, free: 59.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.6062, allocations: 1.275 MB / 0.5456 GB, free: 59.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/0.6173, allocations: 5.452 MB / 0.5509 GB, free: 57.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.6174, allocations: 54.03 kB / 0.5509 GB, free: 57.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=153): time 7.104e-06/0.6174, allocations: 0 / 0.5509 GB, free: 57.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.007341/0.6247, allocations: 3.354 MB / 0.5542 GB, free: 56.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.6248, allocations: 171.2 kB / 0.5544 GB, free: 56.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005255/0.6301, allocations: 3.956 MB / 0.5582 GB, free: 55.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.6303, allocations: 43.84 kB / 0.5583 GB, free: 55.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.632, allocations: 3.318 MB / 0.5615 GB, free: 52.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006373/0.6327, allocations: 0.6144 MB / 0.5621 GB, free: 52.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/0.6342, allocations: 1.351 MB / 0.5634 GB, free: 51.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.815e-05/0.6343, allocations: 308.3 kB / 0.5637 GB, free: 51.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002505/0.6368, allocations: 1.998 MB / 0.5657 GB, free: 50.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006367/0.6432, allocations: 6.309 MB / 0.5719 GB, free: 44.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008961/0.6522, allocations: 9.067 MB / 0.5807 GB, free: 35.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001817/0.6524, allocations: 50.16 kB / 0.5808 GB, free: 35.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01254/0.665, allocations: 7.917 MB / 0.5885 GB, free: 27.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.723e-05/0.6651, allocations: 76.92 kB / 0.5886 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/0.6653, allocations: 152 kB / 0.5887 GB, free: 27.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/0.6654, allocations: 200 kB / 0.5889 GB, free: 27.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003963/0.6694, allocations: 1.509 MB / 0.5904 GB, free: 25.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001637/0.6696, allocations: 298.8 kB / 0.5907 GB, free: 25.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004864/0.6744, allocations: 0.9448 MB / 0.5916 GB, free: 24.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008322/0.6753, allocations: 420.2 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.003357/0.6787, allocations: 2.285 MB / 0.5942 GB, free: 21.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005787/0.6793, allocations: 323.7 kB / 0.5945 GB, free: 21.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/0.6799, allocations: 419 kB / 0.5949 GB, free: 21.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.31e-05/0.68, allocations: 39.98 kB / 0.595 GB, free: 20.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/0.68, allocations: 0 / 0.595 GB, free: 20.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.6801, allocations: 7.984 kB / 0.595 GB, free: 20.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00846/0.6885, allocations: 5.702 MB / 0.6005 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.6886, allocations: 15.5 kB / 0.6005 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/0.6894, allocations: 203.7 kB / 0.6007 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/0.6895, allocations: 15.98 kB / 0.6008 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/0.6895, allocations: 32 kB / 0.6008 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.6896, allocations: 11.94 kB / 0.6008 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.6896, allocations: 11.94 kB / 0.6008 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.6919, allocations: 2.584 MB / 0.6033 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006979/0.6926, allocations: 392.4 kB / 0.6037 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/0.6929, allocations: 25.12 kB / 0.6037 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/0.6938, allocations: 71.91 kB / 0.6038 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.6939, allocations: 84.34 kB / 0.6039 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.952e-05/0.694, allocations: 47.83 kB / 0.6039 GB, free: 11.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002765/0.6968, allocations: 2.407 MB / 0.6063 GB, free: 9.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6968, allocations: 3.938 kB / 0.6063 GB, free: 9.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005676/0.7025, allocations: 1.129 MB / 0.6074 GB, free: 8.062 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.0005419/0.7031, allocations: 160.3 kB / 0.6075 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006559/0.7096, allocations: 4.553 MB / 0.612 GB, free: 3.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.7097, allocations: 0 / 0.612 GB, free: 3.387 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.7108, allocations: 0.9648 MB / 0.6129 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.7132, allocations: 363.6 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.01499/0.7282, allocations: 8.614 MB / 0.6217 GB, free: 9.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003822/0.7321, allocations: 3.277 MB / 0.6249 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005152/0.7373, allocations: 2.282 MB / 0.6271 GB, free: 3.797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006495/0.738, allocations: 231.4 kB / 0.6273 GB, free: 3.57 MB / 430.1 MB Notification: Performance of SimCode: time 1.433e-06/0.738, allocations: 0 / 0.6273 GB, free: 3.57 MB / 430.1 MB Notification: Performance of Templates: time 0.04913/0.7871, allocations: 20.29 MB / 0.6471 GB, free: 15.5 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 cvode -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