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.001517/0.001517, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001471/0.001471, allocations: 168.8 kB / 25.02 MB, free: 8.43 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 1.451/1.451, allocations: 158.6 MB / 186.8 MB, free: 2.871 MB / 170.7 MB " [Timeout remaining time 178] 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.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.",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.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.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.308e-05, allocations: 2.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01861/0.01864, allocations: 9.414 MB / 259.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.03071, allocations: 3.749 MB / 263.5 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002541/0.03325, allocations: 75.62 kB / 263.6 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008057/0.0413, allocations: 2.69 MB / 266.3 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005636/0.04694, allocations: 1.87 MB / 268.2 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.04889, allocations: 0.7406 MB / 268.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006549/0.05544, allocations: 4.053 MB / 273 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005481/0.06092, allocations: 3.073 MB / 276 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004732/0.06566, allocations: 2.245 MB / 278.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.06915, allocations: 2.073 MB / 280.4 MB, free: 5.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006554/0.06981, allocations: 316 kB / 280.7 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.07218, allocations: 1.112 MB / 281.8 MB, free: 4.359 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002188/0.07436, allocations: 1.959 MB / 283.7 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002054/0.07642, allocations: 1.242 MB / 285 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009319/0.08574, allocations: 6.732 MB / 291.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.08574, allocations: 4 kB / 291.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08574, allocations: 0 / 291.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002318/0.08597, allocations: 0 / 291.7 MB, free: 10.39 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.01066/0.09664, allocations: 4.634 MB / 296.3 MB, free: 5.699 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.09669, allocations: 15.98 kB / 296.4 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008329/0.105, allocations: 2.479 MB / 298.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004457/0.1095, allocations: 2.004 MB / 300.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002536/0.1097, allocations: 246.4 kB / 301.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00096/0.1107, allocations: 395.6 kB / 301.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1391/0.2498, allocations: 10.15 MB / 311.6 MB, free: 50.56 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.2499, allocations: 38.61 kB / 311.7 MB, free: 50.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004716/0.2503, allocations: 159.5 kB / 311.8 MB, free: 50.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002348/0.2527, allocations: 1.86 MB / 313.7 MB, free: 50.14 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01369/0.2664, allocations: 8.313 MB / 322 MB, free: 42.95 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0353/0.3017, allocations: 37.12 MB / 359.1 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008848/0.3105, allocations: 3.564 MB / 362.7 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.3121, allocations: 1.344 MB / 364 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.3234, allocations: 5.647 MB / 369.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.3234, allocations: 55.48 kB / 369.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=152): time 3.597e-06/0.3234, allocations: 0 / 369.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=159): time 0.0356/0.359, allocations: 12.58 MB / 382.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001734/0.3608, allocations: 1.553 MB / 383.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006592/0.3673, allocations: 3.781 MB / 387.6 MB, free: 8.848 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004217/0.3678, allocations: 51.66 kB / 387.7 MB, free: 8.793 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003115/0.3709, allocations: 3.233 MB / 390.9 MB, free: 5.578 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.372, allocations: 0.6614 MB / 391.6 MB, free: 4.922 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001994/0.3739, allocations: 1.249 MB / 392.8 MB, free: 3.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3741, allocations: 305.1 kB / 393.1 MB, free: 3.363 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003731/0.3779, allocations: 2.069 MB / 395.2 MB, free: 1.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008028/0.3859, allocations: 6.002 MB / 401.2 MB, free: 9.316 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01585/0.4017, allocations: 8.659 MB / 409.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002065/0.4019, allocations: 40 kB / 409.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.03403/0.436, allocations: 10.09 MB / 420 MB, free: 4.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.4362, allocations: 68 kB / 420.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01382/0.45, allocations: 3.768 MB / 423.8 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01411/0.4641, allocations: 2.84 MB / 426.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005199/0.4693, allocations: 1.38 MB / 428 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.4824, allocations: 7.435 MB / 435.5 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005284/0.4876, allocations: 479.4 kB / 435.9 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/0.4889, allocations: 391.9 kB / 436.3 MB, free: 3.93 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.004639/0.4935, allocations: 2.005 MB / 438.3 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/0.4945, allocations: 353.9 kB / 438.7 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.128/0.6226, allocations: 3.076 MB / 441.8 MB, free: 116.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005914/0.6285, allocations: 2.662 MB / 444.4 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/0.6285, allocations: 3.094 kB / 444.4 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.6285, allocations: 10.41 kB / 444.4 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.6431, allocations: 7.547 MB / 452 MB, free: 113.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.6431, allocations: 0 / 452 MB, free: 113.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008417/0.6439, allocations: 189.4 kB / 452.2 MB, free: 113.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004997/0.6489, allocations: 1.668 MB / 453.8 MB, free: 113.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/0.6491, allocations: 41.3 kB / 453.9 MB, free: 113.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/0.6541, allocations: 5.765 MB / 459.6 MB, free: 110 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000728/0.6548, allocations: 1.421 MB / 461.1 MB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008222/0.6631, allocations: 5.299 MB / 466.4 MB, free: 106.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/0.6639, allocations: 306.4 kB / 466.7 MB, free: 106.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/0.6643, allocations: 33.09 kB / 466.7 MB, free: 106.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.6657, allocations: 157.6 kB / 466.8 MB, free: 106.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.666, allocations: 104 kB / 466.9 MB, free: 106.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.6661, allocations: 51.81 kB / 467 MB, free: 106.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002859/0.6689, allocations: 2.152 MB / 469.1 MB, free: 105.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6689, allocations: 0 / 469.1 MB, free: 105.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004679/0.6736, allocations: 1.111 MB / 470.3 MB, free: 104.5 MB / 362.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.0004578/0.6741, allocations: 191.9 kB / 470.4 MB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007846/0.6819, allocations: 5.16 MB / 475.6 MB, free: 99.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.6819, allocations: 4 kB / 475.6 MB, free: 99.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003444/0.6854, allocations: 1.796 MB / 477.4 MB, free: 97.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/0.6886, allocations: 369.8 kB / 477.8 MB, free: 97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.7025, allocations: 9.096 MB / 486.9 MB, free: 87.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002763/0.7053, allocations: 2.572 MB / 489.4 MB, free: 85.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003816/0.7091, allocations: 1.774 MB / 491.2 MB, free: 83.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004917/0.7096, allocations: 212.5 kB / 491.4 MB, free: 83.28 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/0.7096, allocations: 0 / 491.4 MB, free: 83.28 MB / 362.7 MB Notification: Performance of Templates: time 0.05277/0.7624, allocations: 32.9 MB / 0.512 GB, free: 50.38 MB / 362.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.607224493054673]