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.001289/0.001289, allocations: 85.58 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001395/0.001395, allocations: 157.4 kB / 23.95 MB, free: 4.168 MB / 14.72 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.475/1.475, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 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.844e-06/1.844e-06, allocations: 0 / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.573e-05, allocations: 3.25 kB / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01183/0.01186, allocations: 8.996 MB / 334 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009452/0.02131, allocations: 3.623 MB / 337.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.02333, allocations: 68.91 kB / 337.7 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004691/0.02802, allocations: 1.992 MB / 339.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005193/0.03321, allocations: 1.734 MB / 341.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.03493, allocations: 0.6626 MB / 342.1 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005692/0.04062, allocations: 3.745 MB / 345.8 MB, free: 176 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003526/0.04415, allocations: 2.371 MB / 348.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.0473, allocations: 1.89 MB / 350.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.0503, allocations: 1.812 MB / 351.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005558/0.05085, allocations: 260 kB / 352.2 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.05286, allocations: 0.9788 MB / 353.1 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001731/0.05459, allocations: 1.659 MB / 354.8 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.05611, allocations: 1.028 MB / 355.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007339/0.06345, allocations: 5.813 MB / 361.6 MB, free: 284 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.06345, allocations: 4 kB / 361.6 MB, free: 280 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.06346, allocations: 4 kB / 361.7 MB, free: 276 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.06357, allocations: 0 / 361.7 MB, free: 276 kB / 318.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.007959/0.07153, allocations: 4.033 MB / 365.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.07157, allocations: 11.98 kB / 365.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006964/0.07854, allocations: 1.835 MB / 367.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/0.08248, allocations: 1.867 MB / 369.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.08265, allocations: 197 kB / 369.6 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005196/0.08317, allocations: 255.8 kB / 369.8 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.09768, allocations: 8.464 MB / 378.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.09779, allocations: 43.64 kB / 378.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003623/0.09815, allocations: 123.9 kB / 378.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003089/0.1012, allocations: 1.695 MB / 380.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01456/0.1158, allocations: 7.098 MB / 387.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0407/0.1565, allocations: 32.22 MB / 419.5 MB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007829/0.1643, allocations: 2.814 MB / 422.3 MB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.1663, allocations: 1.368 MB / 423.7 MB, free: 444 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006376/0.1727, allocations: 3.45 MB / 427.1 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.1727, allocations: 47.22 kB / 427.2 MB, free: 12.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 3.537e-06/0.1727, allocations: 0 / 427.2 MB, free: 12.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.03722/0.2099, allocations: 11.89 MB / 439 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.2101, allocations: 141.2 kB / 439.2 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007342/0.2174, allocations: 3.509 MB / 442.7 MB, free: 13.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000338/0.2177, allocations: 45.7 kB / 442.7 MB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003045/0.2208, allocations: 2.848 MB / 445.6 MB, free: 10.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.2219, allocations: 0.5389 MB / 446.1 MB, free: 9.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002163/0.224, allocations: 1.072 MB / 447.2 MB, free: 8.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2242, allocations: 305.1 kB / 447.5 MB, free: 8.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00406/0.2282, allocations: 1.705 MB / 449.2 MB, free: 6.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008342/0.2366, allocations: 5.143 MB / 454.3 MB, free: 15.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/0.2507, allocations: 7.42 MB / 461.8 MB, free: 6.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001817/0.2509, allocations: 36 kB / 461.8 MB, free: 6.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.1668/0.4177, allocations: 6.702 MB / 468.5 MB, free: 119.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.4178, allocations: 57.03 kB / 468.6 MB, free: 119.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002485/0.4181, allocations: 125 kB / 468.7 MB, free: 119.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007927/0.4189, allocations: 318.8 kB / 469 MB, free: 119.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004197/0.4231, allocations: 1.255 MB / 470.2 MB, free: 119.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.4255, allocations: 2.348 MB / 472.6 MB, free: 118.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003945/0.4294, allocations: 321 kB / 472.9 MB, free: 118.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007193/0.4302, allocations: 333.3 kB / 473.2 MB, free: 118.4 MB / 430.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.002696/0.4329, allocations: 1.785 MB / 475 MB, free: 118.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005678/0.4334, allocations: 290.3 kB / 475.3 MB, free: 118.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.438, allocations: 2.324 MB / 477.6 MB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.438, allocations: 14.19 kB / 477.6 MB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.438, allocations: 4.281 kB / 477.6 MB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.438, allocations: 4.828 kB / 477.6 MB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00921/0.4472, allocations: 5.18 MB / 482.8 MB, free: 116 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.4472, allocations: 4.375 kB / 482.8 MB, free: 116 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007715/0.448, allocations: 177.1 kB / 483 MB, free: 116 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/0.45, allocations: 0.7132 MB / 483.7 MB, free: 115.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/0.4501, allocations: 23.56 kB / 483.7 MB, free: 115.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004805/0.4549, allocations: 4.707 MB / 488.4 MB, free: 113.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4549, allocations: 0 / 488.4 MB, free: 113.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005781/0.4607, allocations: 4.293 MB / 492.7 MB, free: 111.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000597/0.4613, allocations: 276.8 kB / 493 MB, free: 111.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.4616, allocations: 19.41 kB / 493 MB, free: 111.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.4627, allocations: 109 kB / 493.1 MB, free: 111.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.4629, allocations: 73.61 kB / 493.2 MB, free: 111.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-05/0.463, allocations: 35.88 kB / 493.2 MB, free: 111.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002431/0.4655, allocations: 2.022 MB / 495.3 MB, free: 110.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4655, allocations: 3.812 kB / 495.3 MB, free: 110.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004319/0.4698, allocations: 0.8699 MB / 496.1 MB, free: 110.6 MB / 430.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.0004224/0.4702, allocations: 167 kB / 496.3 MB, free: 110.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005048/0.4752, allocations: 3.909 MB / 0.4885 GB, free: 107.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.4752, allocations: 0 / 0.4885 GB, free: 107.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.4765, allocations: 1.042 MB / 0.4895 GB, free: 106.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.4786, allocations: 335.3 kB / 0.4898 GB, free: 106.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009218/0.4878, allocations: 7.298 MB / 0.497 GB, free: 99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/0.4898, allocations: 2.23 MB / 0.4991 GB, free: 96.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002872/0.4927, allocations: 1.607 MB / 0.5007 GB, free: 95.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/0.4933, allocations: 206.8 kB / 0.5009 GB, free: 94.93 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4933, allocations: 0 / 0.5009 GB, free: 94.93 MB / 430.1 MB Notification: Performance of Templates: time 0.04309/0.5364, allocations: 25.58 MB / 0.5259 GB, free: 69.83 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] 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: 5.969045456498861]