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.0009384/0.0009384, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009203/0.0009203, allocations: 167.7 kB / 25.7 MB, free: 8.438 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 0.8242/0.8242, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.461e-05, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007289/0.007304, allocations: 9.875 MB / 261.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006021/0.01333, allocations: 3.855 MB / 265.3 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006522/0.01398, allocations: 75.62 kB / 265.3 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.01638, allocations: 2.476 MB / 267.8 MB, free: 6.914 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.01867, allocations: 1.808 MB / 269.6 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000848/0.01952, allocations: 0.6666 MB / 270.3 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003136/0.02265, allocations: 3.839 MB / 274.1 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.02485, allocations: 2.86 MB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.02673, allocations: 2.105 MB / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.02842, allocations: 1.905 MB / 281 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002983/0.02872, allocations: 300 kB / 281.3 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.02994, allocations: 1.096 MB / 282.4 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.03096, allocations: 1.835 MB / 284.2 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000875/0.03184, allocations: 1.145 MB / 285.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.03467, allocations: 4.094 MB / 289.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.03467, allocations: 4 kB / 289.5 MB, free: 1.148 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.03467, allocations: 0 / 289.5 MB, free: 1.148 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.011e-05/0.03471, allocations: 0 / 289.5 MB, free: 1.148 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.003654/0.03836, allocations: 3.954 MB / 293.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.0384, allocations: 19.98 kB / 293.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00231/0.04071, allocations: 0.9957 MB / 294.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.04235, allocations: 1.578 MB / 296 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.04245, allocations: 221.5 kB / 296.2 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004921/0.04294, allocations: 363.6 kB / 296.6 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004281/0.04722, allocations: 4.466 MB / 301.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.498e-05/0.04729, allocations: 35.64 kB / 301.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.04752, allocations: 139.8 kB / 301.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00124/0.04876, allocations: 1.474 MB / 302.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003567/0.05233, allocations: 2.355 MB / 305.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/0.06943, allocations: 27.51 MB / 332.6 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/0.07243, allocations: 1.646 MB / 334.2 MB, free: 2.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.07282, allocations: 358.8 kB / 334.6 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00384/0.07666, allocations: 3.597 MB / 338.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.07669, allocations: 47.22 kB / 338.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 2.986e-06/0.0767, allocations: 0 / 338.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.008274/0.08497, allocations: 4.046 MB / 342.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006722/0.08564, allocations: 1.484 MB / 343.7 MB, free: 8.812 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.08759, allocations: 2.822 MB / 346.6 MB, free: 5.969 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.781e-05/0.08767, allocations: 45.7 kB / 346.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.08875, allocations: 2.74 MB / 349.3 MB, free: 3.148 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.08909, allocations: 0.5854 MB / 349.9 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008557/0.08995, allocations: 1.037 MB / 351 MB, free: 1.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8e-05/0.09003, allocations: 309.2 kB / 351.3 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.09111, allocations: 0.7368 MB / 352 MB, free: 476 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.108/0.1991, allocations: 4.037 MB / 356 MB, free: 90.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/0.2022, allocations: 5.356 MB / 361.4 MB, free: 86.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.793e-05/0.2022, allocations: 33.72 kB / 361.4 MB, free: 86.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.006207/0.2084, allocations: 4.213 MB / 365.6 MB, free: 85.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.2085, allocations: 57.34 kB / 365.7 MB, free: 85.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003113/0.2116, allocations: 0.9661 MB / 366.7 MB, free: 85.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003252/0.2148, allocations: 0.5623 MB / 367.2 MB, free: 85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.2165, allocations: 1.207 MB / 368.4 MB, free: 84.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.2192, allocations: 3.149 MB / 371.6 MB, free: 82.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.2209, allocations: 257.7 kB / 371.8 MB, free: 82.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.2211, allocations: 299 kB / 372.1 MB, free: 82.22 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.0008132/0.2219, allocations: 0.57 MB / 372.7 MB, free: 81.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.2222, allocations: 181.9 kB / 372.9 MB, free: 81.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.2237, allocations: 1.076 MB / 373.9 MB, free: 81.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001126/0.2248, allocations: 0.6882 MB / 374.6 MB, free: 80.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2248, allocations: 4 kB / 374.6 MB, free: 80.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.2248, allocations: 6.375 kB / 374.6 MB, free: 80.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.229, allocations: 3.719 MB / 378.4 MB, free: 78.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.229, allocations: 8.094 kB / 378.4 MB, free: 78.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.2294, allocations: 179.8 kB / 378.5 MB, free: 77.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.2305, allocations: 0.4989 MB / 379 MB, free: 77.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/0.2306, allocations: 35.97 kB / 379.1 MB, free: 77.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.2321, allocations: 2.856 MB / 381.9 MB, free: 74.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003116/0.2324, allocations: 1.346 MB / 383.3 MB, free: 72.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.2343, allocations: 1.86 MB / 385.1 MB, free: 71.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.2345, allocations: 275.3 kB / 385.4 MB, free: 70.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.2347, allocations: 31.92 kB / 385.4 MB, free: 70.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.2352, allocations: 24 kB / 385.5 MB, free: 70.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.2354, allocations: 88.41 kB / 385.6 MB, free: 70.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.2354, allocations: 35.3 kB / 385.6 MB, free: 70.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006435/0.2361, allocations: 1.015 MB / 386.6 MB, free: 69.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2361, allocations: 4 kB / 386.6 MB, free: 69.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002388/0.2384, allocations: 1.019 MB / 387.6 MB, free: 68.89 MB / 330.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.0002819/0.2387, allocations: 177.7 kB / 387.8 MB, free: 68.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002683/0.2414, allocations: 2.677 MB / 390.5 MB, free: 66.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001138/0.2415, allocations: 92.16 kB / 390.6 MB, free: 66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009885/0.2425, allocations: 0.8432 MB / 391.4 MB, free: 65.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.2437, allocations: 0.5399 MB / 391.9 MB, free: 64.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.249, allocations: 6.596 MB / 398.5 MB, free: 58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/0.2496, allocations: 1.057 MB / 399.6 MB, free: 56.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009312/0.2505, allocations: 438.6 kB / 400 MB, free: 56.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/0.2511, allocations: 0.492 MB / 400.5 MB, free: 56 MB / 330.7 MB Notification: Performance of SimCode: time 1.031e-06/0.2511, allocations: 0 / 400.5 MB, free: 56 MB / 330.7 MB Notification: Performance of Templates: time 0.03713/0.2883, allocations: 34.79 MB / 435.3 MB, free: 21.27 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] 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","",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.4939285279251635]