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.001601/0.001601, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001692/0.001692, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 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 1.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001556/0.001556, allocations: 48.02 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2089, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01178/0.2207, allocations: 8.987 MB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006842/0.2275, allocations: 3.6 MB / 444.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006254/0.2281, allocations: 67.62 kB / 445 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003674/0.2318, allocations: 1.911 MB / 446.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.235, allocations: 1.676 MB / 448.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.2362, allocations: 0.616 MB / 449.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003731/0.24, allocations: 3.365 MB / 452.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.2423, allocations: 2.102 MB / 454.7 MB, free: 296 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.2437, allocations: 1.257 MB / 455.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.2459, allocations: 1.81 MB / 457.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004244/0.2463, allocations: 256 kB / 458 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.2479, allocations: 0.9323 MB / 458.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.2493, allocations: 1.601 MB / 460.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.2507, allocations: 1.332 MB / 461.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006114/0.2568, allocations: 5.823 MB / 467.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2568, allocations: 0 / 467.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2568, allocations: 0 / 467.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.644e-05/0.2569, allocations: 0 / 467.7 MB, free: 3.238 MB / 366.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.007009/0.2639, allocations: 4.026 MB / 471.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2639, allocations: 8.031 kB / 471.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006527/0.2705, allocations: 1.8 MB / 473.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004512/0.275, allocations: 1.872 MB / 475.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.2751, allocations: 188.8 kB / 475.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005266/0.2757, allocations: 255.8 kB / 475.8 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.289, allocations: 8.472 MB / 484.3 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.064e-05/0.2891, allocations: 39.69 kB / 484.3 MB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003379/0.2894, allocations: 127.9 kB / 484.4 MB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002902/0.2923, allocations: 1.699 MB / 486.1 MB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.3049, allocations: 7.098 MB / 493.2 MB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03888/0.3438, allocations: 32.06 MB / 0.513 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007609/0.3514, allocations: 2.734 MB / 0.5157 GB, free: 5.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.3533, allocations: 1.361 MB / 0.517 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006412/0.3597, allocations: 3.294 MB / 0.5202 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.3598, allocations: 55.08 kB / 0.5203 GB, free: 320 kB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.206e-06/0.3598, allocations: 0 / 0.5203 GB, free: 320 kB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02909/0.3889, allocations: 11.53 MB / 0.5315 GB, free: 4.711 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/0.389, allocations: 141.1 kB / 0.5316 GB, free: 4.543 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004401/0.3934, allocations: 3.423 MB / 0.535 GB, free: 1.105 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.3935, allocations: 41.7 kB / 0.535 GB, free: 1.059 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1769/0.5704, allocations: 2.874 MB / 0.5378 GB, free: 101.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005754/0.571, allocations: 0.5403 MB / 0.5384 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/0.5724, allocations: 1.095 MB / 0.5394 GB, free: 101 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.5724, allocations: 306.1 kB / 0.5397 GB, free: 100.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/0.5748, allocations: 1.711 MB / 0.5414 GB, free: 100.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003208/0.578, allocations: 5.133 MB / 0.5464 GB, free: 94.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005151/0.5831, allocations: 7.434 MB / 0.5537 GB, free: 88.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.138e-05/0.5832, allocations: 31.38 kB / 0.5537 GB, free: 88.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007916/0.5911, allocations: 6.71 MB / 0.5603 GB, free: 84.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.067e-05/0.5912, allocations: 56 kB / 0.5603 GB, free: 84.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-05/0.5912, allocations: 120.9 kB / 0.5604 GB, free: 84.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005206/0.5918, allocations: 321.9 kB / 0.5607 GB, free: 84.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003143/0.5949, allocations: 1.248 MB / 0.5619 GB, free: 83.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.5968, allocations: 2.355 MB / 0.5642 GB, free: 80.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.5997, allocations: 293.9 kB / 0.5645 GB, free: 80.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003012/0.6, allocations: 343.2 kB / 0.5649 GB, free: 80.18 MB / 446.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.00174/0.6017, allocations: 1.782 MB / 0.5666 GB, free: 78.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/0.602, allocations: 292 kB / 0.5669 GB, free: 78.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003819/0.6058, allocations: 2.327 MB / 0.5691 GB, free: 76.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.6058, allocations: 3.984 kB / 0.5691 GB, free: 76.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6058, allocations: 4 kB / 0.5692 GB, free: 76.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.6062, allocations: 253.2 kB / 0.5694 GB, free: 76.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.6065, allocations: 19.98 kB / 0.5694 GB, free: 76.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009807/0.6075, allocations: 67.91 kB / 0.5695 GB, free: 76.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.6076, allocations: 84.42 kB / 0.5696 GB, free: 76.13 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004039/0.6117, allocations: 2.818 MB / 0.5723 GB, free: 73.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003199/0.6149, allocations: 3.645 MB / 0.5759 GB, free: 69.66 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008041/0.6157, allocations: 0.8387 MB / 0.5767 GB, free: 68.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001982/0.6176, allocations: 1.959 MB / 0.5786 GB, free: 66.87 MB / 446.1 MB Notification: Performance of Backend: time 2.9e-07/0.6176, allocations: 0 / 0.5786 GB, free: 66.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00513/0.6228, allocations: 3.349 MB / 0.5819 GB, free: 63.58 MB / 446.1 MB Notification: Performance of SimCode: time 0.008313/0.6311, allocations: 7.707 MB / 0.5894 GB, free: 55.83 MB / 446.1 MB Notification: Performance of Templates: time 0.05429/0.6854, allocations: 39.31 MB / 0.6278 GB, free: 16.97 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.091742980002891]