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.00143/0.00143, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002376/0.002376, allocations: 164.5 kB / 25.02 MB, free: 8.945 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 1.488/1.488, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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 2.394e-06/2.394e-06, allocations: 3.938 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.058e-05/4.297e-05, allocations: 5.828 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01426/0.0143, allocations: 9.431 MB / 259.8 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009433/0.02374, allocations: 3.69 MB / 263.5 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.02548, allocations: 75.62 kB / 263.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005554/0.03104, allocations: 2.324 MB / 265.9 MB, free: 8.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006754/0.03779, allocations: 1.967 MB / 267.9 MB, free: 6.262 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.04001, allocations: 0.7991 MB / 268.7 MB, free: 5.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.009032/0.04904, allocations: 4.892 MB / 273.6 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007082/0.05612, allocations: 3.056 MB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006761/0.06288, allocations: 2.315 MB / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005924/0.06881, allocations: 2.4 MB / 281.3 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001519/0.07033, allocations: 300 kB / 281.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.07335, allocations: 0.8933 MB / 282.5 MB, free: 7.531 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003508/0.07686, allocations: 1.963 MB / 284.5 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00402/0.08088, allocations: 1.23 MB / 285.7 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.09205, allocations: 6.478 MB / 292.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.09206, allocations: 0 / 292.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.09206, allocations: 7.875 kB / 292.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002555/0.09232, allocations: 0 / 292.2 MB, free: 13.82 MB / 282.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.01316/0.1055, allocations: 4.723 MB / 296.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1055, allocations: 11.98 kB / 296.9 MB, free: 9.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00973/0.1153, allocations: 2.553 MB / 299.5 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006372/0.1216, allocations: 2.28 MB / 301.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.1219, allocations: 229.6 kB / 302 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009504/0.1229, allocations: 291.8 kB / 302.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02162/0.1445, allocations: 9.695 MB / 312 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.1446, allocations: 55.56 kB / 312 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004396/0.1451, allocations: 147.8 kB / 312.2 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003545/0.1486, allocations: 1.915 MB / 314.1 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02079/0.1694, allocations: 7.644 MB / 321.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2309/0.4002, allocations: 35.53 MB / 357.2 MB, free: 75.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006099/0.4063, allocations: 2.43 MB / 359.7 MB, free: 75.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.4075, allocations: 0.7933 MB / 360.5 MB, free: 75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005499/0.413, allocations: 2.97 MB / 363.4 MB, free: 74.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.413, allocations: 45.78 kB / 363.5 MB, free: 74.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 5.08e-06/0.413, allocations: 2.531 kB / 363.5 MB, free: 74.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=152): time 0.02075/0.4338, allocations: 9.615 MB / 373.1 MB, free: 70.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.4338, allocations: 145.5 kB / 373.2 MB, free: 70.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003976/0.4378, allocations: 3.933 MB / 377.2 MB, free: 66.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.4379, allocations: 49.7 kB / 377.2 MB, free: 66.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.439, allocations: 3.208 MB / 380.4 MB, free: 63.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.4394, allocations: 0.6231 MB / 381.1 MB, free: 62.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009627/0.4403, allocations: 1.16 MB / 382.2 MB, free: 61.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.192e-05/0.4404, allocations: 305.1 kB / 382.5 MB, free: 61.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/0.4424, allocations: 1.596 MB / 384.1 MB, free: 59.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003134/0.4455, allocations: 5.382 MB / 389.5 MB, free: 52.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006242/0.4518, allocations: 7.562 MB / 397.1 MB, free: 43.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-05/0.4519, allocations: 36 kB / 397.1 MB, free: 43.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.009799/0.4617, allocations: 7.009 MB / 404.1 MB, free: 36.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.66e-05/0.4617, allocations: 60.19 kB / 404.2 MB, free: 36.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/0.4618, allocations: 140 kB / 404.3 MB, free: 36.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.462, allocations: 176.9 kB / 404.5 MB, free: 36.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0036/0.4656, allocations: 1.396 MB / 405.9 MB, free: 34.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001431/0.4657, allocations: 259 kB / 406.1 MB, free: 34.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/0.4702, allocations: 403.4 kB / 406.5 MB, free: 33.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000497/0.4707, allocations: 379.3 kB / 406.9 MB, free: 33.6 MB / 330.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.003196/0.4739, allocations: 1.974 MB / 408.9 MB, free: 31.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009754/0.4749, allocations: 361.8 kB / 409.2 MB, free: 31.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.4771, allocations: 1.215 MB / 410.4 MB, free: 30.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.4771, allocations: 20 kB / 410.4 MB, free: 30.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.4771, allocations: 0 / 410.4 MB, free: 30.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.4771, allocations: 11.92 kB / 410.5 MB, free: 30 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00876/0.4859, allocations: 4.678 MB / 415.1 MB, free: 25.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.694e-05/0.486, allocations: 20.16 kB / 415.2 MB, free: 25.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009282/0.4869, allocations: 279.5 kB / 415.4 MB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.523e-05/0.4869, allocations: 24 kB / 415.5 MB, free: 24.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.487, allocations: 48 kB / 415.5 MB, free: 24.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.917e-05/0.487, allocations: 35.86 kB / 415.5 MB, free: 24.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/0.487, allocations: 27.88 kB / 415.6 MB, free: 24.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003675/0.4907, allocations: 3.204 MB / 418.8 MB, free: 21.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/0.4922, allocations: 465.6 kB / 419.2 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007492/0.493, allocations: 48.86 kB / 419.3 MB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/0.4948, allocations: 123.8 kB / 419.4 MB, free: 20.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.495, allocations: 158.7 kB / 419.5 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.366e-05/0.4951, allocations: 71.92 kB / 419.6 MB, free: 20.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003603/0.4987, allocations: 2.303 MB / 421.9 MB, free: 18.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4987, allocations: 0 / 421.9 MB, free: 18.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005581/0.5043, allocations: 0.9686 MB / 422.9 MB, free: 17.08 MB / 330.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.0006648/0.5049, allocations: 226 kB / 423.1 MB, free: 16.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005579/0.5105, allocations: 3.559 MB / 426.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-05/0.5105, allocations: 4 kB / 426.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008872/0.5114, allocations: 0.6826 MB / 427.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/0.515, allocations: 420.5 kB / 427.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.5285, allocations: 8.625 MB / 436.4 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003312/0.5318, allocations: 2.563 MB / 438.9 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.004072/0.5359, allocations: 1.739 MB / 440.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/0.5365, allocations: 228.5 kB / 440.9 MB, free: 14.76 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/0.5365, allocations: 0 / 440.9 MB, free: 14.76 MB / 346.7 MB Notification: Performance of Templates: time 0.0566/0.5931, allocations: 21.27 MB / 462.2 MB, free: 9.598 MB / 362.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: 6.254001694964245]