Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 80.62 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000929/0.000929, allocations: 149.2 kB / 25.6 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8829/0.8829, allocations: 173.4 MB / 202.3 MB, free: 8.281 MB / 186.7 MB " [Timeout remaining time 179] 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(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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.888e-06/1.101e-05, allocations: 2.312 kB / 269.2 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007228/0.007239, allocations: 9.87 MB / 279.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00444/0.01168, allocations: 3.73 MB / 282.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005378/0.01222, allocations: 71.62 kB / 282.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.01455, allocations: 2.445 MB / 285.3 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.01658, allocations: 1.808 MB / 287.1 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.0173, allocations: 0.6626 MB / 287.8 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002541/0.01984, allocations: 3.824 MB / 291.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.02183, allocations: 2.794 MB / 294.4 MB, free: 428 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.02325, allocations: 2.101 MB / 296.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.02474, allocations: 1.987 MB / 298.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002696/0.02501, allocations: 296 kB / 298.8 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.02605, allocations: 1.112 MB / 299.9 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.02727, allocations: 1.831 MB / 301.7 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007934/0.02806, allocations: 1.149 MB / 302.9 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.03068, allocations: 4.094 MB / 307 MB, free: 3.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.03068, allocations: 4 kB / 307 MB, free: 3.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.03068, allocations: 3.938 kB / 307 MB, free: 3.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.179e-05/0.03072, allocations: 0 / 307 MB, free: 3.812 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.004357/0.03507, allocations: 4.466 MB / 311.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.03511, allocations: 15.97 kB / 311.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/0.03801, allocations: 1.348 MB / 312.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.03987, allocations: 1.706 MB / 314.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.04001, allocations: 217.5 kB / 314.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005098/0.04052, allocations: 363.7 kB / 315.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005133/0.04565, allocations: 4.991 MB / 320.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.212e-05/0.04573, allocations: 43.67 kB / 320.1 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.04597, allocations: 135.8 kB / 320.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001453/0.04743, allocations: 1.47 MB / 321.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/0.05126, allocations: 2.411 MB / 324.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/0.1863, allocations: 38.26 MB / 362.4 MB, free: 54.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.19, allocations: 1.752 MB / 364.1 MB, free: 54.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.1905, allocations: 450.7 kB / 364.6 MB, free: 54.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003704/0.1942, allocations: 3.945 MB / 368.5 MB, free: 53.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1942, allocations: 58.22 kB / 368.6 MB, free: 53.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 2.916e-06/0.1942, allocations: 2.031 kB / 368.6 MB, free: 53.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.009581/0.2038, allocations: 4.756 MB / 373.3 MB, free: 52.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000523/0.2043, allocations: 2.014 MB / 375.4 MB, free: 50.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00505/0.2094, allocations: 3.142 MB / 378.5 MB, free: 50.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.2096, allocations: 46.62 kB / 378.5 MB, free: 50.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001693/0.2113, allocations: 3.081 MB / 381.6 MB, free: 48.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006778/0.212, allocations: 0.6148 MB / 382.2 MB, free: 48.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001531/0.2135, allocations: 1.21 MB / 383.5 MB, free: 48.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.2136, allocations: 478.3 kB / 383.9 MB, free: 47.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.215, allocations: 0.5815 MB / 384.5 MB, free: 47.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/0.2181, allocations: 5.706 MB / 390.2 MB, free: 39.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004781/0.2229, allocations: 6.953 MB / 397.2 MB, free: 30.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.004e-05/0.2229, allocations: 36 kB / 397.2 MB, free: 30.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.009843/0.2328, allocations: 4.885 MB / 402.1 MB, free: 25.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/0.2328, allocations: 60 kB / 402.1 MB, free: 25.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003471/0.2363, allocations: 1.083 MB / 403.2 MB, free: 24.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003632/0.2399, allocations: 0.575 MB / 403.8 MB, free: 24.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.2417, allocations: 1.209 MB / 405 MB, free: 22.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/0.2446, allocations: 4.285 MB / 409.3 MB, free: 18.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.2468, allocations: 243.7 kB / 409.5 MB, free: 18.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/0.2471, allocations: 303.9 kB / 409.8 MB, free: 17.93 MB / 330.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.0008436/0.2479, allocations: 0.6148 MB / 410.4 MB, free: 17.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.2482, allocations: 329.4 kB / 410.8 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.25, allocations: 1.208 MB / 412 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001331/0.2513, allocations: 0.8011 MB / 412.8 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2513, allocations: 4 kB / 412.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.2513, allocations: 7.969 kB / 412.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/0.2567, allocations: 4.379 MB / 417.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2567, allocations: 4 kB / 417.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004925/0.2572, allocations: 183.7 kB / 417.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.2583, allocations: 361.1 kB / 417.7 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.2584, allocations: 35.97 kB / 417.7 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.2601, allocations: 3.992 MB / 421.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003657/0.2604, allocations: 1.868 MB / 423.6 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.2627, allocations: 2.168 MB / 425.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.263, allocations: 269.9 kB / 426 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.2632, allocations: 31.98 kB / 426.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000649/0.2638, allocations: 27.98 kB / 426.1 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.264, allocations: 88.41 kB / 426.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-05/0.264, allocations: 39.17 kB / 426.2 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008794/0.2649, allocations: 1.248 MB / 427.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2649, allocations: 4 kB / 427.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002837/0.2677, allocations: 1.023 MB / 428.5 MB, free: 14.7 MB / 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.0003293/0.2681, allocations: 191 kB / 428.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003653/0.2717, allocations: 2.992 MB / 431.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2717, allocations: 0 / 431.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.2731, allocations: 1.036 MB / 432.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.2742, allocations: 371.1 kB / 433.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007637/0.2819, allocations: 6.823 MB / 439.9 MB, free: 3.148 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009423/0.2828, allocations: 1.064 MB / 440.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001045/0.2839, allocations: 435.9 kB / 441.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000715/0.2846, allocations: 0.5254 MB / 441.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2846, allocations: 0 / 441.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of Templates: time 0.04826/0.3328, allocations: 35.47 MB / 477.4 MB, free: 14.04 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.070498433895409]