Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009398/0.0009398, allocations: 80.8 kB / 22.28 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.001143/0.001143, allocations: 168.7 kB / 25.7 MB, free: 8.445 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.9345/0.9345, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.94e-05, allocations: 6.25 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01091/0.01094, allocations: 10.18 MB / 261.8 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006622/0.01757, allocations: 3.97 MB / 265.7 MB, free: 8.996 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.01858, allocations: 75.62 kB / 265.8 MB, free: 8.922 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.02124, allocations: 2.733 MB / 268.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.02463, allocations: 1.846 MB / 270.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.02578, allocations: 0.7406 MB / 271.1 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003722/0.0295, allocations: 4.054 MB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002866/0.03237, allocations: 3.058 MB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.03431, allocations: 2.241 MB / 280.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.03598, allocations: 2.034 MB / 282.5 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.03626, allocations: 320 kB / 282.8 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.03781, allocations: 1.151 MB / 284 MB, free: 6.633 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.03885, allocations: 1.975 MB / 285.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008377/0.03969, allocations: 1.25 MB / 287.2 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.04303, allocations: 4.394 MB / 291.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.04304, allocations: 0 / 291.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.04304, allocations: 0 / 291.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.307e-05/0.04308, allocations: 0 / 291.6 MB, free: 14.99 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.003848/0.04693, allocations: 4.304 MB / 295.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.04697, allocations: 15.98 kB / 295.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/0.04951, allocations: 1.085 MB / 297 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.05128, allocations: 1.553 MB / 298.5 MB, free: 7.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.0514, allocations: 246.4 kB / 298.8 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004707/0.05187, allocations: 383.7 kB / 299.2 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005233/0.0571, allocations: 5.158 MB / 304.3 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.861e-05/0.05717, allocations: 35.69 kB / 304.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.05742, allocations: 159.8 kB / 304.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001345/0.05876, allocations: 1.689 MB / 306.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004067/0.06283, allocations: 2.693 MB / 308.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02077/0.0836, allocations: 31.05 MB / 339.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004236/0.08784, allocations: 2.2 MB / 342.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.08829, allocations: 409.9 kB / 342.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004349/0.09264, allocations: 3.872 MB / 346.4 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.09267, allocations: 51.56 kB / 346.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 2.675e-06/0.09267, allocations: 0 / 346.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01234/0.105, allocations: 5.305 MB / 351.8 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1343/0.2393, allocations: 1.462 MB / 353.2 MB, free: 95.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003952/0.2433, allocations: 3.064 MB / 356.3 MB, free: 95.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003115/0.2436, allocations: 49.2 kB / 356.3 MB, free: 95.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008825/0.2445, allocations: 3.086 MB / 359.4 MB, free: 94.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/0.2449, allocations: 0.6743 MB / 360.1 MB, free: 93.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000901/0.2458, allocations: 1.182 MB / 361.3 MB, free: 93.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.361e-05/0.2459, allocations: 302.3 kB / 361.6 MB, free: 93.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.2471, allocations: 0.808 MB / 362.4 MB, free: 93.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/0.2493, allocations: 4.601 MB / 367 MB, free: 88.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004206/0.2535, allocations: 6.062 MB / 373.1 MB, free: 82.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.684e-05/0.2536, allocations: 42.62 kB / 373.1 MB, free: 82.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0086/0.2622, allocations: 4.951 MB / 378 MB, free: 79.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.2623, allocations: 68.06 kB / 378.1 MB, free: 79.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005004/0.2673, allocations: 1.288 MB / 379.4 MB, free: 78.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005615/0.2729, allocations: 1.093 MB / 380.5 MB, free: 77.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003402/0.2763, allocations: 1.384 MB / 381.9 MB, free: 76.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003825/0.2802, allocations: 3.841 MB / 385.7 MB, free: 72.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006755/0.2869, allocations: 295.5 kB / 386 MB, free: 72.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000516/0.2874, allocations: 336 kB / 386.3 MB, free: 71.81 MB / 330.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.00439/0.2918, allocations: 0.6312 MB / 387 MB, free: 71.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004735/0.2923, allocations: 207.7 kB / 387.2 MB, free: 70.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005625/0.2979, allocations: 1.395 MB / 388.6 MB, free: 69.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00206/0.3, allocations: 0.9698 MB / 389.5 MB, free: 68.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.3, allocations: 8 kB / 389.5 MB, free: 68.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.3, allocations: 3.984 kB / 389.5 MB, free: 68.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.3133, allocations: 4.162 MB / 393.7 MB, free: 64.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.3133, allocations: 4 kB / 393.7 MB, free: 64.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.3139, allocations: 167.8 kB / 393.9 MB, free: 64.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005781/0.3197, allocations: 1.033 MB / 394.9 MB, free: 63.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.3198, allocations: 31.97 kB / 394.9 MB, free: 63.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/0.3314, allocations: 3.573 MB / 398.5 MB, free: 59.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004456/0.3318, allocations: 1.359 MB / 399.9 MB, free: 57.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009807/0.3416, allocations: 2.161 MB / 402 MB, free: 55.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008494/0.3425, allocations: 281.8 kB / 402.3 MB, free: 55.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/0.3428, allocations: 39.92 kB / 402.3 MB, free: 55.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/0.3434, allocations: 27.98 kB / 402.4 MB, free: 55.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.3436, allocations: 92.8 kB / 402.5 MB, free: 55.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-05/0.3437, allocations: 35.97 kB / 402.5 MB, free: 55.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009964/0.3447, allocations: 1.079 MB / 403.6 MB, free: 54.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3447, allocations: 0 / 403.6 MB, free: 54.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003444/0.3481, allocations: 1.109 MB / 404.7 MB, free: 52.91 MB / 330.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.0003758/0.3485, allocations: 174.7 kB / 404.9 MB, free: 52.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003842/0.3523, allocations: 2.951 MB / 407.8 MB, free: 49.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001522/0.3525, allocations: 96.16 kB / 407.9 MB, free: 49.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.3538, allocations: 0.9179 MB / 408.8 MB, free: 48.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.356, allocations: 0.5518 MB / 409.4 MB, free: 48.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008594/0.3646, allocations: 7.15 MB / 416.5 MB, free: 40.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008659/0.3655, allocations: 1.154 MB / 417.7 MB, free: 39.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001144/0.3666, allocations: 459 kB / 418.1 MB, free: 39.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006346/0.3673, allocations: 0.5089 MB / 418.6 MB, free: 38.8 MB / 330.7 MB Notification: Performance of SimCode: time 1.924e-06/0.3673, allocations: 4 kB / 418.6 MB, free: 38.8 MB / 330.7 MB Notification: Performance of Templates: time 0.04533/0.4126, allocations: 35.79 MB / 454.4 MB, free: 2.977 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.886081818025559]