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.001478/0.001477, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001632/0.001632, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.36/1.36, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2094/0.2094, allocations: 44.19 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.47 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.109, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01313/0.1222, allocations: 12.04 MB / 482 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008598/0.1308, allocations: 4.035 MB / 486 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.1333, allocations: 79.88 kB / 486.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00363/0.1369, allocations: 1.67 MB / 487.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004708/0.1417, allocations: 1.549 MB / 489.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.1445, allocations: 1.177 MB / 490.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005109/0.1496, allocations: 3.523 MB / 494 MB, free: 6.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.1528, allocations: 2.485 MB / 496.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.1547, allocations: 1.175 MB / 497.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.1568, allocations: 1.588 MB / 499.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006317/0.1575, allocations: 240 kB / 499.5 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.159, allocations: 0.7138 MB / 0.4885 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.1605, allocations: 1.597 MB / 0.49 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.1627, allocations: 1.914 MB / 0.4919 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006376/0.1691, allocations: 5.988 MB / 0.4978 GB, free: 6.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.1692, allocations: 4 kB / 0.4978 GB, free: 6.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1692, allocations: 4 kB / 0.4978 GB, free: 6.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002051/0.1694, allocations: 0 / 0.4978 GB, free: 6.406 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.008082/0.1775, allocations: 4.063 MB / 0.5017 GB, free: 2.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1776, allocations: 12.02 kB / 0.5017 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2317/0.4093, allocations: 2.993 MB / 0.5047 GB, free: 46.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.4135, allocations: 1.817 MB / 0.5064 GB, free: 45.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.4137, allocations: 194.4 kB / 0.5066 GB, free: 45.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.4147, allocations: 256.5 kB / 0.5069 GB, free: 45.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/0.4319, allocations: 10.23 MB / 0.5169 GB, free: 41.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.141e-05/0.432, allocations: 32.5 kB / 0.5169 GB, free: 41.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004722/0.4325, allocations: 127.1 kB / 0.517 GB, free: 41.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003895/0.4364, allocations: 2.379 MB / 0.5193 GB, free: 40.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/0.4513, allocations: 9.078 MB / 0.5282 GB, free: 34.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03958/0.4909, allocations: 38.14 MB / 0.5655 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005727/0.4967, allocations: 3.39 MB / 0.5688 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.4985, allocations: 1.232 MB / 0.57 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008602/0.5071, allocations: 5.195 MB / 0.575 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.5072, allocations: 43.12 kB / 0.5751 GB, free: 1.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 5.079e-06/0.5072, allocations: 4 kB / 0.5751 GB, free: 1.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.007541/0.5148, allocations: 3.32 MB / 0.5783 GB, free: 13.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.5149, allocations: 170.8 kB / 0.5785 GB, free: 13.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006215/0.5212, allocations: 3.869 MB / 0.5823 GB, free: 9.898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002082/0.5214, allocations: 45.64 kB / 0.5823 GB, free: 9.848 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002326/0.5237, allocations: 3.22 MB / 0.5855 GB, free: 6.578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007912/0.5245, allocations: 0.6137 MB / 0.5861 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001671/0.5262, allocations: 1.313 MB / 0.5873 GB, free: 4.633 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5263, allocations: 301.1 kB / 0.5876 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002787/0.5291, allocations: 1.965 MB / 0.5895 GB, free: 2.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005554/0.5347, allocations: 6.152 MB / 0.5956 GB, free: 10.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009975/0.5447, allocations: 8.86 MB / 0.6042 GB, free: 15.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001314/0.5449, allocations: 44 kB / 0.6042 GB, free: 15.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01485/0.5597, allocations: 7.753 MB / 0.6118 GB, free: 7.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.5599, allocations: 68.94 kB / 0.6119 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001991/0.5601, allocations: 148 kB / 0.612 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/0.5603, allocations: 196 kB / 0.6122 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004624/0.5649, allocations: 1.474 MB / 0.6137 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002156/0.5652, allocations: 286.9 kB / 0.6139 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004742/0.5699, allocations: 0.9199 MB / 0.6148 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000832/0.5708, allocations: 412 kB / 0.6152 GB, free: 3.875 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.003402/0.5742, allocations: 2.222 MB / 0.6174 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005679/0.5748, allocations: 315.8 kB / 0.6177 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007198/0.5755, allocations: 411.4 kB / 0.6181 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.236e-05/0.5756, allocations: 39.97 kB / 0.6181 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.5756, allocations: 0 / 0.6181 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.5756, allocations: 3.984 kB / 0.6181 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008834/0.5844, allocations: 5.535 MB / 0.6235 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.5845, allocations: 7.938 kB / 0.6235 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009704/0.5855, allocations: 211.6 kB / 0.6237 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/0.5855, allocations: 8 kB / 0.6237 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.903e-05/0.5856, allocations: 32.64 kB / 0.6238 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.5856, allocations: 8 kB / 0.6238 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.5856, allocations: 15.94 kB / 0.6238 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.5885, allocations: 2.521 MB / 0.6263 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007331/0.5893, allocations: 384.6 kB / 0.6266 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.5896, allocations: 31.97 kB / 0.6267 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.5906, allocations: 59.92 kB / 0.6267 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.5908, allocations: 80.34 kB / 0.6268 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.647e-05/0.5909, allocations: 44 kB / 0.6268 GB, free: 7.727 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003683/0.5946, allocations: 2.358 MB / 0.6291 GB, free: 5.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5946, allocations: 0 / 0.6291 GB, free: 5.383 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005254/0.5999, allocations: 1.107 MB / 0.6302 GB, free: 4.277 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.0004596/0.6004, allocations: 157.6 kB / 0.6304 GB, free: 4.117 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008186/0.6085, allocations: 5.11 MB / 0.6354 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/0.6086, allocations: 0 / 0.6354 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.6098, allocations: 0.9597 MB / 0.6363 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.6119, allocations: 369.6 kB / 0.6366 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.6264, allocations: 8.967 MB / 0.6454 GB, free: 4.664 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003589/0.63, allocations: 3.211 MB / 0.6485 GB, free: 1.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009936/0.6311, allocations: 283.4 kB / 0.6488 GB, free: 1.152 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6311, allocations: 4 kB / 0.6488 GB, free: 1.148 MB / 478.1 MB Notification: Performance of Templates: time 0.2993/0.9304, allocations: 52.95 MB / 0.7005 GB, free: 168.3 MB / 0.5137 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 -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