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.0008995/0.0008995, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.002047, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007559/0.0007559, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009564/0.001712, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 1.04/1.04, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08504/1.125, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.913e-06/1.913e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.251e-05, allocations: 6.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01124/0.01127, allocations: 9.958 MB / 255 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007425/0.0187, allocations: 3.916 MB / 258.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.02003, allocations: 75.62 kB / 259 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.02261, allocations: 2.347 MB / 261.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.02582, allocations: 1.73 MB / 263 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.02685, allocations: 0.6236 MB / 263.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004143/0.031, allocations: 3.809 MB / 267.5 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002833/0.03383, allocations: 2.56 MB / 270 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.03636, allocations: 2.182 MB / 272.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.03848, allocations: 1.886 MB / 274.1 MB, free: 416 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005086/0.03899, allocations: 296 kB / 274.4 MB, free: 120 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1152/0.1542, allocations: 1.117 MB / 275.5 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.156, allocations: 1.628 MB / 277.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.1577, allocations: 0.9281 MB / 278.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004578/0.1623, allocations: 3.754 MB / 281.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.745e-05/0.1623, allocations: 1.375 kB / 281.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1623, allocations: 0 / 281.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002005/0.1625, allocations: 0 / 281.8 MB, free: 6.395 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.007794/0.1703, allocations: 4.76 MB / 286.6 MB, free: 4.578 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1704, allocations: 8.531 kB / 286.6 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.1731, allocations: 1.04 MB / 287.6 MB, free: 4.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.1751, allocations: 1.558 MB / 289.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.85e-05/0.1751, allocations: 215.1 kB / 289.4 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005012/0.1756, allocations: 364.9 kB / 289.8 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00494/0.1806, allocations: 4.492 MB / 294.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-05/0.1807, allocations: 42.73 kB / 294.3 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002749/0.181, allocations: 140.3 kB / 294.4 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001242/0.1822, allocations: 1.475 MB / 295.9 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004426/0.1866, allocations: 2.352 MB / 298.3 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02325/0.2099, allocations: 27.57 MB / 325.8 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003499/0.2134, allocations: 1.636 MB / 327.5 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004662/0.2138, allocations: 354.5 kB / 327.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00502/0.2189, allocations: 3.58 MB / 331.4 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.2189, allocations: 50.41 kB / 331.4 MB, free: 1.699 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 4.599e-06/0.2189, allocations: 0 / 331.4 MB, free: 1.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=139): time 0.008994/0.2279, allocations: 4.016 MB / 335.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007322/0.2286, allocations: 1.472 MB / 336.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/0.2311, allocations: 2.815 MB / 339.7 MB, free: 9.789 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.746e-05/0.2312, allocations: 41.7 kB / 339.8 MB, free: 9.742 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.2323, allocations: 2.738 MB / 342.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/0.2327, allocations: 0.596 MB / 343.1 MB, free: 6.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000857/0.2336, allocations: 1.037 MB / 344.1 MB, free: 5.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.2336, allocations: 305.1 kB / 344.4 MB, free: 5.359 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.2348, allocations: 0.729 MB / 345.2 MB, free: 4.625 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/0.2373, allocations: 4.044 MB / 349.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/0.2414, allocations: 5.35 MB / 354.6 MB, free: 8.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.35e-05/0.2415, allocations: 36 kB / 354.6 MB, free: 8.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.006705/0.2482, allocations: 4.213 MB / 358.8 MB, free: 4.113 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.2482, allocations: 56 kB / 358.9 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003132/0.2513, allocations: 0.9778 MB / 359.9 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003183/0.2545, allocations: 0.5642 MB / 360.4 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/0.257, allocations: 1.349 MB / 361.8 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.2602, allocations: 3.154 MB / 364.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.2627, allocations: 255.7 kB / 365.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/0.263, allocations: 295.1 kB / 365.5 MB, free: 13.28 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.001475/0.2644, allocations: 0.5718 MB / 366 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.2647, allocations: 182.8 kB / 366.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.2651, allocations: 327.4 kB / 366.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001293/0.2664, allocations: 0.6851 MB / 367.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2664, allocations: 4 kB / 367.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.2664, allocations: 11.97 kB / 367.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005222/0.2716, allocations: 3.696 MB / 370.9 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2716, allocations: 0 / 370.9 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.2722, allocations: 215.8 kB / 371.1 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.2725, allocations: 266 kB / 371.4 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.2737, allocations: 0.5004 MB / 371.9 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.061e-05/0.2738, allocations: 33.56 kB / 371.9 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.2758, allocations: 2.865 MB / 374.8 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005121/0.2763, allocations: 1.343 MB / 376.1 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.2785, allocations: 1.86 MB / 378 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.2788, allocations: 31.98 kB / 378 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/0.2794, allocations: 28 kB / 378.1 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.2795, allocations: 92.23 kB / 378.1 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/0.2796, allocations: 31.98 kB / 378.2 MB, free: 372 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009727/0.2805, allocations: 1.006 MB / 379.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2805, allocations: 0 / 379.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00291/0.2835, allocations: 0.9959 MB / 380.2 MB, free: 14.48 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.0003444/0.2838, allocations: 167.7 kB / 380.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003315/0.2871, allocations: 2.697 MB / 383 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001616/0.2873, allocations: 106.8 kB / 383.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.2884, allocations: 0.8507 MB / 384 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.2902, allocations: 0.7428 MB / 384.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009385/0.2996, allocations: 6.783 MB / 391.5 MB, free: 3.113 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009477/0.3005, allocations: 1.068 MB / 392.6 MB, free: 2.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001088/0.3016, allocations: 431.9 kB / 393 MB, free: 1.602 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.3023, allocations: 0.498 MB / 393.5 MB, free: 1.105 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3023, allocations: 0 / 393.5 MB, free: 1.105 MB / 362.7 MB Notification: Performance of Templates: time 0.1516/0.454, allocations: 35.09 MB / 428.6 MB, free: 121.1 MB / 394.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 -emit_protected -ignoreHideResult -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.816784887574613]