Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.00098/0.00098, allocations: 91.61 kB / 22.19 MB, free: 2.383 MB / 18.57 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.00161/0.00161, allocations: 162.1 kB / 25.44 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9817/0.9817, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.498e-05/3.673e-05, allocations: 2.281 kB / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.008235/0.008272, allocations: 9.426 MB / 309.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007214/0.01549, allocations: 3.698 MB / 312.8 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.01733, allocations: 75.62 kB / 312.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003042/0.02038, allocations: 2.3 MB / 315.2 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.02475, allocations: 1.948 MB / 317.2 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.02616, allocations: 0.7836 MB / 317.9 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005509/0.03167, allocations: 4.892 MB / 322.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004888/0.03655, allocations: 2.965 MB / 325.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005767/0.04232, allocations: 2.307 MB / 328.1 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004424/0.04674, allocations: 2.389 MB / 330.5 MB, free: 7.965 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001398/0.04814, allocations: 304 kB / 330.8 MB, free: 7.668 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.05048, allocations: 0.901 MB / 331.7 MB, free: 6.766 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002339/0.05282, allocations: 1.963 MB / 333.7 MB, free: 4.797 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.05543, allocations: 1.23 MB / 334.9 MB, free: 3.562 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008447/0.06388, allocations: 6.479 MB / 341.4 MB, free: 13.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.06389, allocations: 3.938 kB / 341.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.06389, allocations: 0 / 341.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003046/0.0642, allocations: 0 / 341.4 MB, free: 13.05 MB / 330.7 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.01117/0.07537, allocations: 4.734 MB / 346.1 MB, free: 8.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.07542, allocations: 11.98 kB / 346.1 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004329/0.07975, allocations: 1.991 MB / 348.1 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003727/0.08348, allocations: 2.272 MB / 350.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.08363, allocations: 229.6 kB / 350.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003998/0.08403, allocations: 291.8 kB / 350.9 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1844/0.2684, allocations: 9.671 MB / 360.6 MB, free: 53.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002033/0.2686, allocations: 51.3 kB / 360.6 MB, free: 53.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003692/0.269, allocations: 143.2 kB / 360.7 MB, free: 53.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002583/0.2716, allocations: 1.919 MB / 362.7 MB, free: 53.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01388/0.2855, allocations: 7.634 MB / 370.3 MB, free: 50.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03117/0.3166, allocations: 35.45 MB / 405.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.3206, allocations: 2.429 MB / 408.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007617/0.3213, allocations: 0.7949 MB / 409 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004241/0.3256, allocations: 2.965 MB / 411.9 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3256, allocations: 43.22 kB / 412 MB, free: 8.883 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 6.863e-06/0.3256, allocations: 0 / 412 MB, free: 8.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=152): time 0.01439/0.34, allocations: 9.559 MB / 421.5 MB, free: 15.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.3401, allocations: 153.4 kB / 421.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004506/0.3446, allocations: 3.939 MB / 425.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002419/0.3449, allocations: 45.7 kB / 425.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002057/0.3469, allocations: 3.211 MB / 428.9 MB, free: 8.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006417/0.3476, allocations: 0.6242 MB / 429.5 MB, free: 7.551 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.3488, allocations: 1.158 MB / 430.7 MB, free: 6.383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.3489, allocations: 301.1 kB / 431 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.3508, allocations: 1.578 MB / 432.5 MB, free: 4.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004522/0.3554, allocations: 5.363 MB / 437.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007787/0.3631, allocations: 7.539 MB / 445.4 MB, free: 3.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001551/0.3633, allocations: 36.88 kB / 445.5 MB, free: 3.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.0125/0.3758, allocations: 6.641 MB / 452.1 MB, free: 13.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.898e-05/0.3759, allocations: 68.25 kB / 452.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/0.376, allocations: 132 kB / 452.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/0.3762, allocations: 176 kB / 452.5 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/0.3794, allocations: 1.391 MB / 453.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001479/0.3795, allocations: 261.8 kB / 454.1 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/0.3828, allocations: 365.5 kB / 454.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005211/0.3833, allocations: 368 kB / 454.9 MB, free: 10.41 MB / 378.7 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.003033/0.3863, allocations: 1.974 MB / 456.8 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007144/0.387, allocations: 317.9 kB / 457.1 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.3885, allocations: 1.217 MB / 458.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.3885, allocations: 22.03 kB / 458.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.3885, allocations: 0 / 458.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.3885, allocations: 11.97 kB / 458.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00655/0.3951, allocations: 4.673 MB / 463.1 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.3951, allocations: 24.03 kB / 463.1 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/0.3956, allocations: 275.5 kB / 463.4 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/0.3957, allocations: 28 kB / 463.4 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.3957, allocations: 48 kB / 463.4 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.91e-05/0.3957, allocations: 39.8 kB / 463.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/0.3957, allocations: 31.88 kB / 463.5 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.3987, allocations: 3.157 MB / 466.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.3997, allocations: 465.6 kB / 467.1 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.3999, allocations: 51.34 kB / 467.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007873/0.4007, allocations: 107.8 kB / 467.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.4009, allocations: 155.3 kB / 467.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.4009, allocations: 68 kB / 467.5 MB, free: 13.26 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00332/0.4043, allocations: 2.295 MB / 469.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4043, allocations: 0 / 469.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005044/0.4093, allocations: 0.9764 MB / 470.8 MB, free: 9.996 MB / 394.7 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.0006198/0.4099, allocations: 225.2 kB / 471 MB, free: 9.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005537/0.4155, allocations: 3.531 MB / 474.5 MB, free: 6.277 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.169e-05/0.4155, allocations: 4 kB / 474.5 MB, free: 6.273 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009222/0.4164, allocations: 0.6909 MB / 475.2 MB, free: 5.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.4191, allocations: 401.2 kB / 475.6 MB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.4321, allocations: 8.898 MB / 484.5 MB, free: 12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.4345, allocations: 2.556 MB / 487 MB, free: 9.406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007717/0.4353, allocations: 268.5 kB / 487.3 MB, free: 9.145 MB / 410.7 MB Notification: Performance of SimCode: time 2.014e-06/0.4353, allocations: 4 kB / 487.3 MB, free: 9.141 MB / 410.7 MB Notification: Performance of Templates: time 0.243/0.6783, allocations: 52.84 MB / 0.5275 GB, free: 133.9 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringMassSystem/SpringMassSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.79584529157728]