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.001536/0.001536, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001741/0.001741, allocations: 162.8 kB / 25.61 MB, free: 8.586 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.9637/0.9637, allocations: 177 MB / 205.9 MB, free: 4.441 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.603e-06/1.603e-06, allocations: 0 / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.314e-05, allocations: 2.312 kB / 274.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01192/0.01194, allocations: 9.666 MB / 283.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006275/0.01822, allocations: 3.689 MB / 287.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.0194, allocations: 67.69 kB / 287.5 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.02197, allocations: 2.059 MB / 289.6 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.02457, allocations: 1.738 MB / 291.3 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00091/0.02548, allocations: 0.6625 MB / 292 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003042/0.02853, allocations: 3.758 MB / 295.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.0309, allocations: 2.462 MB / 298.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.03281, allocations: 1.941 MB / 300.2 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.03448, allocations: 1.839 MB / 302 MB, free: 8.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003403/0.03482, allocations: 256 kB / 302.3 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.03605, allocations: 0.9672 MB / 303.2 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.03734, allocations: 1.671 MB / 304.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009648/0.03831, allocations: 1.028 MB / 305.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.04207, allocations: 3.798 MB / 309.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.04207, allocations: 8 kB / 309.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.04208, allocations: 0 / 309.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.914e-05/0.04218, allocations: 0 / 309.7 MB, free: 0.4922 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.005358/0.04753, allocations: 4.25 MB / 314 MB, free: 12.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.04757, allocations: 8.031 kB / 314 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.05053, allocations: 1.282 MB / 315.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.05251, allocations: 1.601 MB / 316.9 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.05262, allocations: 193 kB / 317.1 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/0.05296, allocations: 251.8 kB / 317.3 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006561/0.05952, allocations: 4.769 MB / 322.1 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.358e-05/0.05961, allocations: 43.62 kB / 322.1 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/0.05988, allocations: 123.9 kB / 322.2 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001333/0.06121, allocations: 1.469 MB / 323.7 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004514/0.06572, allocations: 2.08 MB / 325.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1533/0.2191, allocations: 38.42 MB / 364.2 MB, free: 48.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/0.223, allocations: 1.333 MB / 365.5 MB, free: 48.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.2235, allocations: 338.7 kB / 365.9 MB, free: 48.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004517/0.228, allocations: 3.243 MB / 369.1 MB, free: 47.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.2281, allocations: 45.77 kB / 369.2 MB, free: 47.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=103): time 2.916e-06/0.2281, allocations: 1.219 kB / 369.2 MB, free: 47.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.01504/0.2431, allocations: 3.123 MB / 372.3 MB, free: 46.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.2432, allocations: 136.5 kB / 372.4 MB, free: 46.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006118/0.2493, allocations: 3.243 MB / 375.7 MB, free: 45.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.2493, allocations: 42.02 kB / 375.7 MB, free: 45.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.2507, allocations: 3.104 MB / 378.8 MB, free: 44.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00337/0.254, allocations: 481.3 kB / 379.3 MB, free: 43.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.2551, allocations: 1.194 MB / 380.5 MB, free: 43.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.2551, allocations: 476.8 kB / 380.9 MB, free: 43.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008545/0.256, allocations: 448 kB / 381.4 MB, free: 43.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005392/0.2614, allocations: 5.706 MB / 387.1 MB, free: 36.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006877/0.2682, allocations: 6.758 MB / 393.8 MB, free: 29.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.829e-05/0.2683, allocations: 36.06 kB / 393.9 MB, free: 29.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.009375/0.2777, allocations: 4.22 MB / 398.1 MB, free: 25.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.2777, allocations: 63.94 kB / 398.2 MB, free: 25.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.07e-05/0.2778, allocations: 124 kB / 398.3 MB, free: 25.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.865e-05/0.2779, allocations: 164 kB / 398.4 MB, free: 25.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.2797, allocations: 1.221 MB / 399.7 MB, free: 24.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001121/0.2798, allocations: 244.5 kB / 399.9 MB, free: 23.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.2818, allocations: 252.6 kB / 400.1 MB, free: 23.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/0.282, allocations: 292 kB / 400.4 MB, free: 23.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (667): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000828/0.2829, allocations: 0.6107 MB / 401 MB, free: 22.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.2832, allocations: 306.1 kB / 401.3 MB, free: 22.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006682/0.2838, allocations: 0.5547 MB / 401.9 MB, free: 21.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.2839, allocations: 12 kB / 401.9 MB, free: 21.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.2839, allocations: 4 kB / 401.9 MB, free: 21.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.2839, allocations: 7.484 kB / 401.9 MB, free: 21.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.2871, allocations: 2.392 MB / 404.3 MB, free: 19.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.2871, allocations: 0 / 404.3 MB, free: 19.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.2874, allocations: 127.8 kB / 404.4 MB, free: 19.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.2876, allocations: 51.8 kB / 404.5 MB, free: 19.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.2876, allocations: 16 kB / 404.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006987/0.2883, allocations: 1.788 MB / 406.3 MB, free: 17.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2883, allocations: 11.88 kB / 406.3 MB, free: 17.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.2894, allocations: 1.452 MB / 407.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.2897, allocations: 269.3 kB / 408 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.2899, allocations: 16 kB / 408 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.2903, allocations: 16 kB / 408 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.2904, allocations: 55.84 kB / 408.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.2904, allocations: 31.97 kB / 408.1 MB, free: 15.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008812/0.2913, allocations: 1.28 MB / 409.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2913, allocations: 0 / 409.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002919/0.2942, allocations: 0.785 MB / 410.2 MB, free: 13.31 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003066/0.2945, allocations: 159 kB / 410.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002365/0.2969, allocations: 2.1 MB / 412.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.2969, allocations: 4 kB / 412.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.2973, allocations: 441.4 kB / 412.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.2985, allocations: 334.6 kB / 413.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006377/0.3049, allocations: 5.787 MB / 419 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.3056, allocations: 0.9969 MB / 420 MB, free: 3.426 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009749/0.3066, allocations: 428.9 kB / 420.4 MB, free: 3.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/0.3071, allocations: 0.4942 MB / 420.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of SimCode: time 1.643e-06/0.3071, allocations: 0 / 420.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of Templates: time 0.03452/0.3416, allocations: 22.38 MB / 443.3 MB, free: 12.61 MB / 362.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.7996605918742716]