Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001705/0.002779, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002531, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9405/0.9405, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08201/1.023, allocations: 53.65 MB / 243.4 MB, free: 15.53 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097e-05/1.212e-05, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.0184/0.01842, allocations: 9.806 MB / 254.5 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.03038, allocations: 3.863 MB / 258.4 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005455/0.03092, allocations: 71.62 kB / 258.4 MB, free: 448 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.03336, allocations: 1.977 MB / 260.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.03576, allocations: 1.707 MB / 262.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.03664, allocations: 0.6236 MB / 262.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003131/0.03977, allocations: 3.665 MB / 266.4 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.04161, allocations: 2.236 MB / 268.7 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.04344, allocations: 2.026 MB / 270.7 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.04543, allocations: 1.742 MB / 272.4 MB, free: 2.355 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.04575, allocations: 256 kB / 272.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.04711, allocations: 0.9945 MB / 273.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.116/0.1631, allocations: 1.492 MB / 275.2 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.1648, allocations: 0.8476 MB / 276 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00422/0.169, allocations: 3.545 MB / 279.6 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.169, allocations: 2.438 kB / 279.6 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.169, allocations: 0 / 279.6 MB, free: 6.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001348/0.1692, allocations: 1.656 kB / 279.6 MB, free: 6.52 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.006811/0.176, allocations: 4.534 MB / 284.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.176, allocations: 9.344 kB / 284.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/0.1795, allocations: 0.9431 MB / 285 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.1816, allocations: 1.467 MB / 286.5 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.1817, allocations: 193 kB / 286.7 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.1821, allocations: 256.7 kB / 286.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004969/0.1871, allocations: 4.226 MB / 291.2 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.528e-05/0.1872, allocations: 44.12 kB / 291.2 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003045/0.1875, allocations: 120.7 kB / 291.3 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001482/0.189, allocations: 1.379 MB / 292.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004002/0.193, allocations: 2.107 MB / 294.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.2098, allocations: 27.43 MB / 322.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.2122, allocations: 1.266 MB / 323.5 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.2125, allocations: 269.1 kB / 323.8 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003196/0.2157, allocations: 2.975 MB / 326.8 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2157, allocations: 42.06 kB / 326.8 MB, free: 6.516 MB / 298.7 MB Notification: Performance of pre-optimization done (n=103): time 3.397e-06/0.2157, allocations: 3.984 kB / 326.8 MB, free: 6.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.005186/0.2209, allocations: 2.659 MB / 329.5 MB, free: 3.871 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.221, allocations: 137 kB / 329.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.2231, allocations: 2.899 MB / 332.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.2231, allocations: 41.7 kB / 332.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.2242, allocations: 2.758 MB / 335.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.2245, allocations: 464.6 kB / 335.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008062/0.2253, allocations: 1.014 MB / 336.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.2254, allocations: 305.1 kB / 337.1 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009003/0.2263, allocations: 0.6152 MB / 337.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/0.2288, allocations: 4.013 MB / 341.7 MB, free: 6.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003854/0.2327, allocations: 5.525 MB / 347.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.906e-05/0.2327, allocations: 36 kB / 347.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003699/0.2364, allocations: 3.587 MB / 350.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.2365, allocations: 63.98 kB / 350.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-05/0.2365, allocations: 132 kB / 351 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.471e-05/0.2366, allocations: 164.8 kB / 351.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/0.2388, allocations: 1.349 MB / 352.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000138/0.2389, allocations: 247 kB / 352.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.2405, allocations: 247.7 kB / 353 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/0.2408, allocations: 294.5 kB / 353.3 MB, free: 9.832 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.001098/0.2419, allocations: 0.5601 MB / 353.9 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.2421, allocations: 174 kB / 354 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006097/0.2427, allocations: 0.4972 MB / 354.5 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.2427, allocations: 8 kB / 354.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2427, allocations: 0 / 354.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2427, allocations: 3.984 kB / 354.5 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.2453, allocations: 2.194 MB / 356.7 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.2453, allocations: 4.203 kB / 356.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.2457, allocations: 159.8 kB / 356.9 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.2459, allocations: 253.9 kB / 357.1 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001509/0.246, allocations: 51.64 kB / 357.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.2461, allocations: 15.98 kB / 357.2 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009032/0.247, allocations: 1.422 MB / 358.6 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.247, allocations: 0 / 358.6 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/0.2479, allocations: 1.22 MB / 359.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.2481, allocations: 23.98 kB / 359.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.2485, allocations: 18.28 kB / 359.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.2486, allocations: 51.91 kB / 359.9 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.2486, allocations: 28.06 kB / 360 MB, free: 3.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008435/0.2495, allocations: 1.026 MB / 361 MB, free: 2.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2495, allocations: 0 / 361 MB, free: 2.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002275/0.2517, allocations: 0.7954 MB / 361.8 MB, free: 1.512 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.0002849/0.252, allocations: 150.9 kB / 361.9 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.2539, allocations: 2.044 MB / 364 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001589/0.254, allocations: 96.91 kB / 364.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004533/0.2545, allocations: 399.8 kB / 364.5 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.2565, allocations: 2.645 MB / 367.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008355/0.2649, allocations: 5.87 MB / 373 MB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008065/0.2657, allocations: 0.9863 MB / 374 MB, free: 5.059 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008627/0.2666, allocations: 431 kB / 374.4 MB, free: 4.633 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/0.2671, allocations: 461.1 kB / 374.8 MB, free: 4.18 MB / 346.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2671, allocations: 0 / 374.8 MB, free: 4.18 MB / 346.7 MB Notification: Performance of Templates: time 0.03281/0.2999, allocations: 20.79 MB / 395.6 MB, free: 15.57 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0165037577971816]