Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 165.6 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9578/0.9578, allocations: 177 MB / 205.2 MB, free: 5.078 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_trunk_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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.027e-05, allocations: 5.266 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007424/0.007445, allocations: 9.896 MB / 283.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006547/0.01399, allocations: 3.873 MB / 287.2 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.01518, allocations: 75.62 kB / 287.3 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.01771, allocations: 2.425 MB / 289.7 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1199/0.1376, allocations: 1.739 MB / 291.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.139, allocations: 0.6702 MB / 292.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004864/0.1438, allocations: 3.884 MB / 296 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003577/0.1474, allocations: 2.739 MB / 298.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.1505, allocations: 2.057 MB / 300.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.1529, allocations: 1.898 MB / 302.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000768/0.1536, allocations: 295.4 kB / 303 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.1554, allocations: 1.112 MB / 304.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.1566, allocations: 1.81 MB / 305.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.1579, allocations: 1.138 MB / 307 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.1613, allocations: 4.045 MB / 311.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1613, allocations: 3.938 kB / 311.1 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1613, allocations: 0 / 311.1 MB, free: 9.055 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001636/0.1615, allocations: 0 / 311.1 MB, free: 9.055 MB / 266.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.00415/0.1656, allocations: 3.925 MB / 315 MB, free: 5.426 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1657, allocations: 11.98 kB / 315 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.1681, allocations: 1.05 MB / 316.1 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.1698, allocations: 1.562 MB / 317.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.1699, allocations: 219 kB / 317.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004327/0.1703, allocations: 363.3 kB / 318.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004822/0.1752, allocations: 4.494 MB / 322.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.488e-05/0.1752, allocations: 36.89 kB / 322.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002402/0.1755, allocations: 133.8 kB / 322.9 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001256/0.1767, allocations: 1.477 MB / 324.3 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004315/0.1811, allocations: 2.38 MB / 326.7 MB, free: 9.969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02252/0.2036, allocations: 27.5 MB / 354.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/0.2073, allocations: 1.664 MB / 355.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.2077, allocations: 354.5 kB / 356.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00471/0.2125, allocations: 3.591 MB / 359.8 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.2125, allocations: 54.41 kB / 359.9 MB, free: 8.867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=132): time 4.388e-06/0.2125, allocations: 0 / 359.9 MB, free: 8.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=139): time 0.009444/0.2219, allocations: 4.073 MB / 363.9 MB, free: 4.805 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008073/0.2227, allocations: 1.479 MB / 365.4 MB, free: 3.211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.2252, allocations: 2.81 MB / 368.2 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.2253, allocations: 49.69 kB / 368.3 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.2265, allocations: 2.736 MB / 371 MB, free: 14.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006506/0.2272, allocations: 0.5883 MB / 371.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008486/0.228, allocations: 1.037 MB / 372.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.2281, allocations: 304.9 kB / 372.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.2292, allocations: 0.729 MB / 373.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002589/0.2318, allocations: 4.044 MB / 377.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004387/0.2362, allocations: 5.351 MB / 383.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.415e-05/0.2363, allocations: 36 kB / 383.1 MB, free: 14.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.007618/0.2439, allocations: 4.207 MB / 387.3 MB, free: 10.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/0.244, allocations: 60 kB / 387.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003209/0.2472, allocations: 0.9757 MB / 388.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003324/0.2505, allocations: 0.5644 MB / 388.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.2531, allocations: 1.255 MB / 390.2 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.2563, allocations: 3.151 MB / 393.3 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.2589, allocations: 255.7 kB / 393.6 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/0.2592, allocations: 292 kB / 393.8 MB, free: 3.562 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.001085/0.2603, allocations: 0.5798 MB / 394.4 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/0.2607, allocations: 183.8 kB / 394.6 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.261, allocations: 327.4 kB / 394.9 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001321/0.2623, allocations: 0.6781 MB / 395.6 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2623, allocations: 8 kB / 395.6 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.2623, allocations: 3.984 kB / 395.6 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005443/0.2677, allocations: 3.706 MB / 399.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.2677, allocations: 0 / 399.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.2683, allocations: 199.8 kB / 399.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.2696, allocations: 0.4912 MB / 400 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.494e-05/0.2696, allocations: 39.97 kB / 400 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.2717, allocations: 2.862 MB / 402.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000727/0.2724, allocations: 1.346 MB / 404.3 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.2748, allocations: 1.857 MB / 406.1 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.2753, allocations: 277.9 kB / 406.4 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.2755, allocations: 27.98 kB / 406.4 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.276, allocations: 27.98 kB / 406.4 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.2762, allocations: 88.47 kB / 406.5 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.2763, allocations: 31.98 kB / 406.6 MB, free: 6.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009567/0.2772, allocations: 1.002 MB / 407.6 MB, free: 5.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2772, allocations: 7.938 kB / 407.6 MB, free: 5.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002798/0.28, allocations: 0.9959 MB / 408.6 MB, free: 4.328 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.000346/0.2804, allocations: 156.1 kB / 408.7 MB, free: 4.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003812/0.2842, allocations: 2.697 MB / 411.4 MB, free: 1.449 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001446/0.2843, allocations: 92.16 kB / 411.5 MB, free: 1.352 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.2855, allocations: 0.8434 MB / 412.3 MB, free: 480 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.2874, allocations: 0.5411 MB / 412.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008314/0.2957, allocations: 6.583 MB / 419.5 MB, free: 9.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008723/0.2966, allocations: 1.061 MB / 420.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001129/0.2977, allocations: 431.8 kB / 421 MB, free: 7.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007299/0.2985, allocations: 0.4894 MB / 421.4 MB, free: 7.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.284e-06/0.2985, allocations: 0 / 421.4 MB, free: 7.25 MB / 378.7 MB Notification: Performance of Templates: time 0.1608/0.4593, allocations: 34.41 MB / 455.9 MB, free: 104.4 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6255166940391064]