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.002615/0.002615, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002843/0.002843, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.559/1.559, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.282e-06/1.282e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.479e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01374/0.01377, allocations: 9.896 MB / 282.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00799/0.02176, allocations: 3.697 MB / 285.8 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.02295, allocations: 71.62 kB / 285.9 MB, free: 4.086 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004615/0.02756, allocations: 2.083 MB / 287.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004254/0.03182, allocations: 1.742 MB / 289.7 MB, free: 252 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1106/0.1425, allocations: 0.658 MB / 290.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005201/0.1477, allocations: 3.748 MB / 294.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003171/0.1508, allocations: 2.451 MB / 296.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/0.1541, allocations: 1.904 MB / 298.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002774/0.1569, allocations: 1.861 MB / 300.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004948/0.1574, allocations: 258.5 kB / 300.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.1591, allocations: 0.9763 MB / 301.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.1603, allocations: 1.677 MB / 303.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.1614, allocations: 1.031 MB / 304.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.1659, allocations: 5.831 MB / 310.1 MB, free: 8.957 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1659, allocations: 0 / 310.1 MB, free: 8.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.166, allocations: 0 / 310.1 MB, free: 8.957 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.953e-05/0.166, allocations: 6.594 kB / 310.1 MB, free: 8.957 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.006508/0.1726, allocations: 4.731 MB / 314.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1726, allocations: 11.98 kB / 314.8 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005999/0.1786, allocations: 2.184 MB / 317 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/0.1819, allocations: 1.746 MB / 318.8 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.214e-05/0.182, allocations: 190.5 kB / 318.9 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003727/0.1823, allocations: 256.9 kB / 319.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.1931, allocations: 5.641 MB / 324.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.456e-05/0.1932, allocations: 37.2 kB / 324.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003424/0.1935, allocations: 123.7 kB / 325 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003171/0.1967, allocations: 1.702 MB / 326.7 MB, free: 8.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00928/0.206, allocations: 3.048 MB / 329.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05319/0.2592, allocations: 41.7 MB / 371.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006764/0.2659, allocations: 1.678 MB / 373.1 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.2671, allocations: 0.5113 MB / 373.6 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007542/0.2747, allocations: 3.208 MB / 376.8 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.203e-05/0.2748, allocations: 53.52 kB / 376.9 MB, free: 5.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 4.048e-06/0.2748, allocations: 0 / 376.9 MB, free: 5.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.02777/0.3025, allocations: 8.639 MB / 385.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.3026, allocations: 141.2 kB / 385.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006179/0.3088, allocations: 4.019 MB / 389.7 MB, free: 8.859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000159/0.309, allocations: 45.7 kB / 389.7 MB, free: 8.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002997/0.312, allocations: 3.196 MB / 392.9 MB, free: 5.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008369/0.3128, allocations: 0.5818 MB / 393.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002075/0.3149, allocations: 1.362 MB / 394.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002455/0.3151, allocations: 484.7 kB / 395.3 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.3167, allocations: 0.6116 MB / 396 MB, free: 2.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006615/0.3233, allocations: 5.85 MB / 401.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009655/0.3329, allocations: 7.099 MB / 408.9 MB, free: 1.102 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001594/0.3331, allocations: 36 kB / 408.9 MB, free: 1.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01059/0.3437, allocations: 4.769 MB / 413.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.3438, allocations: 63.98 kB / 413.8 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/0.344, allocations: 120 kB / 413.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009099/0.3449, allocations: 347.9 kB / 414.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004278/0.3491, allocations: 1.251 MB / 415.5 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.3522, allocations: 2.472 MB / 418 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003857/0.3561, allocations: 329 kB / 418.3 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007471/0.3568, allocations: 328 kB / 418.6 MB, free: 7.273 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.001764/0.3586, allocations: 0.6903 MB / 419.3 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/0.3592, allocations: 318.1 kB / 419.6 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004189/0.3634, allocations: 1.354 MB / 421 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/0.3634, allocations: 23.98 kB / 421 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.3635, allocations: 7.938 kB / 421 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.3635, allocations: 3.984 kB / 421 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.3762, allocations: 5.028 MB / 426 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.3762, allocations: 8.062 kB / 426 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/0.3771, allocations: 179.7 kB / 426.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/0.3792, allocations: 444.2 kB / 426.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.3794, allocations: 23.98 kB / 426.7 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/0.3844, allocations: 3.023 MB / 429.7 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3844, allocations: 0 / 429.7 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005798/0.3902, allocations: 2.421 MB / 432.1 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008135/0.391, allocations: 278 kB / 432.4 MB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/0.3913, allocations: 16 kB / 432.4 MB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.3925, allocations: 91.86 kB / 432.5 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.3927, allocations: 76.45 kB / 432.5 MB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.3928, allocations: 36 kB / 432.6 MB, free: 9.059 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002985/0.3958, allocations: 1.612 MB / 434.2 MB, free: 7.449 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3958, allocations: 0 / 434.2 MB, free: 7.449 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004315/0.4001, allocations: 0.8701 MB / 435.1 MB, free: 6.582 MB / 394.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.0004839/0.4006, allocations: 167 kB / 435.2 MB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005826/0.4064, allocations: 2.829 MB / 438.1 MB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4064, allocations: 0 / 438.1 MB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.4079, allocations: 0.6799 MB / 438.7 MB, free: 2.883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.4101, allocations: 348.6 kB / 439.1 MB, free: 2.551 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1261/0.5362, allocations: 6.003 MB / 445.1 MB, free: 126 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002804/0.539, allocations: 2.02 MB / 447.1 MB, free: 125.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003427/0.5424, allocations: 1.398 MB / 448.5 MB, free: 125.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00062/0.543, allocations: 200.5 kB / 448.7 MB, free: 125.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.773e-06/0.543, allocations: 0 / 448.7 MB, free: 125.7 MB / 394.7 MB Notification: Performance of Templates: time 0.04523/0.5883, allocations: 25.72 MB / 474.4 MB, free: 113 MB / 394.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.111050852923654]