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.001998/0.001998, allocations: 86.22 kB / 21.44 MB, free: 296 kB / 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.002903/0.002903, allocations: 160.8 kB / 24.7 MB, free: 3.551 MB / 14.72 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 1.365/1.365, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] 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.513e-06/1.513e-06, allocations: 0 / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.057e-05, allocations: 2.281 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01239/0.01242, allocations: 9.43 MB / 308.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0092/0.02162, allocations: 3.698 MB / 312.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.02303, allocations: 75.62 kB / 312.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004922/0.02796, allocations: 2.293 MB / 314.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005121/0.03308, allocations: 1.96 MB / 316.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.03485, allocations: 0.7875 MB / 317.2 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006643/0.0415, allocations: 4.892 MB / 322.1 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1662/0.2077, allocations: 2.955 MB / 325 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005504/0.2132, allocations: 2.308 MB / 327.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004999/0.2182, allocations: 2.396 MB / 329.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00152/0.2197, allocations: 300.7 kB / 330 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003061/0.2228, allocations: 0.8974 MB / 330.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002345/0.2252, allocations: 1.972 MB / 332.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002208/0.2274, allocations: 1.229 MB / 334.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008405/0.2358, allocations: 6.476 MB / 340.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2358, allocations: 0 / 340.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2358, allocations: 1.125 kB / 340.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002747/0.236, allocations: 0 / 340.6 MB, free: 13.34 MB / 302.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.01415/0.2502, allocations: 4.72 MB / 345.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.2502, allocations: 13.86 kB / 345.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008115/0.2584, allocations: 2.099 MB / 347.4 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004461/0.2628, allocations: 2.274 MB / 349.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.263, allocations: 222.9 kB / 349.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005225/0.2635, allocations: 302 kB / 350.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.277, allocations: 9.681 MB / 359.9 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.2771, allocations: 48.23 kB / 360 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000412/0.2775, allocations: 149 kB / 360.1 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003346/0.2809, allocations: 1.912 MB / 362 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01755/0.2984, allocations: 7.651 MB / 369.7 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04943/0.3478, allocations: 35.46 MB / 405.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007017/0.3549, allocations: 2.418 MB / 407.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.3562, allocations: 0.8056 MB / 408.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006045/0.3623, allocations: 2.959 MB / 411.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.3623, allocations: 50.88 kB / 411.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=134): time 3.887e-06/0.3623, allocations: 0 / 411.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=152): time 0.02604/0.3884, allocations: 9.555 MB / 420.9 MB, free: 1.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.3885, allocations: 148.7 kB / 421.1 MB, free: 1.645 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006487/0.395, allocations: 3.937 MB / 425 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003058/0.3953, allocations: 49.7 kB / 425 MB, free: 13.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003476/0.3987, allocations: 3.206 MB / 428.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009965/0.3997, allocations: 0.6216 MB / 428.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001931/0.4017, allocations: 1.16 MB / 430 MB, free: 8.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4018, allocations: 305.1 kB / 430.3 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00305/0.4049, allocations: 1.596 MB / 431.9 MB, free: 6.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006108/0.411, allocations: 5.369 MB / 437.3 MB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009851/0.4208, allocations: 7.569 MB / 444.9 MB, free: 6.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.4209, allocations: 40 kB / 444.9 MB, free: 6.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01269/0.4336, allocations: 6.693 MB / 451.6 MB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.977e-05/0.4337, allocations: 64 kB / 451.7 MB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/0.4339, allocations: 133.3 kB / 451.8 MB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.4341, allocations: 176 kB / 452 MB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/0.4383, allocations: 1.398 MB / 453.4 MB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002245/0.4385, allocations: 267 kB / 453.6 MB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004489/0.443, allocations: 399.5 kB / 454 MB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005598/0.4436, allocations: 368 kB / 454.4 MB, free: 12.7 MB / 414.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.003333/0.4469, allocations: 1.97 MB / 456.3 MB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007769/0.4477, allocations: 325.8 kB / 456.7 MB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.4499, allocations: 1.218 MB / 457.9 MB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/0.4499, allocations: 22.64 kB / 457.9 MB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4499, allocations: 3.938 kB / 457.9 MB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.4499, allocations: 7.984 kB / 457.9 MB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00885/0.4588, allocations: 4.662 MB / 462.6 MB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/0.4588, allocations: 16 kB / 462.6 MB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.4599, allocations: 277.8 kB / 462.9 MB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.787e-05/0.4599, allocations: 24 kB / 462.9 MB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.46, allocations: 52 kB / 462.9 MB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-05/0.46, allocations: 35.86 kB / 463 MB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.412e-05/0.4601, allocations: 32.22 kB / 463 MB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004785/0.4648, allocations: 3.179 MB / 466.2 MB, free: 380 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.4661, allocations: 453.7 kB / 466.6 MB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003782/0.4665, allocations: 51.98 kB / 466.7 MB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.468, allocations: 115.8 kB / 466.8 MB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.4682, allocations: 159.3 kB / 466.9 MB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.4683, allocations: 75.88 kB / 467 MB, free: 15.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005464/0.4738, allocations: 2.303 MB / 469.3 MB, free: 13.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4738, allocations: 0 / 469.3 MB, free: 13.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006444/0.4802, allocations: 0.9695 MB / 470.3 MB, free: 12.27 MB / 430.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.0006022/0.4808, allocations: 227.9 kB / 470.5 MB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006512/0.4874, allocations: 3.558 MB / 474.1 MB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/0.4874, allocations: 4 kB / 474.1 MB, free: 8.512 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.4885, allocations: 0.6831 MB / 474.8 MB, free: 7.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/0.4913, allocations: 404 kB / 475.2 MB, free: 7.441 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/0.5073, allocations: 8.481 MB / 483.6 MB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003823/0.5111, allocations: 2.576 MB / 486.2 MB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004253/0.5153, allocations: 1.742 MB / 488 MB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006268/0.516, allocations: 228.5 kB / 488.2 MB, free: 10.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.844e-06/0.516, allocations: 0 / 488.2 MB, free: 10.1 MB / 446.1 MB Notification: Performance of Templates: time 0.2289/0.7449, allocations: 21.08 MB / 0.4973 GB, free: 150.9 MB / 446.1 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: 6.164299726486206]