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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00098/0.0009802, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 88.22 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.000281, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2594, allocations: 47.58 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1193/0.3788, allocations: 94.93 MB / 470.7 MB, free: 1.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.3792, allocations: 87.95 kB / 470.8 MB, free: 1.625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4221/0.8012, allocations: 85.04 MB / 0.5428 GB, free: 73.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.8013, allocations: 192 / 0.5428 GB, free: 73.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001928/0.8015, allocations: 79.94 kB / 0.5429 GB, free: 73.55 MB / 378.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.0114/0.8129, allocations: 4.082 MB / 0.5469 GB, free: 69.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.813, allocations: 8.031 kB / 0.5469 GB, free: 69.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/0.8263, allocations: 2.447 MB / 0.5493 GB, free: 66.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01618/0.8425, allocations: 5.087 MB / 0.5543 GB, free: 61.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/0.8429, allocations: 312.1 kB / 0.5546 GB, free: 61.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00176/0.8446, allocations: 411.8 kB / 0.555 GB, free: 61.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.8611, allocations: 10.08 MB / 0.5648 GB, free: 49.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.8613, allocations: 59.48 kB / 0.5649 GB, free: 49.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005292/0.8618, allocations: 207.9 kB / 0.5651 GB, free: 49.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001165/0.863, allocations: 1.002 MB / 0.566 GB, free: 48.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/0.8769, allocations: 7.897 MB / 0.5737 GB, free: 40.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04483/0.9218, allocations: 45.69 MB / 0.6184 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007076/0.9289, allocations: 2.874 MB / 0.6212 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007948/0.9369, allocations: 3.818 MB / 0.6249 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.937, allocations: 51.14 kB / 0.6249 GB, free: 2.426 MB / 394.7 MB Notification: Performance of pre-optimization done (n=134): time 4.298e-06/0.937, allocations: 4 kB / 0.625 GB, free: 2.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=152): time 0.02413/0.9612, allocations: 9.359 MB / 0.6341 GB, free: 8.883 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.9613, allocations: 145.5 kB / 0.6342 GB, free: 8.707 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006467/0.9678, allocations: 3.549 MB / 0.6377 GB, free: 5.133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002951/0.9681, allocations: 49.7 kB / 0.6377 GB, free: 5.078 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00242/0.9706, allocations: 3.101 MB / 0.6408 GB, free: 1.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007254/0.9713, allocations: 0.6019 MB / 0.6414 GB, free: 1.328 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.9715, allocations: 120 kB / 0.6415 GB, free: 1.211 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003811/0.9719, allocations: 0.5538 MB / 0.642 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2547/1.227, allocations: 1.58 MB / 0.6436 GB, free: 100.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004595/1.231, allocations: 5.318 MB / 0.6488 GB, free: 96.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/1.235, allocations: 2.845 MB / 0.6515 GB, free: 96.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.687e-05/1.235, allocations: 36.78 kB / 0.6516 GB, free: 96.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01144/1.247, allocations: 6.665 MB / 0.6581 GB, free: 95.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.531e-05/1.247, allocations: 60.78 kB / 0.6581 GB, free: 95.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/1.247, allocations: 133.9 kB / 0.6583 GB, free: 95.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/1.247, allocations: 197.8 kB / 0.6584 GB, free: 95.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003449/1.251, allocations: 1.395 MB / 0.6598 GB, free: 95.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001572/1.251, allocations: 263.7 kB / 0.6601 GB, free: 95.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003652/1.254, allocations: 366.1 kB / 0.6604 GB, free: 95.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003618/1.255, allocations: 366.6 kB / 0.6608 GB, free: 95.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * 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 (736): * Single equations (assignments): 733 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002822/1.258, allocations: 1.979 MB / 0.6627 GB, free: 94.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004878/1.258, allocations: 340.3 kB / 0.663 GB, free: 94.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/1.26, allocations: 1.248 MB / 0.6642 GB, free: 94.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/1.26, allocations: 20.8 kB / 0.6643 GB, free: 94.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.26, allocations: 3.438 kB / 0.6643 GB, free: 94.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.26, allocations: 7.594 kB / 0.6643 GB, free: 94.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007616/1.268, allocations: 5.806 MB / 0.6699 GB, free: 93.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/1.268, allocations: 18.09 kB / 0.67 GB, free: 93.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008609/1.269, allocations: 283.6 kB / 0.6702 GB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.947e-05/1.269, allocations: 28.95 kB / 0.6703 GB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.829e-05/1.269, allocations: 51.75 kB / 0.6703 GB, free: 93.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.313e-05/1.269, allocations: 43.42 kB / 0.6703 GB, free: 93.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.391e-05/1.269, allocations: 28.97 kB / 0.6704 GB, free: 93.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/1.273, allocations: 5.395 MB / 0.6756 GB, free: 88.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.274, allocations: 0.5141 MB / 0.6761 GB, free: 88.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/1.275, allocations: 53.7 kB / 0.6762 GB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/1.276, allocations: 84.91 kB / 0.6763 GB, free: 88.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.276, allocations: 155.1 kB / 0.6764 GB, free: 88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.416e-05/1.276, allocations: 68.92 kB / 0.6765 GB, free: 88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003936/1.28, allocations: 2.486 MB / 0.6789 GB, free: 87.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.28, allocations: 0 / 0.6789 GB, free: 87.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004953/1.285, allocations: 0.8827 MB / 0.6798 GB, free: 87.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * 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 (144): * Single equations (assignments): 141 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004531/1.286, allocations: 209.8 kB / 0.68 GB, free: 86.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005826/1.291, allocations: 3.638 MB / 0.6835 GB, free: 85.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.291, allocations: 3.875 kB / 0.6835 GB, free: 85.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000854/1.292, allocations: 0.7332 MB / 0.6842 GB, free: 85.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/1.295, allocations: 418.9 kB / 0.6846 GB, free: 85.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/1.309, allocations: 10.13 MB / 0.6945 GB, free: 79.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003283/1.312, allocations: 3.189 MB / 0.6977 GB, free: 76.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004346/1.317, allocations: 1.78 MB / 0.6994 GB, free: 75.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/1.317, allocations: 230.8 kB / 0.6996 GB, free: 75.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/1.317, allocations: 0 / 0.6996 GB, free: 75.41 MB / 410.7 MB Notification: Performance of Templates: time 0.05071/1.368, allocations: 25.66 MB / 0.7247 GB, free: 57.07 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches