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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 74.66 kB / 19.93 MB, free: 1.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 165.2 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2252/0.2252, allocations: 32.38 MB / 269.6 MB, free: 4.773 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 407.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.116e-05/4.436e-05, allocations: 2.281 kB / 407.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01678/0.01682, allocations: 10.84 MB / 418.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.02903, allocations: 3.895 MB / 422.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003562/0.0326, allocations: 91.69 kB / 422.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004861/0.03746, allocations: 1.728 MB / 423.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00572/0.04318, allocations: 1.684 MB / 425.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.0466, allocations: 1.227 MB / 426.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007464/0.05407, allocations: 3.684 MB / 430.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005068/0.05913, allocations: 2.097 MB / 432.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00745/0.06658, allocations: 1.804 MB / 434.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004818/0.0714, allocations: 1.722 MB / 436.1 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00172/0.07312, allocations: 263.9 kB / 436.4 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.07617, allocations: 0.6904 MB / 437.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00347/0.07964, allocations: 1.749 MB / 438.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004153/0.0838, allocations: 1.035 MB / 439.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.0957, allocations: 6.416 MB / 446.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.09571, allocations: 0 / 446.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.09571, allocations: 3.938 kB / 446.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003523/0.09607, allocations: 0 / 446.3 MB, free: 11.94 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01465/0.1107, allocations: 4.179 MB / 450.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.1108, allocations: 11.97 kB / 450.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.1228, allocations: 3.086 MB / 453.5 MB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/0.1281, allocations: 1.829 MB / 455.4 MB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002855/0.1284, allocations: 201.3 kB / 455.6 MB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00149/0.1299, allocations: 256.2 kB / 455.8 MB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/0.1557, allocations: 10.53 MB / 466.3 MB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001752/0.1559, allocations: 31.75 kB / 466.4 MB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001468/0.1573, allocations: 131.8 kB / 466.5 MB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005253/0.1626, allocations: 2.443 MB / 469 MB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2908/0.4534, allocations: 9.333 MB / 478.3 MB, free: 62.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04566/0.4991, allocations: 36.17 MB / 0.5024 GB, free: 36.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004949/0.504, allocations: 2.509 MB / 0.5049 GB, free: 35.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.5055, allocations: 1.175 MB / 0.506 GB, free: 34.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007897/0.5134, allocations: 4.836 MB / 0.5107 GB, free: 29.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.5134, allocations: 47.16 kB / 0.5108 GB, free: 29.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=153): time 3.537e-06/0.5134, allocations: 0 / 0.5108 GB, free: 29.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=153): time 0.006033/0.5194, allocations: 3.459 MB / 0.5141 GB, free: 26.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.5195, allocations: 166.9 kB / 0.5143 GB, free: 25.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003929/0.5234, allocations: 3.872 MB / 0.5181 GB, free: 22.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.041e-05/0.5235, allocations: 46.12 kB / 0.5181 GB, free: 22.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.5252, allocations: 3.456 MB / 0.5215 GB, free: 18.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004412/0.5257, allocations: 0.6336 MB / 0.5221 GB, free: 18.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/0.527, allocations: 1.341 MB / 0.5234 GB, free: 16.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.5271, allocations: 357.9 kB / 0.5238 GB, free: 16.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.5293, allocations: 2 MB / 0.5257 GB, free: 14.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003683/0.533, allocations: 6.303 MB / 0.5319 GB, free: 5.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.5435, allocations: 9.062 MB / 0.5407 GB, free: 10.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002025/0.5437, allocations: 40 kB / 0.5408 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01696/0.5607, allocations: 7.924 MB / 0.5485 GB, free: 2.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001728/0.5609, allocations: 75.94 kB / 0.5486 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000296/0.5612, allocations: 152 kB / 0.5487 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/0.5614, allocations: 208 kB / 0.5489 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005185/0.5666, allocations: 1.509 MB / 0.5504 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003154/0.5669, allocations: 298.8 kB / 0.5507 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005716/0.5726, allocations: 0.9309 MB / 0.5516 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/0.5737, allocations: 412 kB / 0.552 GB, free: 15.27 MB / 430.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.005181/0.5789, allocations: 2.28 MB / 0.5542 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007372/0.5796, allocations: 317.6 kB / 0.5545 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009413/0.5806, allocations: 389.4 kB / 0.5549 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-05/0.5806, allocations: 35.98 kB / 0.5549 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.5807, allocations: 4.312 kB / 0.5549 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.5807, allocations: 3.984 kB / 0.5549 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.5917, allocations: 4.544 MB / 0.5594 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.5918, allocations: 8 kB / 0.5594 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.5928, allocations: 207.7 kB / 0.5596 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.624e-05/0.5929, allocations: 15.94 kB / 0.5596 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.593, allocations: 34.17 kB / 0.5596 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.25e-05/0.593, allocations: 16.56 kB / 0.5596 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/0.5931, allocations: 12 kB / 0.5596 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003883/0.5969, allocations: 2.546 MB / 0.5621 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008353/0.5978, allocations: 297.5 kB / 0.5624 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005844/0.5984, allocations: 26.27 kB / 0.5624 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.5997, allocations: 63.92 kB / 0.5625 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.5999, allocations: 96.11 kB / 0.5626 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.6, allocations: 42.5 kB / 0.5626 GB, free: 4.168 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004708/0.6047, allocations: 2.164 MB / 0.5647 GB, free: 2.012 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6047, allocations: 0 / 0.5647 GB, free: 2.012 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007328/0.612, allocations: 1.18 MB / 0.5659 GB, free: 0.832 MB / 430.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.0006899/0.6127, allocations: 153.7 kB / 0.566 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.6228, allocations: 4.362 MB / 0.5703 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.089e-05/0.6228, allocations: 448 / 0.5703 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.6247, allocations: 0.8935 MB / 0.5712 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/0.6279, allocations: 296.5 kB / 0.5715 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/0.6497, allocations: 8.668 MB / 0.5799 GB, free: 2.379 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004724/0.6545, allocations: 2.733 MB / 0.5826 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005398/0.6599, allocations: 2.242 MB / 0.5848 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006751/0.6605, allocations: 212.5 kB / 0.585 GB, free: 13.16 MB / 462.1 MB Notification: Performance of SimCode: time 1.613e-06/0.6605, allocations: 4 kB / 0.585 GB, free: 13.16 MB / 462.1 MB Notification: Performance of Templates: time 0.05099/0.7115, allocations: 17.17 MB / 0.6018 GB, free: 12.11 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.84593952447176]