Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001758/0.001758, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002158/0.002158, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.571/1.571, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 68.03 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2502, allocations: 53.32 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.0139/0.2641, allocations: 10.74 MB / 442.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009708/0.2738, allocations: 3.927 MB / 446.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.2762, allocations: 59.88 kB / 446.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00489/0.2811, allocations: 2.269 MB / 449.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005185/0.2862, allocations: 1.84 MB / 450.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.288, allocations: 0.7097 MB / 451.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00673/0.2948, allocations: 4.311 MB / 455.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003564/0.2983, allocations: 2.219 MB / 458.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.301, allocations: 1.468 MB / 459.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003723/0.3047, allocations: 2.255 MB / 461.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000881/0.3056, allocations: 292 kB / 462.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.3076, allocations: 0.9441 MB / 463.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.3096, allocations: 1.858 MB / 464.9 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002905/0.3125, allocations: 2.077 MB / 467 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00846/0.3209, allocations: 6.376 MB / 473.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3209, allocations: 0 / 473.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3209, allocations: 0 / 473.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002056/0.3212, allocations: 4 kB / 473.4 MB, free: 13.84 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.009735/0.3309, allocations: 4.681 MB / 478.1 MB, free: 9.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3309, allocations: 16.92 kB / 478.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007719/0.3386, allocations: 1.944 MB / 480 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006251/0.3449, allocations: 2.25 MB / 482.3 MB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.3451, allocations: 229.6 kB / 482.5 MB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/0.3462, allocations: 295.8 kB / 482.8 MB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.3639, allocations: 9.651 MB / 492.5 MB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.364, allocations: 51.58 kB / 492.5 MB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004129/0.3644, allocations: 151.8 kB / 492.7 MB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00313/0.3676, allocations: 1.911 MB / 494.6 MB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/0.3836, allocations: 7.645 MB / 0.4904 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05073/0.4343, allocations: 37.69 MB / 0.5272 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007559/0.4419, allocations: 2.795 MB / 0.53 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.4433, allocations: 0.791 MB / 0.5307 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007256/0.4505, allocations: 3.851 MB / 0.5345 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.4506, allocations: 47.22 kB / 0.5346 GB, free: 1.375 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 3.918e-06/0.4506, allocations: 0 / 0.5346 GB, free: 1.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=152): time 0.2498/0.7004, allocations: 9.271 MB / 0.5436 GB, free: 98.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.7005, allocations: 148.2 kB / 0.5437 GB, free: 98.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004356/0.7048, allocations: 3.921 MB / 0.5476 GB, free: 97.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.705, allocations: 54.53 kB / 0.5476 GB, free: 97.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.7064, allocations: 3.204 MB / 0.5508 GB, free: 95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/0.7068, allocations: 0.6337 MB / 0.5514 GB, free: 94.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009617/0.7077, allocations: 1.175 MB / 0.5525 GB, free: 93.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.7078, allocations: 305 kB / 0.5528 GB, free: 93.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/0.7097, allocations: 1.584 MB / 0.5544 GB, free: 93.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/0.713, allocations: 5.367 MB / 0.5596 GB, free: 87.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006133/0.7191, allocations: 7.552 MB / 0.567 GB, free: 78.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-05/0.7192, allocations: 40.81 kB / 0.567 GB, free: 78.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.008851/0.728, allocations: 6.686 MB / 0.5735 GB, free: 72.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.405e-05/0.7281, allocations: 63.28 kB / 0.5736 GB, free: 72.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-05/0.7282, allocations: 139.9 kB / 0.5737 GB, free: 72.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.7283, allocations: 180.3 kB / 0.5739 GB, free: 72.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003724/0.732, allocations: 1.389 MB / 0.5753 GB, free: 70.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001665/0.7322, allocations: 263 kB / 0.5755 GB, free: 70.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004921/0.7371, allocations: 287.7 kB / 0.5758 GB, free: 70.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005157/0.7376, allocations: 364 kB / 0.5761 GB, free: 70.03 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.002595/0.7402, allocations: 1.974 MB / 0.5781 GB, free: 68.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006148/0.7408, allocations: 349.7 kB / 0.5784 GB, free: 67.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000549/0.7414, allocations: 405.7 kB / 0.5788 GB, free: 67.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.7414, allocations: 20 kB / 0.5788 GB, free: 67.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.16e-05/0.7414, allocations: 2.938 kB / 0.5788 GB, free: 67.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.7415, allocations: 7.969 kB / 0.5788 GB, free: 67.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008198/0.7497, allocations: 5.751 MB / 0.5844 GB, free: 61.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/0.7497, allocations: 27.92 kB / 0.5845 GB, free: 61.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008752/0.7506, allocations: 275.5 kB / 0.5847 GB, free: 60.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/0.7506, allocations: 24.66 kB / 0.5847 GB, free: 60.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/0.7506, allocations: 55.94 kB / 0.5848 GB, free: 60.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.567e-05/0.7507, allocations: 35.92 kB / 0.5848 GB, free: 60.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/0.7507, allocations: 27.88 kB / 0.5849 GB, free: 60.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/0.7538, allocations: 3.249 MB / 0.588 GB, free: 57.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009082/0.7547, allocations: 426.5 kB / 0.5884 GB, free: 56.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/0.755, allocations: 47.98 kB / 0.5885 GB, free: 56.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.756, allocations: 67.16 kB / 0.5886 GB, free: 56.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.7562, allocations: 143.4 kB / 0.5887 GB, free: 56.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-05/0.7562, allocations: 72 kB / 0.5888 GB, free: 56.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003081/0.7593, allocations: 2.43 MB / 0.5911 GB, free: 54.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7593, allocations: 0 / 0.5911 GB, free: 54.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005235/0.7646, allocations: 0.8475 MB / 0.592 GB, free: 53.27 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.0004331/0.765, allocations: 214.4 kB / 0.5922 GB, free: 53.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004946/0.7699, allocations: 3.545 MB / 0.5956 GB, free: 49.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.77, allocations: 4 kB / 0.5956 GB, free: 49.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.7708, allocations: 0.6944 MB / 0.5963 GB, free: 48.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.7736, allocations: 461.9 kB / 0.5967 GB, free: 48.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.7859, allocations: 8.638 MB / 0.6052 GB, free: 39.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002577/0.7885, allocations: 3.097 MB / 0.6082 GB, free: 36.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003373/0.7918, allocations: 1.764 MB / 0.6099 GB, free: 34.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/0.7923, allocations: 235.4 kB / 0.6102 GB, free: 34.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7923, allocations: 0 / 0.6102 GB, free: 34.34 MB / 446.1 MB Notification: Performance of Templates: time 0.04654/0.8388, allocations: 25.34 MB / 0.6349 GB, free: 9.227 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringMassSystem/SpringMassSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.344441426917911]