Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007476/0.0007476, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.00189, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007/0.0007, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009273/0.001627, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08457/1.096, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.07e-05, allocations: 6.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01071/0.01073, allocations: 9.962 MB / 254.7 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006897/0.01763, allocations: 3.912 MB / 258.6 MB, free: 292 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007473/0.01838, allocations: 75.62 kB / 258.7 MB, free: 216 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.02056, allocations: 2.34 MB / 261 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.02289, allocations: 1.742 MB / 262.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.02363, allocations: 0.6237 MB / 263.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002493/0.02612, allocations: 3.786 MB / 267.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/0.02785, allocations: 2.572 MB / 269.7 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.02944, allocations: 2.17 MB / 271.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.03141, allocations: 1.89 MB / 273.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007078/0.03212, allocations: 296 kB / 274.1 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1162/0.1483, allocations: 1.109 MB / 275.2 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001798/0.1501, allocations: 1.628 MB / 276.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.1518, allocations: 0.929 MB / 277.7 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00493/0.1567, allocations: 3.75 MB / 281.5 MB, free: 6.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.1567, allocations: 3.875 kB / 281.5 MB, free: 6.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1567, allocations: 0 / 281.5 MB, free: 6.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001217/0.1568, allocations: 1.562 kB / 281.5 MB, free: 6.688 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.007804/0.1647, allocations: 4.754 MB / 286.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1647, allocations: 8.406 kB / 286.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/0.1677, allocations: 1.046 MB / 287.3 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.1698, allocations: 1.558 MB / 288.9 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.1699, allocations: 217.2 kB / 289.1 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004623/0.1704, allocations: 365.2 kB / 289.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004779/0.1752, allocations: 4.491 MB / 293.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.317e-05/0.1752, allocations: 34.05 kB / 294 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.1755, allocations: 138.3 kB / 294.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001096/0.1766, allocations: 1.385 MB / 295.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004158/0.1807, allocations: 2.355 MB / 297.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02563/0.2064, allocations: 27.5 MB / 325.3 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/0.2107, allocations: 1.647 MB / 327 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.2112, allocations: 356.2 kB / 327.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005412/0.2167, allocations: 3.576 MB / 330.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.2167, allocations: 47.22 kB / 331 MB, free: 2.855 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 3.757e-06/0.2167, allocations: 0 / 331 MB, free: 2.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=139): time 0.01185/0.2286, allocations: 4.052 MB / 335 MB, free: 14.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008518/0.2294, allocations: 1.483 MB / 336.5 MB, free: 13.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.2321, allocations: 2.817 MB / 339.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-05/0.2322, allocations: 41.7 kB / 339.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.2336, allocations: 2.737 MB / 342.1 MB, free: 8.246 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004494/0.2341, allocations: 0.5863 MB / 342.7 MB, free: 7.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.2352, allocations: 1.038 MB / 343.7 MB, free: 6.766 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.2353, allocations: 305.1 kB / 344 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.2366, allocations: 0.729 MB / 344.7 MB, free: 5.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/0.2397, allocations: 4.036 MB / 348.8 MB, free: 184 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005153/0.2448, allocations: 5.697 MB / 354.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.995e-05/0.2449, allocations: 36 kB / 354.5 MB, free: 9.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.007568/0.2524, allocations: 4.208 MB / 358.7 MB, free: 4.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.2525, allocations: 60 kB / 358.8 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-05/0.2526, allocations: 128 kB / 358.9 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/0.2558, allocations: 0.5697 MB / 359.5 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.2578, allocations: 1.341 MB / 360.8 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.261, allocations: 3.14 MB / 363.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.2631, allocations: 255.7 kB / 364.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/0.2633, allocations: 299.1 kB / 364.5 MB, free: 14.96 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.00131/0.2646, allocations: 0.572 MB / 365.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.2649, allocations: 182.8 kB / 365.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.2653, allocations: 331.3 kB / 365.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001297/0.2666, allocations: 0.6704 MB / 366.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.2666, allocations: 4 kB / 366.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.2666, allocations: 11.91 kB / 366.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005255/0.2718, allocations: 3.703 MB / 370 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.2718, allocations: 15.94 kB / 370 MB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005688/0.2724, allocations: 215.7 kB / 370.2 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.2727, allocations: 261.9 kB / 370.4 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.274, allocations: 0.5019 MB / 370.9 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-05/0.2741, allocations: 31.97 kB / 371 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.2761, allocations: 2.843 MB / 373.8 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000536/0.2766, allocations: 1.344 MB / 375.2 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.279, allocations: 1.877 MB / 377 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.2793, allocations: 24 kB / 377.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/0.2798, allocations: 23.98 kB / 377.1 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.28, allocations: 92.42 kB / 377.2 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.2801, allocations: 31.97 kB / 377.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009824/0.2811, allocations: 1.013 MB / 378.2 MB, free: 1.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2811, allocations: 4 kB / 378.2 MB, free: 1.168 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003368/0.2844, allocations: 1.003 MB / 379.2 MB, free: 172 kB / 346.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.0003796/0.2848, allocations: 157.7 kB / 379.4 MB, free: 8 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003818/0.2886, allocations: 2.793 MB / 382.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001677/0.2888, allocations: 99.81 kB / 382.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.2909, allocations: 1.29 MB / 383.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.2932, allocations: 2.672 MB / 386.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009933/0.3032, allocations: 6.786 MB / 393 MB, free: 1.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009622/0.3041, allocations: 1.072 MB / 394.1 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001188/0.3053, allocations: 431.8 kB / 394.5 MB, free: 424 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007356/0.306, allocations: 496.6 kB / 395 MB, free: 15.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.306, allocations: 0 / 395 MB, free: 15.93 MB / 378.7 MB Notification: Performance of Templates: time 0.1444/0.4505, allocations: 33.62 MB / 428.6 MB, free: 120.5 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4478046344593167]