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.001772/0.001772, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.00253/0.00253, allocations: 212.2 kB / 22.99 MB, free: 5.609 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.434/1.434, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.002664/0.002664, allocations: 67.88 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3227, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01345/0.3362, allocations: 10.74 MB / 440.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008872/0.345, allocations: 3.919 MB / 444.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.347, allocations: 63.81 kB / 444.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005172/0.3521, allocations: 2.262 MB / 446.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006027/0.3582, allocations: 1.844 MB / 448.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.3603, allocations: 0.7097 MB / 449.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00715/0.3674, allocations: 4.316 MB / 453.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004145/0.3716, allocations: 2.215 MB / 455.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.3746, allocations: 1.46 MB / 457.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003887/0.3785, allocations: 2.262 MB / 459.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.3796, allocations: 296 kB / 459.9 MB, free: 9.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.3822, allocations: 0.9479 MB / 460.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002584/0.3847, allocations: 1.846 MB / 462.7 MB, free: 6.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002735/0.3875, allocations: 2.081 MB / 464.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007972/0.3955, allocations: 6.38 MB / 471.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3955, allocations: 0 / 471.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3955, allocations: 0 / 471.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001629/0.3956, allocations: 0 / 471.1 MB, free: 14.01 MB / 382.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.009092/0.4047, allocations: 4.681 MB / 475.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4048, allocations: 8.031 kB / 475.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007084/0.4118, allocations: 1.948 MB / 477.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004752/0.4166, allocations: 2.25 MB / 480 MB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.4168, allocations: 229.6 kB / 480.3 MB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006899/0.4175, allocations: 291.8 kB / 480.5 MB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01746/0.435, allocations: 9.655 MB / 490.2 MB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.4351, allocations: 51.58 kB / 490.2 MB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004167/0.4355, allocations: 143.8 kB / 490.4 MB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003022/0.4385, allocations: 1.919 MB / 492.3 MB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01583/0.4543, allocations: 7.645 MB / 500 MB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04501/0.4994, allocations: 37.69 MB / 0.525 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006602/0.506, allocations: 2.788 MB / 0.5278 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.5072, allocations: 0.7952 MB / 0.5285 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005884/0.5131, allocations: 3.855 MB / 0.5323 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.5132, allocations: 51.16 kB / 0.5324 GB, free: 1.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 3.116e-06/0.5132, allocations: 0 / 0.5324 GB, free: 1.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=152): time 0.2158/0.729, allocations: 9.261 MB / 0.5414 GB, free: 98.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.729, allocations: 154.4 kB / 0.5415 GB, free: 98.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/0.7332, allocations: 3.922 MB / 0.5454 GB, free: 97.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.203e-05/0.7333, allocations: 49.61 kB / 0.5454 GB, free: 97.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001201/0.7345, allocations: 3.206 MB / 0.5486 GB, free: 95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003579/0.7348, allocations: 0.6314 MB / 0.5492 GB, free: 94.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009744/0.7358, allocations: 1.182 MB / 0.5503 GB, free: 93.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.7358, allocations: 305 kB / 0.5506 GB, free: 93.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/0.7377, allocations: 1.58 MB / 0.5522 GB, free: 93.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/0.7406, allocations: 5.368 MB / 0.5574 GB, free: 87.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005177/0.7457, allocations: 7.556 MB / 0.5648 GB, free: 79.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.48e-05/0.7458, allocations: 36 kB / 0.5648 GB, free: 79.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.007854/0.7536, allocations: 6.677 MB / 0.5713 GB, free: 72.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.7537, allocations: 64 kB / 0.5714 GB, free: 72.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.351e-05/0.7538, allocations: 139.7 kB / 0.5715 GB, free: 72.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.7539, allocations: 180 kB / 0.5717 GB, free: 72.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003645/0.7575, allocations: 1.388 MB / 0.5731 GB, free: 71.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000167/0.7577, allocations: 263 kB / 0.5733 GB, free: 70.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00394/0.7617, allocations: 292.5 kB / 0.5736 GB, free: 70.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000394/0.762, allocations: 367.4 kB / 0.5739 GB, free: 70.3 MB / 446.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.002142/0.7642, allocations: 1.971 MB / 0.5759 GB, free: 68.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/0.7646, allocations: 353.7 kB / 0.5762 GB, free: 67.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005366/0.7652, allocations: 401.3 kB / 0.5766 GB, free: 67.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.7652, allocations: 20 kB / 0.5766 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/0.7652, allocations: 3.938 kB / 0.5766 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.7652, allocations: 11.53 kB / 0.5766 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006698/0.7719, allocations: 5.753 MB / 0.5822 GB, free: 61.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.7719, allocations: 16 kB / 0.5822 GB, free: 61.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008558/0.7728, allocations: 279.6 kB / 0.5825 GB, free: 61.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/0.7728, allocations: 24 kB / 0.5825 GB, free: 61.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.962e-05/0.7729, allocations: 52 kB / 0.5826 GB, free: 61.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-05/0.7729, allocations: 35.86 kB / 0.5826 GB, free: 61.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/0.7729, allocations: 28.34 kB / 0.5826 GB, free: 61.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.7757, allocations: 3.255 MB / 0.5858 GB, free: 57.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006329/0.7764, allocations: 426.6 kB / 0.5862 GB, free: 57.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/0.7767, allocations: 51.98 kB / 0.5863 GB, free: 57.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/0.7777, allocations: 59.97 kB / 0.5863 GB, free: 57.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.7778, allocations: 154.8 kB / 0.5865 GB, free: 56.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/0.7779, allocations: 75.92 kB / 0.5866 GB, free: 56.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002854/0.7807, allocations: 2.426 MB / 0.5889 GB, free: 54.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7807, allocations: 0 / 0.5889 GB, free: 54.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00419/0.7849, allocations: 0.8475 MB / 0.5898 GB, free: 53.54 MB / 446.1 MB 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.0003224/0.7852, allocations: 200.1 kB / 0.5899 GB, free: 53.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004371/0.7896, allocations: 3.557 MB / 0.5934 GB, free: 49.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/0.7896, allocations: 4 kB / 0.5934 GB, free: 49.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007765/0.7904, allocations: 0.691 MB / 0.5941 GB, free: 49.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.7929, allocations: 455.5 kB / 0.5945 GB, free: 48.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.8032, allocations: 8.641 MB / 0.603 GB, free: 39.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002334/0.8056, allocations: 3.086 MB / 0.606 GB, free: 36.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003231/0.8088, allocations: 1.764 MB / 0.6077 GB, free: 34.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/0.8092, allocations: 231.4 kB / 0.6079 GB, free: 34.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.8092, allocations: 0 / 0.6079 GB, free: 34.64 MB / 446.1 MB Notification: Performance of Templates: time 0.04567/0.8549, allocations: 25.37 MB / 0.6327 GB, free: 9.469 MB / 446.1 MB " [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.184768345206976]