Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.001318/0.001318, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.002017/0.002017, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.526/1.526, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.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.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 59.91 kB / 373.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1024, allocations: 53.33 MB / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.1998/0.3022, allocations: 10.7 MB / 437.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008975/0.3112, allocations: 3.908 MB / 441.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/0.313, allocations: 62.66 kB / 441.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003952/0.3169, allocations: 2.258 MB / 444.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004951/0.3219, allocations: 1.843 MB / 445.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.3236, allocations: 0.714 MB / 446.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006267/0.3298, allocations: 4.308 MB / 451 MB, free: 192 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003479/0.3333, allocations: 2.499 MB / 453.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002889/0.3362, allocations: 1.471 MB / 454.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003513/0.3397, allocations: 2.261 MB / 457.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00071/0.3404, allocations: 292.8 kB / 457.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.3425, allocations: 0.9446 MB / 458.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002014/0.3446, allocations: 1.845 MB / 460.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002305/0.3469, allocations: 2.082 MB / 462.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008491/0.3554, allocations: 6.376 MB / 468.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3554, allocations: 0 / 468.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3554, allocations: 0 / 468.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002436/0.3556, allocations: 4 kB / 468.7 MB, free: 5.625 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: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.01033/0.3659, allocations: 4.692 MB / 473.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.366, allocations: 9.562 kB / 473.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007654/0.3736, allocations: 1.942 MB / 475.4 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004546/0.3782, allocations: 2.247 MB / 477.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.3784, allocations: 229.6 kB / 477.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005674/0.3789, allocations: 291.8 kB / 478.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01783/0.3968, allocations: 9.659 MB / 487.8 MB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/0.3969, allocations: 43.64 kB / 487.8 MB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005241/0.3974, allocations: 151.8 kB / 488 MB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003158/0.4006, allocations: 1.911 MB / 489.9 MB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.418, allocations: 7.653 MB / 497.5 MB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05526/0.4733, allocations: 37.68 MB / 0.5227 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007514/0.4808, allocations: 2.79 MB / 0.5254 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.4822, allocations: 0.7884 MB / 0.5262 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00668/0.4889, allocations: 3.863 MB / 0.5299 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.489, allocations: 47.16 kB / 0.53 GB, free: 10.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 3.457e-06/0.489, allocations: 4 kB / 0.53 GB, free: 10.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=152): time 0.02561/0.5146, allocations: 9.269 MB / 0.539 GB, free: 1.328 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.5147, allocations: 149.5 kB / 0.5392 GB, free: 1.152 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00712/0.5218, allocations: 3.925 MB / 0.543 GB, free: 13.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.522, allocations: 45.7 kB / 0.5431 GB, free: 13.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002844/0.5248, allocations: 3.201 MB / 0.5462 GB, free: 9.965 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007822/0.5256, allocations: 0.632 MB / 0.5468 GB, free: 9.328 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001613/0.5272, allocations: 1.179 MB / 0.548 GB, free: 8.137 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5274, allocations: 309.1 kB / 0.5482 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002641/0.53, allocations: 1.585 MB / 0.5498 GB, free: 6.242 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005678/0.5357, allocations: 5.367 MB / 0.555 GB, free: 14.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009439/0.5451, allocations: 7.56 MB / 0.5624 GB, free: 5.543 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/0.5452, allocations: 36 kB / 0.5625 GB, free: 5.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01346/0.5587, allocations: 6.685 MB / 0.569 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.983e-05/0.5588, allocations: 66.34 kB / 0.569 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001675/0.5589, allocations: 132 kB / 0.5692 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.5591, allocations: 176 kB / 0.5693 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00424/0.5634, allocations: 1.393 MB / 0.5707 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002085/0.5636, allocations: 259 kB / 0.5709 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/0.5673, allocations: 288.2 kB / 0.5712 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004737/0.5678, allocations: 364 kB / 0.5716 GB, free: 12.17 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (746): * Single equations (assignments): 743 * 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.003287/0.5711, allocations: 1.986 MB / 0.5735 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006085/0.5717, allocations: 349.7 kB / 0.5738 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/0.5724, allocations: 397.3 kB / 0.5742 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/0.5724, allocations: 23.92 kB / 0.5742 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.5724, allocations: 0 / 0.5742 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.5725, allocations: 7.984 kB / 0.5742 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00928/0.5817, allocations: 5.761 MB / 0.5799 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/0.5818, allocations: 16 kB / 0.5799 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009943/0.5828, allocations: 275.5 kB / 0.5802 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.91e-05/0.5828, allocations: 35.92 kB / 0.5802 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.878e-05/0.5829, allocations: 44 kB / 0.5802 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.157e-05/0.5829, allocations: 36.39 kB / 0.5803 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.259e-05/0.5829, allocations: 35.88 kB / 0.5803 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/0.5872, allocations: 3.249 MB / 0.5835 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009639/0.5882, allocations: 418.6 kB / 0.5839 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003361/0.5885, allocations: 51.98 kB / 0.5839 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.5897, allocations: 59.95 kB / 0.584 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.5899, allocations: 151.4 kB / 0.5841 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.59, allocations: 68.81 kB / 0.5842 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004264/0.5943, allocations: 2.426 MB / 0.5866 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5943, allocations: 0 / 0.5866 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005109/0.5994, allocations: 0.8553 MB / 0.5874 GB, free: 11.36 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * 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 (142): * Single equations (assignments): 139 * 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 Backend phase and start with SimCode phase: time 0.0004214/0.5998, allocations: 198.6 kB / 0.5876 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006232/0.606, allocations: 3.546 MB / 0.591 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.6061, allocations: 4 kB / 0.591 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6071, allocations: 0.7023 MB / 0.5917 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.6098, allocations: 459.2 kB / 0.5922 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.6241, allocations: 8.627 MB / 0.6006 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003513/0.6277, allocations: 3.099 MB / 0.6036 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004197/0.6319, allocations: 1.76 MB / 0.6053 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/0.6324, allocations: 235.4 kB / 0.6056 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.6324, allocations: 0 / 0.6056 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of Templates: time 0.2607/0.8931, allocations: 24.12 MB / 0.6291 GB, free: 158.9 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringMassSystem/SpringMassSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.255484020337462]