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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000974/0.000974, allocations: 108 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3534/0.3534, allocations: 43.5 MB / 360.7 MB, free: 51.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 51.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1101, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02343/0.1336, allocations: 26.33 MB / 0.5013 GB, free: 2.094 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.2362/0.3699, allocations: 6.333 MB / 0.5075 GB, free: 36.69 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005365/0.3753, allocations: 119.9 kB / 0.5076 GB, free: 36.69 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003623/0.3789, allocations: 1.655 MB / 0.5092 GB, free: 36.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.3831, allocations: 1.515 MB / 0.5107 GB, free: 36.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.3857, allocations: 1.182 MB / 0.5119 GB, free: 36.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00708/0.3928, allocations: 5.166 MB / 0.5169 GB, free: 35.54 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004443/0.3973, allocations: 2.517 MB / 0.5194 GB, free: 34.72 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.3997, allocations: 1.062 MB / 0.5204 GB, free: 34.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.4032, allocations: 1.778 MB / 0.5221 GB, free: 33.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001701/0.405, allocations: 183.4 kB / 0.5223 GB, free: 33.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.4075, allocations: 0.6811 MB / 0.523 GB, free: 33.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002346/0.4098, allocations: 1.6 MB / 0.5245 GB, free: 33.26 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002463/0.4123, allocations: 1.933 MB / 0.5264 GB, free: 31.87 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005381/0.4177, allocations: 6.141 MB / 0.5324 GB, free: 29.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.4177, allocations: 4.109 kB / 0.5324 GB, free: 29.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4177, allocations: 0 / 0.5324 GB, free: 29.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001628/0.4179, allocations: 0 / 0.5324 GB, free: 29.82 MB / 394.7 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.007412/0.4253, allocations: 4.189 MB / 0.5365 GB, free: 27.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4254, allocations: 9 kB / 0.5365 GB, free: 27.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.4355, allocations: 3.016 MB / 0.5395 GB, free: 27.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00478/0.4404, allocations: 1.857 MB / 0.5413 GB, free: 26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.4405, allocations: 204.6 kB / 0.5415 GB, free: 25.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006934/0.4412, allocations: 260.2 kB / 0.5417 GB, free: 25.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/0.4582, allocations: 10.53 MB / 0.552 GB, free: 20.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.979e-05/0.4583, allocations: 28.22 kB / 0.552 GB, free: 20.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003865/0.4587, allocations: 130.5 kB / 0.5522 GB, free: 20.81 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003709/0.4625, allocations: 2.445 MB / 0.5545 GB, free: 19.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/0.4787, allocations: 9.363 MB / 0.5637 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04706/0.5258, allocations: 38.93 MB / 0.6017 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/0.5314, allocations: 3.492 MB / 0.6051 GB, free: 3.602 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.5332, allocations: 1.279 MB / 0.6064 GB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009833/0.5431, allocations: 5.456 MB / 0.6117 GB, free: 12.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.5432, allocations: 55.06 kB / 0.6117 GB, free: 12.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 4.779e-06/0.5432, allocations: 0 / 0.6117 GB, free: 12.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.006818/0.55, allocations: 3.354 MB / 0.615 GB, free: 9.316 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.5501, allocations: 166.7 kB / 0.6152 GB, free: 9.117 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006012/0.5562, allocations: 3.951 MB / 0.619 GB, free: 5.176 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003309/0.5565, allocations: 47.73 kB / 0.6191 GB, free: 5.125 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002332/0.5589, allocations: 3.321 MB / 0.6223 GB, free: 1.809 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00092/0.5598, allocations: 0.6161 MB / 0.6229 GB, free: 1.199 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/0.5616, allocations: 1.347 MB / 0.6242 GB, free: 15.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5617, allocations: 309.1 kB / 0.6245 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002847/0.5646, allocations: 1.996 MB / 0.6265 GB, free: 13.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005238/0.5698, allocations: 6.307 MB / 0.6326 GB, free: 5.082 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009604/0.5794, allocations: 9.069 MB / 0.6415 GB, free: 9.867 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/0.5796, allocations: 44.25 kB / 0.6415 GB, free: 9.824 MB / 474.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01412/0.5938, allocations: 7.924 MB / 0.6493 GB, free: 1.895 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.982e-05/0.5939, allocations: 83.05 kB / 0.6494 GB, free: 1.816 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/0.5941, allocations: 152 kB / 0.6495 GB, free: 1.664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.5942, allocations: 200 kB / 0.6497 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004442/0.5987, allocations: 1.509 MB / 0.6512 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002015/0.5989, allocations: 298.8 kB / 0.6515 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004668/0.6036, allocations: 0.9456 MB / 0.6524 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007878/0.6044, allocations: 412 kB / 0.6528 GB, free: 14.31 MB / 490.7 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.003497/0.6079, allocations: 2.287 MB / 0.655 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005557/0.6085, allocations: 319.8 kB / 0.6553 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008449/0.6093, allocations: 420.2 kB / 0.6557 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.653e-05/0.6094, allocations: 35.98 kB / 0.6557 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.6094, allocations: 4 kB / 0.6558 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.6094, allocations: 3.984 kB / 0.6558 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009212/0.6186, allocations: 5.711 MB / 0.6613 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.6187, allocations: 7.938 kB / 0.6613 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009835/0.6197, allocations: 215.7 kB / 0.6615 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.6197, allocations: 12 kB / 0.6616 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.535e-05/0.6198, allocations: 24 kB / 0.6616 GB, free: 5.172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.096e-05/0.6198, allocations: 15.94 kB / 0.6616 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.6198, allocations: 11.94 kB / 0.6616 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005157/0.625, allocations: 4.748 MB / 0.6662 GB, free: 268 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008021/0.6258, allocations: 380.6 kB / 0.6666 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/0.6261, allocations: 27.94 kB / 0.6666 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.6271, allocations: 71.86 kB / 0.6667 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.6273, allocations: 84.47 kB / 0.6668 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.6274, allocations: 50.89 kB / 0.6668 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003418/0.6308, allocations: 2.411 MB / 0.6692 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6308, allocations: 0 / 0.6692 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005136/0.636, allocations: 1.133 MB / 0.6703 GB, free: 12.11 MB / 0.4948 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.0003804/0.6364, allocations: 162 kB / 0.6704 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006654/0.643, allocations: 4.526 MB / 0.6749 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.6431, allocations: 0 / 0.6749 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.6443, allocations: 0.9649 MB / 0.6758 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.6464, allocations: 354.2 kB / 0.6761 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/0.6634, allocations: 11.7 MB / 0.6876 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004046/0.6675, allocations: 3.327 MB / 0.6908 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005559/0.6731, allocations: 2.283 MB / 0.6931 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/0.6737, allocations: 227.4 kB / 0.6933 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.6738, allocations: 4 kB / 0.6933 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of Templates: time 0.2477/0.9215, allocations: 25.57 MB / 0.7182 GB, free: 164.5 MB / 0.5105 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@2/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