Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001017/0.001017, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9348/0.9348, allocations: 177 MB / 205.2 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.588e-05, allocations: 6.312 kB / 273 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.008472/0.008497, allocations: 9.919 MB / 282.9 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006078/0.01458, allocations: 3.713 MB / 286.6 MB, free: 4.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.01577, allocations: 63.69 kB / 286.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002584/0.01835, allocations: 2.091 MB / 288.8 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.02135, allocations: 1.746 MB / 290.5 MB, free: 100 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1132/0.1346, allocations: 0.6482 MB / 291.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004124/0.1387, allocations: 3.745 MB / 294.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.1415, allocations: 2.455 MB / 297.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.1442, allocations: 1.9 MB / 299.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.1464, allocations: 1.86 MB / 301.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000576/0.1469, allocations: 259.4 kB / 301.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.1482, allocations: 0.9774 MB / 302.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009545/0.1492, allocations: 1.676 MB / 304 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.1502, allocations: 1.04 MB / 305.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.1532, allocations: 3.802 MB / 308.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1532, allocations: 0 / 308.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1532, allocations: 1.594 kB / 308.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001399/0.1534, allocations: 0 / 308.9 MB, free: 10.37 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.004398/0.1578, allocations: 4.378 MB / 313.3 MB, free: 7.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1578, allocations: 11.98 kB / 313.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/0.1613, allocations: 2.187 MB / 315.5 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.163, allocations: 1.729 MB / 317.2 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-05/0.1631, allocations: 191.1 kB / 317.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/0.1633, allocations: 255.1 kB / 317.6 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005424/0.1687, allocations: 5.277 MB / 322.9 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.356e-05/0.1688, allocations: 38.14 kB / 322.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/0.169, allocations: 125.4 kB / 323.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001682/0.1707, allocations: 1.698 MB / 324.8 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005657/0.1764, allocations: 2.768 MB / 327.5 MB, free: 8.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02333/0.1997, allocations: 38.61 MB / 366.1 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/0.2033, allocations: 1.608 MB / 367.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/0.2039, allocations: 0.4916 MB / 368.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004282/0.2082, allocations: 3.161 MB / 371.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.2082, allocations: 61.12 kB / 371.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 4.098e-06/0.2082, allocations: 0 / 371.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.02019/0.2284, allocations: 8.484 MB / 380 MB, free: 3.336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.2285, allocations: 141.2 kB / 380.1 MB, free: 3.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003915/0.2324, allocations: 3.18 MB / 383.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.829e-05/0.2325, allocations: 41.7 kB / 383.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00185/0.2343, allocations: 3.012 MB / 386.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004994/0.2348, allocations: 0.5521 MB / 386.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.2361, allocations: 1.171 MB / 388 MB, free: 11.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2362, allocations: 478.8 kB / 388.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.2374, allocations: 0.5524 MB / 389.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/0.2413, allocations: 5.621 MB / 394.7 MB, free: 2.238 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005922/0.2472, allocations: 6.837 MB / 401.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.889e-05/0.2473, allocations: 32 kB / 401.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007346/0.2546, allocations: 4.653 MB / 406.2 MB, free: 4.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.2547, allocations: 63.94 kB / 406.3 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/0.2548, allocations: 120 kB / 406.4 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/0.2555, allocations: 344.1 kB / 406.7 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/0.2584, allocations: 1.248 MB / 408 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.2603, allocations: 2.427 MB / 410.4 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/0.2631, allocations: 319.6 kB / 410.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003802/0.2635, allocations: 335.9 kB / 411 MB, free: 15.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[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],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001151/0.2646, allocations: 0.606 MB / 411.6 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/0.2651, allocations: 318.1 kB / 412 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.2678, allocations: 1.315 MB / 413.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.2678, allocations: 20 kB / 413.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.2678, allocations: 7.938 kB / 413.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.2678, allocations: 3.984 kB / 413.3 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006334/0.2742, allocations: 4.199 MB / 417.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.2742, allocations: 4.062 kB / 417.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/0.2746, allocations: 171.9 kB / 417.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.2757, allocations: 455.4 kB / 418.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-05/0.2758, allocations: 19.98 kB / 418.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002576/0.2784, allocations: 2.914 MB / 421.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2784, allocations: 0 / 421.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003018/0.2814, allocations: 2.291 MB / 423.3 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.2819, allocations: 270 kB / 423.6 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.2821, allocations: 28.06 kB / 423.6 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.2827, allocations: 95.84 kB / 423.7 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.2828, allocations: 64.53 kB / 423.8 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.2829, allocations: 41.23 kB / 423.8 MB, free: 2.469 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001605/0.2845, allocations: 1.35 MB / 425.2 MB, free: 1.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2845, allocations: 0 / 425.2 MB, free: 1.121 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002847/0.2873, allocations: 0.8787 MB / 426.1 MB, free: 248 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003737/0.2877, allocations: 157.8 kB / 426.2 MB, free: 84 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00372/0.2914, allocations: 2.566 MB / 428.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2914, allocations: 0 / 428.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008543/0.2923, allocations: 0.6205 MB / 429.4 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.2937, allocations: 336.8 kB / 429.7 MB, free: 12.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007811/0.3015, allocations: 5.951 MB / 435.7 MB, free: 6.531 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000878/0.3024, allocations: 1.014 MB / 436.7 MB, free: 5.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002071/0.3044, allocations: 1.396 MB / 438.1 MB, free: 4.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/0.3049, allocations: 200.5 kB / 438.3 MB, free: 3.902 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3049, allocations: 0 / 438.3 MB, free: 3.902 MB / 394.7 MB Notification: Performance of Templates: time 0.1347/0.4396, allocations: 25.74 MB / 464 MB, free: 128.9 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.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.756490796804428]