Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001235/0.001235, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001122/0.001122, allocations: 182.9 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2221/0.2221, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 64.33 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1128, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01307/0.1259, allocations: 12.04 MB / 482.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008184/0.1341, allocations: 4.047 MB / 486.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.1363, allocations: 79.81 kB / 486.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003341/0.1397, allocations: 1.67 MB / 488.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003633/0.1433, allocations: 1.549 MB / 490.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.1456, allocations: 1.184 MB / 491.3 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00508/0.1507, allocations: 3.52 MB / 494.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003833/0.1546, allocations: 2.477 MB / 497.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.1568, allocations: 1.187 MB / 498.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/0.1593, allocations: 1.584 MB / 0.4883 GB, free: 156 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008457/0.1601, allocations: 248 kB / 0.4885 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.1621, allocations: 0.7099 MB / 0.4892 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002144/0.1643, allocations: 1.593 MB / 0.4908 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00247/0.1668, allocations: 1.917 MB / 0.4927 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005766/0.1725, allocations: 6.285 MB / 0.4988 GB, free: 5.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1725, allocations: 0 / 0.4988 GB, free: 5.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1726, allocations: 0 / 0.4988 GB, free: 5.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.02e-05/0.1726, allocations: 0 / 0.4988 GB, free: 5.363 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.005676/0.1783, allocations: 4.07 MB / 0.5028 GB, free: 1.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1784, allocations: 8.031 kB / 0.5028 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2263/0.4047, allocations: 2.993 MB / 0.5057 GB, free: 47.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00511/0.4099, allocations: 1.843 MB / 0.5075 GB, free: 46.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.4101, allocations: 191.1 kB / 0.5077 GB, free: 46.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007049/0.4108, allocations: 251.8 kB / 0.5079 GB, free: 46.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.4272, allocations: 10.24 MB / 0.5179 GB, free: 41.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.35e-05/0.4274, allocations: 27.38 kB / 0.518 GB, free: 41.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/0.4278, allocations: 138.2 kB / 0.5181 GB, free: 41.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003236/0.431, allocations: 2.367 MB / 0.5204 GB, free: 41.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/0.4438, allocations: 9.076 MB / 0.5293 GB, free: 33.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03393/0.4777, allocations: 37.97 MB / 0.5663 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005193/0.483, allocations: 3.38 MB / 0.5696 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.4846, allocations: 1.235 MB / 0.5709 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008589/0.4932, allocations: 5.18 MB / 0.5759 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.4933, allocations: 51.06 kB / 0.576 GB, free: 476 kB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 3.978e-06/0.4933, allocations: 0 / 0.576 GB, free: 476 kB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.006646/0.5, allocations: 3.327 MB / 0.5792 GB, free: 13.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.5001, allocations: 178.7 kB / 0.5794 GB, free: 12.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006267/0.5064, allocations: 3.858 MB / 0.5831 GB, free: 9.074 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.5065, allocations: 41.7 kB / 0.5832 GB, free: 9.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00245/0.509, allocations: 3.227 MB / 0.5863 GB, free: 5.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006526/0.5096, allocations: 0.602 MB / 0.5869 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002033/0.5117, allocations: 1.32 MB / 0.5882 GB, free: 3.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5118, allocations: 301.1 kB / 0.5885 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002896/0.5147, allocations: 1.968 MB / 0.5904 GB, free: 1.539 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005773/0.5205, allocations: 6.148 MB / 0.5964 GB, free: 9.297 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009735/0.5302, allocations: 8.854 MB / 0.6051 GB, free: 14.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001638/0.5304, allocations: 40 kB / 0.6051 GB, free: 14.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01439/0.5448, allocations: 7.761 MB / 0.6127 GB, free: 6.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.545, allocations: 68.19 kB / 0.6128 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002778/0.5453, allocations: 152 kB / 0.6129 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/0.5455, allocations: 196 kB / 0.6131 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004407/0.5499, allocations: 1.466 MB / 0.6145 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002764/0.5502, allocations: 294.8 kB / 0.6148 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004757/0.555, allocations: 0.92 MB / 0.6157 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000835/0.5558, allocations: 400 kB / 0.6161 GB, free: 3.062 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.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 (797): * Single equations (assignments): 789 * 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.003639/0.5595, allocations: 2.234 MB / 0.6183 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006075/0.5601, allocations: 316.9 kB / 0.6186 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008329/0.5609, allocations: 411.4 kB / 0.619 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.036e-05/0.561, allocations: 35.98 kB / 0.619 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.561, allocations: 4 kB / 0.619 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.5611, allocations: 3.984 kB / 0.619 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.5725, allocations: 5.527 MB / 0.6244 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.5725, allocations: 7.938 kB / 0.6244 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008985/0.5734, allocations: 212.6 kB / 0.6246 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.741e-05/0.5734, allocations: 8 kB / 0.6246 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.936e-05/0.5736, allocations: 28 kB / 0.6246 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.72e-05/0.5736, allocations: 19.94 kB / 0.6247 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/0.5736, allocations: 8 kB / 0.6247 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.5767, allocations: 2.536 MB / 0.6271 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008232/0.5775, allocations: 380.6 kB / 0.6275 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006064/0.5782, allocations: 20 kB / 0.6275 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.5793, allocations: 67.92 kB / 0.6276 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.5795, allocations: 84.33 kB / 0.6277 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.531e-05/0.5796, allocations: 47.94 kB / 0.6277 GB, free: 6.898 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003704/0.5833, allocations: 2.358 MB / 0.63 GB, free: 4.555 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.5833, allocations: 0 / 0.63 GB, free: 4.555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004519/0.5879, allocations: 1.104 MB / 0.6311 GB, free: 3.449 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (108): * Single equations (assignments): 102 * 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.0003954/0.5883, allocations: 160.3 kB / 0.6313 GB, free: 3.289 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006581/0.5949, allocations: 4.456 MB / 0.6356 GB, free: 14.87 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.5949, allocations: 4.062 kB / 0.6356 GB, free: 14.87 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.5961, allocations: 0.9516 MB / 0.6365 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.5982, allocations: 372.6 kB / 0.6369 GB, free: 13.56 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.613, allocations: 8.365 MB / 0.6451 GB, free: 5.094 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004998/0.618, allocations: 3.219 MB / 0.6482 GB, free: 1.852 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005289/0.6234, allocations: 2.243 MB / 0.6504 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000765/0.6241, allocations: 223.3 kB / 0.6506 GB, free: 15.38 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6242, allocations: 0 / 0.6506 GB, free: 15.38 MB / 494.1 MB Notification: Performance of Templates: time 0.0452/0.6694, allocations: 19.89 MB / 0.67 GB, free: 11.56 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches