Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 100.7 kB / 20.96 MB, free: 484 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 149.8 kB / 24.25 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 267.3 MB, free: 10.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.457e-05, allocations: 2.312 kB / 267.3 MB, free: 10.18 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01204/0.01207, allocations: 9.005 MB / 276.3 MB, free: 1.125 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.008465/0.02053, allocations: 3.615 MB / 279.9 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.02263, allocations: 67.69 kB / 280 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004896/0.02752, allocations: 2.02 MB / 282 MB, free: 11.4 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005701/0.03322, allocations: 1.773 MB / 283.8 MB, free: 9.621 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.03506, allocations: 0.6664 MB / 284.5 MB, free: 8.953 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005253/0.04032, allocations: 3.69 MB / 288.2 MB, free: 5.258 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003193/0.04351, allocations: 2.454 MB / 290.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003091/0.0466, allocations: 1.91 MB / 292.5 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003399/0.05, allocations: 1.812 MB / 294.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000806/0.05081, allocations: 260 kB / 294.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.05317, allocations: 0.9906 MB / 295.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.05526, allocations: 1.679 MB / 297.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001749/0.05701, allocations: 1.04 MB / 298.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008739/0.06575, allocations: 5.867 MB / 304.2 MB, free: 5.156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.06575, allocations: 0 / 304.2 MB, free: 5.156 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.06575, allocations: 0 / 304.2 MB, free: 5.156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002105/0.06596, allocations: 0 / 304.2 MB, free: 5.156 MB / 286.1 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.009953/0.07592, allocations: 4.069 MB / 308.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.07597, allocations: 12.03 kB / 308.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1374/0.2134, allocations: 2.232 MB / 310.5 MB, free: 47.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/0.2172, allocations: 1.88 MB / 312.4 MB, free: 47.29 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.2174, allocations: 195.8 kB / 312.6 MB, free: 47.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004942/0.2179, allocations: 250.3 kB / 312.8 MB, free: 47.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/0.2297, allocations: 8.452 MB / 321.2 MB, free: 43.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.813e-05/0.2298, allocations: 44.48 kB / 321.3 MB, free: 43.12 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002943/0.2301, allocations: 132.3 kB / 321.4 MB, free: 43.06 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002254/0.2324, allocations: 1.696 MB / 323.1 MB, free: 42.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.2426, allocations: 7.072 MB / 330.2 MB, free: 34.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02757/0.2701, allocations: 32.29 MB / 362.5 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006305/0.2764, allocations: 2.802 MB / 365.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.2784, allocations: 1.369 MB / 366.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006007/0.2844, allocations: 3.463 MB / 370.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.2844, allocations: 43.22 kB / 370.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=121): time 3.297e-06/0.2844, allocations: 0 / 370.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=129): time 0.03124/0.3157, allocations: 11.9 MB / 382.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.3158, allocations: 149.2 kB / 382.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/0.3209, allocations: 3.51 MB / 385.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002393/0.3211, allocations: 41.7 kB / 385.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002191/0.3233, allocations: 2.859 MB / 388.6 MB, free: 7.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006659/0.324, allocations: 0.5351 MB / 389.1 MB, free: 7.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/0.3255, allocations: 1.072 MB / 390.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3256, allocations: 301.1 kB / 390.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/0.3284, allocations: 1.709 MB / 392.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006371/0.3348, allocations: 5.127 MB / 397.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.3449, allocations: 7.424 MB / 404.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/0.345, allocations: 36 kB / 404.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01297/0.358, allocations: 6.995 MB / 411.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.238e-05/0.3581, allocations: 56 kB / 411.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001433/0.3582, allocations: 124.9 kB / 412 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006628/0.3589, allocations: 320.7 kB / 412.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00398/0.3629, allocations: 1.244 MB / 413.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.3657, allocations: 2.355 MB / 415.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/0.3693, allocations: 315.6 kB / 416.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006317/0.37, allocations: 336 kB / 416.5 MB, free: 8.352 MB / 350.1 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.003092/0.3731, allocations: 1.795 MB / 418.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008235/0.3739, allocations: 318.2 kB / 418.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004956/0.3788, allocations: 2.316 MB / 420.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.079e-05/0.3789, allocations: 20 kB / 421 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3789, allocations: 4 kB / 421 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.3789, allocations: 11.97 kB / 421 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.3905, allocations: 5.171 MB / 426.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.3905, allocations: 4 kB / 426.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009185/0.3914, allocations: 167.8 kB / 426.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/0.3939, allocations: 0.7154 MB / 427 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.3941, allocations: 20 kB / 427.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007584/0.4017, allocations: 4.711 MB / 431.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.4017, allocations: 4 kB / 431.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.4127, allocations: 4.325 MB / 436.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.4139, allocations: 290 kB / 436.4 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007482/0.4147, allocations: 16 kB / 436.4 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/0.4167, allocations: 91.86 kB / 436.5 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/0.4172, allocations: 72.52 kB / 436.6 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.4173, allocations: 32 kB / 436.6 MB, free: 4.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005215/0.4225, allocations: 2.034 MB / 438.6 MB, free: 2.039 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4225, allocations: 0 / 438.6 MB, free: 2.039 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.006386/0.4289, allocations: 0.8944 MB / 439.5 MB, free: 1.145 MB / 366.1 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.0007397/0.4297, allocations: 178.9 kB / 439.7 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007552/0.4372, allocations: 3.896 MB / 443.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.4372, allocations: 0 / 443.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.4391, allocations: 1.033 MB / 444.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.4415, allocations: 338.8 kB / 444.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.4556, allocations: 7.429 MB / 452.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003197/0.4588, allocations: 2.232 MB / 454.6 MB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003926/0.4627, allocations: 1.619 MB / 456.2 MB, free: 328 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006571/0.4634, allocations: 192.5 kB / 456.4 MB, free: 136 kB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4634, allocations: 0 / 456.4 MB, free: 136 kB / 382.1 MB Notification: Performance of Templates: time 0.1686/0.632, allocations: 25.89 MB / 482.3 MB, free: 115.2 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.935561254620552]