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.001751/0.001751, allocations: 83.7 kB / 21.99 MB, free: 4.754 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.002234/0.002234, allocations: 157.4 kB / 25.24 MB, free: 2.746 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.317/1.317, allocations: 158.6 MB / 187 MB, free: 6.34 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 59.92 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2023, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01165/0.214, allocations: 9.401 MB / 357.9 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007771/0.2218, allocations: 3.698 MB / 361.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.2228, allocations: 75.62 kB / 361.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004192/0.227, allocations: 2.192 MB / 363.9 MB, free: 100 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004297/0.2313, allocations: 1.899 MB / 365.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.2328, allocations: 0.7175 MB / 366.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005248/0.238, allocations: 4.262 MB / 370.8 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002921/0.2409, allocations: 2.463 MB / 373.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.2431, allocations: 1.518 MB / 374.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.2461, allocations: 2.153 MB / 376.9 MB, free: 3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005651/0.2467, allocations: 296 kB / 377.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.2484, allocations: 0.8348 MB / 378 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001791/0.2502, allocations: 1.874 MB / 379.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.252, allocations: 1.565 MB / 381.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00669/0.2587, allocations: 6.487 MB / 387.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2587, allocations: 3.984 kB / 387.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2587, allocations: 0 / 387.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.78e-05/0.2588, allocations: 0 / 387.9 MB, free: 7.91 MB / 350.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.007365/0.2661, allocations: 4.664 MB / 392.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2662, allocations: 11.98 kB / 392.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00765/0.2738, allocations: 2.092 MB / 394.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004219/0.278, allocations: 2.339 MB / 397.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.2782, allocations: 217.6 kB / 397.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004869/0.2787, allocations: 307.8 kB / 397.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.2929, allocations: 9.676 MB / 407.2 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.293, allocations: 51.56 kB / 407.3 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/0.2933, allocations: 143.8 kB / 407.4 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00284/0.2961, allocations: 1.927 MB / 409.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.3105, allocations: 7.641 MB / 417 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04046/0.351, allocations: 35.33 MB / 452.3 MB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006534/0.3575, allocations: 2.454 MB / 454.8 MB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.3588, allocations: 0.791 MB / 455.6 MB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005085/0.3639, allocations: 2.86 MB / 458.4 MB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.3639, allocations: 51.16 kB / 458.5 MB, free: 15.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 3.667e-06/0.3639, allocations: 0 / 458.5 MB, free: 15.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=152): time 0.02172/0.3856, allocations: 9.458 MB / 467.9 MB, free: 5.695 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.76e-05/0.3857, allocations: 149.5 kB / 468.1 MB, free: 5.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005603/0.3913, allocations: 3.711 MB / 471.8 MB, free: 1.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001767/0.3915, allocations: 49.7 kB / 471.9 MB, free: 1.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1716/0.5631, allocations: 3.247 MB / 475.1 MB, free: 109 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006339/0.5637, allocations: 0.6333 MB / 475.7 MB, free: 108.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00163/0.5654, allocations: 1.176 MB / 476.9 MB, free: 108.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.597e-05/0.5654, allocations: 306.2 kB / 477.2 MB, free: 108 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/0.5679, allocations: 1.593 MB / 478.8 MB, free: 107.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.571, allocations: 5.381 MB / 484.2 MB, free: 102 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005282/0.5763, allocations: 7.572 MB / 491.8 MB, free: 95.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.762e-05/0.5764, allocations: 42.91 kB / 491.8 MB, free: 95.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.007969/0.5843, allocations: 6.674 MB / 498.5 MB, free: 91.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.5844, allocations: 64 kB / 498.5 MB, free: 91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-05/0.5845, allocations: 132 kB / 498.7 MB, free: 90.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001143/0.5846, allocations: 176 kB / 498.8 MB, free: 90.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/0.588, allocations: 1.402 MB / 0.4885 GB, free: 89.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001206/0.5881, allocations: 267.9 kB / 0.4888 GB, free: 89.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003113/0.5912, allocations: 335.9 kB / 0.4891 GB, free: 88.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/0.5915, allocations: 363.4 kB / 0.4894 GB, free: 88.6 MB / 430.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.001956/0.5935, allocations: 1.98 MB / 0.4914 GB, free: 86.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.5938, allocations: 321.8 kB / 0.4917 GB, free: 86.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.5953, allocations: 1.21 MB / 0.4929 GB, free: 85.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.5953, allocations: 23.94 kB / 0.4929 GB, free: 85.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5954, allocations: 2.953 kB / 0.4929 GB, free: 85.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.5954, allocations: 7.688 kB / 0.4929 GB, free: 85.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005667/0.601, allocations: 4.604 MB / 0.4974 GB, free: 81.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.601, allocations: 16 kB / 0.4974 GB, free: 81.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/0.6019, allocations: 279.5 kB / 0.4977 GB, free: 80.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.676e-05/0.6019, allocations: 24 kB / 0.4977 GB, free: 80.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.595e-05/0.602, allocations: 54.98 kB / 0.4977 GB, free: 80.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.728e-05/0.602, allocations: 35.86 kB / 0.4978 GB, free: 80.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.602, allocations: 35.88 kB / 0.4978 GB, free: 80.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.6046, allocations: 3.203 MB / 0.5009 GB, free: 77.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006816/0.6053, allocations: 420 kB / 0.5013 GB, free: 76.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.6056, allocations: 51.98 kB / 0.5014 GB, free: 76.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.6066, allocations: 71.94 kB / 0.5015 GB, free: 76.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.6068, allocations: 159.2 kB / 0.5016 GB, free: 76.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/0.6068, allocations: 67.98 kB / 0.5017 GB, free: 76.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002396/0.6092, allocations: 2.135 MB / 0.5038 GB, free: 74.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6092, allocations: 0 / 0.5038 GB, free: 74.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003994/0.6132, allocations: 0.8582 MB / 0.5046 GB, free: 73.48 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.0002939/0.6135, allocations: 206.8 kB / 0.5048 GB, free: 73.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004366/0.6179, allocations: 3.557 MB / 0.5083 GB, free: 69.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.6179, allocations: 4 kB / 0.5083 GB, free: 69.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007348/0.6186, allocations: 0.6909 MB / 0.5089 GB, free: 69.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.6208, allocations: 399.9 kB / 0.5093 GB, free: 68.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.6315, allocations: 8.603 MB / 0.5177 GB, free: 59.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/0.6339, allocations: 2.569 MB / 0.5202 GB, free: 57.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003136/0.6371, allocations: 1.731 MB / 0.5219 GB, free: 55.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/0.6374, allocations: 212.5 kB / 0.5221 GB, free: 55.3 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.6374, allocations: 0 / 0.5221 GB, free: 55.3 MB / 430.1 MB Notification: Performance of Templates: time 0.03917/0.6766, allocations: 19.38 MB / 0.5411 GB, free: 35.98 MB / 430.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringMassSystem/SpringMassSystem.csv","/var/lib/jenkins1/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: 5.677311987965368]