Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.002122/0.002122, allocations: 96.3 kB / 21.73 MB, free: 2.699 MB / 18.57 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.002328/0.002328, allocations: 169.7 kB / 25.02 MB, free: 8.418 MB / 18.57 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.489/1.489, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.081e-06, allocations: 3.984 kB / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.415e-05/4.024e-05, allocations: 10.19 kB / 250.4 MB, free: 3.906 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01961/0.01965, allocations: 9.181 MB / 259.6 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.03175, allocations: 3.641 MB / 263.2 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.03397, allocations: 71.62 kB / 263.3 MB, free: 6.957 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007884/0.04186, allocations: 2.402 MB / 265.7 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007185/0.04904, allocations: 1.8 MB / 267.5 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.0515, allocations: 0.6666 MB / 268.1 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008018/0.05952, allocations: 3.824 MB / 272 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006394/0.06591, allocations: 2.79 MB / 274.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005434/0.07134, allocations: 2.074 MB / 276.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004853/0.0762, allocations: 1.933 MB / 278.8 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008627/0.07706, allocations: 296 kB / 279.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.08028, allocations: 1.104 MB / 280.2 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003181/0.08346, allocations: 1.823 MB / 282 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.08593, allocations: 1.141 MB / 283.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.09829, allocations: 6.296 MB / 289.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.09829, allocations: 0 / 289.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.0983, allocations: 4 kB / 289.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000154/0.09845, allocations: 3.938 kB / 289.4 MB, free: 12.69 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.0131/0.1116, allocations: 4.292 MB / 293.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.1116, allocations: 15.98 kB / 293.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.1234, allocations: 2.335 MB / 296.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007167/0.1306, allocations: 2.04 MB / 298.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.1309, allocations: 217.5 kB / 298.3 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001638/0.1325, allocations: 371.6 kB / 298.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1205/0.253, allocations: 8.915 MB / 307.6 MB, free: 51.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.833e-05/0.2531, allocations: 38.38 kB / 307.6 MB, free: 51.87 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003745/0.2535, allocations: 141.4 kB / 307.8 MB, free: 51.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002364/0.2559, allocations: 1.641 MB / 309.4 MB, free: 51.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.2686, allocations: 7.482 MB / 316.9 MB, free: 48.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03331/0.3019, allocations: 33.08 MB / 350 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007479/0.3094, allocations: 3.014 MB / 353 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.311, allocations: 1.384 MB / 354.4 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007907/0.3189, allocations: 5.488 MB / 359.9 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.319, allocations: 51.16 kB / 359.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=132): time 4.008e-06/0.319, allocations: 0 / 359.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=139): time 0.02928/0.3483, allocations: 11.3 MB / 371.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001812/0.3501, allocations: 1.581 MB / 372.8 MB, free: 8.258 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006327/0.3564, allocations: 3.526 MB / 376.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003794/0.3568, allocations: 48.98 kB / 376.4 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002763/0.3595, allocations: 2.893 MB / 379.3 MB, free: 1.844 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009487/0.3605, allocations: 0.5865 MB / 379.8 MB, free: 1.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/0.3622, allocations: 1.098 MB / 380.9 MB, free: 164 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3624, allocations: 305.1 kB / 381.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/0.3657, allocations: 1.943 MB / 383.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007405/0.3731, allocations: 5.381 MB / 388.6 MB, free: 6.793 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/0.3852, allocations: 7.853 MB / 396.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/0.3853, allocations: 36 kB / 396.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02388/0.4092, allocations: 9.077 MB / 405.5 MB, free: 4.102 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.4093, allocations: 59.94 kB / 405.6 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01152/0.4208, allocations: 3.469 MB / 409.1 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01124/0.4321, allocations: 2.238 MB / 411.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004462/0.4365, allocations: 1.252 MB / 412.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.4488, allocations: 7.088 MB / 419.6 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/0.4534, allocations: 419.4 kB / 420 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/0.4544, allocations: 350.1 kB / 420.4 MB, free: 5.004 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.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 (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003888/0.4583, allocations: 1.846 MB / 422.2 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009043/0.4592, allocations: 328 kB / 422.6 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00694/0.4662, allocations: 2.73 MB / 425.3 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005214/0.4714, allocations: 2.353 MB / 427.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.4714, allocations: 8 kB / 427.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/0.4714, allocations: 7.969 kB / 427.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/0.4892, allocations: 6.997 MB / 434.7 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.4892, allocations: 0 / 434.7 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.4905, allocations: 227.7 kB / 434.9 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003649/0.4941, allocations: 1.061 MB / 435.9 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/0.4944, allocations: 35.97 kB / 436 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007533/0.5019, allocations: 5.014 MB / 441 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1293/0.6312, allocations: 1.437 MB / 442.4 MB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007783/0.639, allocations: 4.972 MB / 447.4 MB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008407/0.6398, allocations: 300.8 kB / 447.7 MB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003326/0.6402, allocations: 31.86 kB / 447.7 MB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.6415, allocations: 151.5 kB / 447.9 MB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.6418, allocations: 94.45 kB / 448 MB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.6419, allocations: 37.23 kB / 448 MB, free: 115.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003063/0.645, allocations: 2.038 MB / 450 MB, free: 114.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.645, allocations: 0 / 450 MB, free: 114.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006443/0.6514, allocations: 1.025 MB / 451.1 MB, free: 114.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006116/0.6521, allocations: 187.1 kB / 451.2 MB, free: 114.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007926/0.66, allocations: 4.906 MB / 456.1 MB, free: 113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.66, allocations: 2.938 kB / 456.1 MB, free: 113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003164/0.6632, allocations: 1.793 MB / 457.9 MB, free: 112.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.6655, allocations: 363.6 kB / 458.3 MB, free: 112.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.6768, allocations: 8.499 MB / 466.8 MB, free: 108.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002224/0.679, allocations: 2.373 MB / 469.2 MB, free: 106.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003065/0.682, allocations: 1.672 MB / 470.8 MB, free: 105.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/0.6826, allocations: 203.6 kB / 471 MB, free: 105.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.994e-06/0.6826, allocations: 0 / 471 MB, free: 105.3 MB / 362.7 MB Notification: Performance of Templates: time 0.04927/0.7319, allocations: 31.83 MB / 0.4911 GB, free: 73.68 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.542386714951135]