Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001244/0.001244, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001389/0.001389, allocations: 174.3 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9124/0.9124, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 273.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.869e-06/1.123e-05, allocations: 2.312 kB / 273.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.007297/0.007308, allocations: 10.11 MB / 283.6 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005661/0.01297, allocations: 3.992 MB / 287.5 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006045/0.01357, allocations: 71.62 kB / 287.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.01608, allocations: 2.756 MB / 290.4 MB, free: 320 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09348/0.1096, allocations: 1.849 MB / 292.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1106, allocations: 0.7384 MB / 293 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003166/0.1138, allocations: 4.102 MB / 297.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.1159, allocations: 3.154 MB / 300.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.1176, allocations: 2.256 MB / 302.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.1192, allocations: 2.029 MB / 304.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003144/0.1195, allocations: 318.2 kB / 304.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009971/0.1205, allocations: 1.095 MB / 305.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007678/0.1213, allocations: 1.945 MB / 307.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007363/0.1221, allocations: 1.233 MB / 309.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.1242, allocations: 4.345 MB / 313.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.1242, allocations: 0 / 313.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1242, allocations: 0 / 313.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.148e-05/0.1242, allocations: 0 / 313.4 MB, free: 7.23 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.003006/0.1272, allocations: 4.263 MB / 317.7 MB, free: 3.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.1272, allocations: 8.031 kB / 317.7 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.1296, allocations: 1.139 MB / 318.8 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.1308, allocations: 1.536 MB / 320.4 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.788e-05/0.1309, allocations: 243 kB / 320.6 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00043/0.1313, allocations: 396 kB / 321 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004992/0.1363, allocations: 5.18 MB / 326.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/0.1364, allocations: 48.52 kB / 326.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.1366, allocations: 157.9 kB / 326.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001345/0.138, allocations: 1.682 MB / 328.1 MB, free: 8.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00427/0.1422, allocations: 2.721 MB / 330.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01839/0.1606, allocations: 31.05 MB / 361.8 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003934/0.1646, allocations: 2.238 MB / 364.1 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.165, allocations: 399.9 kB / 364.5 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004225/0.1692, allocations: 3.865 MB / 368.3 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1693, allocations: 59.44 kB / 368.4 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of pre-optimization done (n=152): time 2.705e-06/0.1693, allocations: 0 / 368.4 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.01044/0.1797, allocations: 5.266 MB / 373.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008487/0.1806, allocations: 1.474 MB / 375.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.1825, allocations: 3.044 MB / 378.2 MB, free: 7.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.76e-05/0.1826, allocations: 49.7 kB / 378.2 MB, free: 7.152 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.1837, allocations: 3.09 MB / 381.3 MB, free: 4.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006186/0.1843, allocations: 0.6668 MB / 382 MB, free: 3.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008965/0.1852, allocations: 1.184 MB / 383.2 MB, free: 2.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.584e-05/0.1853, allocations: 305.1 kB / 383.5 MB, free: 1.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.1864, allocations: 0.8097 MB / 384.3 MB, free: 1.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/0.1892, allocations: 4.602 MB / 388.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00421/0.1935, allocations: 6.058 MB / 394.9 MB, free: 2.461 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.403e-05/0.1935, allocations: 40 kB / 395 MB, free: 2.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.007261/0.2007, allocations: 4.97 MB / 399.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.2008, allocations: 68 kB / 400 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00366/0.2045, allocations: 1.287 MB / 401.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004239/0.2087, allocations: 1.092 MB / 402.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.2107, allocations: 1.337 MB / 403.7 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00549/0.2161, allocations: 5.899 MB / 409.6 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.218, allocations: 287.8 kB / 409.9 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/0.2182, allocations: 336 kB / 410.2 MB, free: 2.785 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0007477/0.219, allocations: 0.6379 MB / 410.9 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.2192, allocations: 203.8 kB / 411.1 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.2195, allocations: 349.5 kB / 411.4 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001769/0.2213, allocations: 0.9776 MB / 412.4 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2213, allocations: 0 / 412.4 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.2213, allocations: 11.97 kB / 412.4 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005594/0.2269, allocations: 4.161 MB / 416.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2269, allocations: 0 / 416.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.2273, allocations: 155.8 kB / 416.7 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002227/0.2295, allocations: 1.038 MB / 417.7 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/0.2296, allocations: 27.98 kB / 417.8 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0045/0.2341, allocations: 5.622 MB / 423.4 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004619/0.2346, allocations: 1.348 MB / 424.7 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.2372, allocations: 2.173 MB / 426.9 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.2374, allocations: 277.8 kB / 427.2 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.2376, allocations: 39.86 kB / 427.2 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/0.2382, allocations: 31.98 kB / 427.3 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.2383, allocations: 108.8 kB / 427.4 MB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.096e-05/0.2384, allocations: 35.97 kB / 427.4 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001031/0.2394, allocations: 1.071 MB / 428.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2394, allocations: 0 / 428.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002471/0.2419, allocations: 1.148 MB / 429.6 MB, free: 14.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002738/0.2422, allocations: 167.1 kB / 429.8 MB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003065/0.2452, allocations: 3.203 MB / 433 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001334/0.2454, allocations: 96.16 kB / 433.1 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.2467, allocations: 1.172 MB / 434.3 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.2479, allocations: 0.5428 MB / 434.8 MB, free: 9.508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00709/0.255, allocations: 7.155 MB / 441.9 MB, free: 2.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.2561, allocations: 1.169 MB / 443.1 MB, free: 1.082 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009207/0.257, allocations: 459 kB / 443.6 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/0.2576, allocations: 0.4972 MB / 444.1 MB, free: 140 kB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2576, allocations: 0 / 444.1 MB, free: 140 kB / 394.7 MB Notification: Performance of Templates: time 0.1451/0.4027, allocations: 39.84 MB / 483.9 MB, free: 105.7 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.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.7486903658136725]