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.001478/0.001478, allocations: 105.5 kB / 16.27 MB, free: 5.977 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.001602/0.001603, allocations: 190.6 kB / 17.19 MB, free: 5.613 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.515/1.515, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.3072/0.3072, allocations: 43.53 MB / 313.9 MB, free: 0.543 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.001627/0.001627, allocations: 70.91 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.118, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01398/0.132, allocations: 12.42 MB / 452.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.1435, allocations: 4.051 MB / 457 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.1463, allocations: 79.81 kB / 457.1 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004034/0.1504, allocations: 1.678 MB / 458.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.1549, allocations: 1.603 MB / 460.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.1576, allocations: 1.184 MB / 461.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00808/0.1657, allocations: 3.603 MB / 465.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005824/0.1716, allocations: 2.532 MB / 467.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.1748, allocations: 1.218 MB / 468.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003661/0.1785, allocations: 1.662 MB / 470.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001314/0.1799, allocations: 252 kB / 470.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.1829, allocations: 0.7138 MB / 471.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002998/0.186, allocations: 1.652 MB / 473.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00474/0.1907, allocations: 1.987 MB / 475.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.2015, allocations: 6.199 MB / 481.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2015, allocations: 0 / 481.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2015, allocations: 0 / 481.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002738/0.2018, allocations: 0 / 481.4 MB, free: 13.89 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.01526/0.2171, allocations: 4.192 MB / 485.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.2172, allocations: 12.03 kB / 485.6 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/0.2279, allocations: 3.013 MB / 488.6 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005002/0.233, allocations: 1.854 MB / 490.4 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.2332, allocations: 201.3 kB / 490.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.2345, allocations: 259.8 kB / 490.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/0.2529, allocations: 10.53 MB / 0.4897 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.253, allocations: 35.69 kB / 0.4897 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000774/0.2538, allocations: 131.8 kB / 0.4898 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00396/0.2578, allocations: 2.431 MB / 0.4922 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/0.2745, allocations: 9.369 MB / 0.5013 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3998/0.6744, allocations: 38.93 MB / 0.5394 GB, free: 60.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006382/0.6808, allocations: 3.487 MB / 0.5428 GB, free: 59.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002141/0.683, allocations: 1.283 MB / 0.544 GB, free: 59.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009981/0.693, allocations: 5.454 MB / 0.5493 GB, free: 57.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.6931, allocations: 57.39 kB / 0.5494 GB, free: 57.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=153): time 6.592e-06/0.6931, allocations: 0.7031 kB / 0.5494 GB, free: 57.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.007553/0.7006, allocations: 3.357 MB / 0.5527 GB, free: 57.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.7007, allocations: 167.6 kB / 0.5528 GB, free: 57.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004944/0.7057, allocations: 3.957 MB / 0.5567 GB, free: 55.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.435e-05/0.7058, allocations: 45.08 kB / 0.5567 GB, free: 55.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001866/0.7077, allocations: 3.321 MB / 0.56 GB, free: 53.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004585/0.7081, allocations: 0.6168 MB / 0.5606 GB, free: 52.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/0.7095, allocations: 1.35 MB / 0.5619 GB, free: 51.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.182e-05/0.7095, allocations: 302.5 kB / 0.5622 GB, free: 51.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/0.7119, allocations: 1.999 MB / 0.5641 GB, free: 51.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003896/0.7158, allocations: 6.311 MB / 0.5703 GB, free: 44.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007047/0.7229, allocations: 9.06 MB / 0.5792 GB, free: 35.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.701e-05/0.723, allocations: 46.16 kB / 0.5792 GB, free: 35.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.0106/0.7336, allocations: 7.923 MB / 0.5869 GB, free: 27.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.62e-05/0.7337, allocations: 68.88 kB / 0.587 GB, free: 27.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/0.7338, allocations: 156 kB / 0.5872 GB, free: 27.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.734, allocations: 200 kB / 0.5873 GB, free: 27.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003737/0.7377, allocations: 1.509 MB / 0.5888 GB, free: 26.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001622/0.7379, allocations: 303.3 kB / 0.5891 GB, free: 25.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004749/0.7426, allocations: 0.9501 MB / 0.59 GB, free: 24.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005221/0.7432, allocations: 416 kB / 0.5904 GB, free: 24.36 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.003007/0.7462, allocations: 2.28 MB / 0.5927 GB, free: 22.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/0.7467, allocations: 319.8 kB / 0.593 GB, free: 21.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006198/0.7473, allocations: 416.2 kB / 0.5934 GB, free: 21.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.107e-05/0.7474, allocations: 39.81 kB / 0.5934 GB, free: 21.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/0.7474, allocations: 11.94 kB / 0.5934 GB, free: 21.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.7474, allocations: 3.984 kB / 0.5934 GB, free: 21.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.7578, allocations: 5.699 MB / 0.599 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/0.7579, allocations: 7.562 kB / 0.599 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009607/0.7588, allocations: 215.7 kB / 0.5992 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.991e-05/0.7589, allocations: 12.88 kB / 0.5992 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.759, allocations: 32.48 kB / 0.5992 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/0.759, allocations: 15.94 kB / 0.5992 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.759, allocations: 15.94 kB / 0.5993 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.7616, allocations: 2.584 MB / 0.6018 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008215/0.7624, allocations: 384.6 kB / 0.6022 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006839/0.7631, allocations: 27.94 kB / 0.6022 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.7646, allocations: 77 kB / 0.6023 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.7648, allocations: 84.34 kB / 0.6023 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.255e-05/0.7649, allocations: 40.55 kB / 0.6024 GB, free: 11.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003969/0.7689, allocations: 2.415 MB / 0.6047 GB, free: 9.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7689, allocations: 0 / 0.6047 GB, free: 9.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005681/0.7745, allocations: 1.131 MB / 0.6058 GB, free: 8.383 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.0004279/0.775, allocations: 161.1 kB / 0.606 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007407/0.7824, allocations: 5.197 MB / 0.6111 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.7824, allocations: 1.812 kB / 0.6111 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.7835, allocations: 0.9678 MB / 0.612 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/0.7864, allocations: 358.6 kB / 0.6124 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/0.8044, allocations: 8.726 MB / 0.6209 GB, free: 8.926 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005389/0.8098, allocations: 3.276 MB / 0.6241 GB, free: 5.625 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.007118/0.817, allocations: 2.285 MB / 0.6263 GB, free: 3.344 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009856/0.818, allocations: 227.4 kB / 0.6265 GB, free: 3.121 MB / 430.1 MB Notification: Performance of SimCode: time 1.432e-06/0.818, allocations: 4 kB / 0.6265 GB, free: 3.117 MB / 430.1 MB Notification: Performance of Templates: time 0.06019/0.8782, allocations: 25.59 MB / 0.6515 GB, free: 9.66 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 -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","/var/lib/jenkins/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