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.0009294/0.0009294, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001676/0.002605, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0008119/0.0008119, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002244, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9592/0.9592, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1435/1.103, allocations: 49.49 MB / 220.7 MB, free: 1.367 MB / 218.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 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.096e-05, allocations: 6.109 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.007758/0.007779, allocations: 10.24 MB / 232.2 MB, free: 5.762 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005656/0.01343, allocations: 3.997 MB / 236.2 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008097/0.01424, allocations: 75.69 kB / 236.3 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.01678, allocations: 2.635 MB / 238.9 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.01928, allocations: 1.839 MB / 240.8 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000908/0.02019, allocations: 0.6938 MB / 241.5 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002714/0.02291, allocations: 3.926 MB / 245.4 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/0.02492, allocations: 2.867 MB / 248.3 MB, free: 5.605 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.02676, allocations: 2.353 MB / 250.6 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.02847, allocations: 2.034 MB / 252.7 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000373/0.02884, allocations: 320 kB / 253 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.03019, allocations: 1.151 MB / 254.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.03128, allocations: 1.757 MB / 255.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009506/0.03223, allocations: 1.024 MB / 256.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.03551, allocations: 4.078 MB / 261 MB, free: 8.855 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.03553, allocations: 4 kB / 261 MB, free: 8.852 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.03553, allocations: 0 / 261 MB, free: 8.852 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.866e-05/0.03562, allocations: 0 / 261 MB, free: 8.852 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.004902/0.04052, allocations: 5.211 MB / 266.2 MB, free: 3.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.04056, allocations: 12.03 kB / 266.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.04312, allocations: 1.082 MB / 267.3 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.0449, allocations: 1.557 MB / 268.8 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.04502, allocations: 246.4 kB / 269.1 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004893/0.04551, allocations: 391.6 kB / 269.5 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005373/0.05088, allocations: 5.154 MB / 274.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.505e-05/0.05095, allocations: 39.61 kB / 274.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/0.0512, allocations: 163.8 kB / 274.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001311/0.05251, allocations: 1.587 MB / 276.4 MB, free: 8.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004047/0.05656, allocations: 2.661 MB / 279.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1376/0.1942, allocations: 31.03 MB / 310.1 MB, free: 21.08 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/0.1986, allocations: 2.163 MB / 312.3 MB, free: 20.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.1991, allocations: 400.9 kB / 312.6 MB, free: 20.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004503/0.2036, allocations: 3.855 MB / 316.5 MB, free: 20.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.2036, allocations: 52.12 kB / 316.6 MB, free: 19.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=152): time 3.507e-06/0.2036, allocations: 0 / 316.6 MB, free: 19.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=159): time 0.01368/0.2173, allocations: 5.28 MB / 321.8 MB, free: 19.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005878/0.2179, allocations: 1.474 MB / 323.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.2204, allocations: 3.066 MB / 326.4 MB, free: 16.72 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.2205, allocations: 48.02 kB / 326.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000959/0.2214, allocations: 3.089 MB / 329.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.2218, allocations: 0.6689 MB / 330.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.2228, allocations: 1.182 MB / 331.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.218e-05/0.2229, allocations: 304.3 kB / 331.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.2243, allocations: 0.8044 MB / 332.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.2265, allocations: 4.598 MB / 337.1 MB, free: 5.582 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005205/0.2317, allocations: 6.47 MB / 343.5 MB, free: 13.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-05/0.2317, allocations: 40 kB / 343.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0116/0.2433, allocations: 4.955 MB / 348.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.372e-05/0.2434, allocations: 64.97 kB / 348.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/0.2436, allocations: 148 kB / 348.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006541/0.2501, allocations: 1.119 MB / 349.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/0.254, allocations: 1.478 MB / 351.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.259, allocations: 3.827 MB / 355.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004779/0.2638, allocations: 279.7 kB / 355.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007342/0.2645, allocations: 336 kB / 355.8 MB, free: 0.9453 MB / 298.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 {(4,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001914/0.2664, allocations: 0.6341 MB / 356.4 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005937/0.267, allocations: 199.8 kB / 356.6 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003368/0.2704, allocations: 1.401 MB / 358 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001738/0.2721, allocations: 0.9703 MB / 359 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.2721, allocations: 4 kB / 359 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.2721, allocations: 7.969 kB / 359 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006572/0.2787, allocations: 4.16 MB / 363.1 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.2787, allocations: 11.98 kB / 363.1 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.2792, allocations: 179.7 kB / 363.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.2797, allocations: 281.8 kB / 363.6 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/0.282, allocations: 1.035 MB / 364.6 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.085e-05/0.2821, allocations: 35.97 kB / 364.7 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003199/0.2853, allocations: 3.549 MB / 368.2 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007231/0.286, allocations: 1.344 MB / 369.6 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002966/0.289, allocations: 2.192 MB / 371.7 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/0.2893, allocations: 24 kB / 371.8 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.2899, allocations: 35.98 kB / 371.8 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.2901, allocations: 100.7 kB / 371.9 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/0.2901, allocations: 31.98 kB / 371.9 MB, free: 200 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001008/0.2911, allocations: 1.099 MB / 373 MB, free: 15.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2911, allocations: 0 / 373 MB, free: 15.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002981/0.2941, allocations: 1.109 MB / 374.1 MB, free: 13.99 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.0003408/0.2945, allocations: 176.1 kB / 374.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003669/0.2981, allocations: 3.072 MB / 377.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000157/0.2983, allocations: 104.1 kB / 377.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.2996, allocations: 0.9856 MB / 378.5 MB, free: 9.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.302, allocations: 2.742 MB / 381.2 MB, free: 6.562 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009625/0.3116, allocations: 7.273 MB / 388.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009777/0.3126, allocations: 1.158 MB / 389.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001085/0.3137, allocations: 451 kB / 390.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000651/0.3143, allocations: 0.5011 MB / 390.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3143, allocations: 0 / 390.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of Templates: time 0.1529/0.4672, allocations: 34.71 MB / 425.3 MB, free: 113.1 MB / 362.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.679825129918754]