Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001535/0.001534, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001124/0.001124, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.941e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09527, allocations: 47.58 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.5371, allocations: 94.85 MB / 463.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.5375, allocations: 83.83 kB / 464 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6767/1.214, allocations: 85.07 MB / 0.5362 GB, free: 91.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.214, allocations: 0 / 0.5362 GB, free: 91.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002696/1.215, allocations: 82.19 kB / 0.5363 GB, free: 91.77 MB / 410.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.01539/1.23, allocations: 3.835 MB / 0.54 GB, free: 90.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.23, allocations: 9.656 kB / 0.5401 GB, free: 90.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02071/1.251, allocations: 2.436 MB / 0.5424 GB, free: 89.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01944/1.27, allocations: 5.063 MB / 0.5474 GB, free: 89.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005294/1.271, allocations: 319.2 kB / 0.5477 GB, free: 89.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002451/1.273, allocations: 420 kB / 0.5481 GB, free: 89.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02803/1.301, allocations: 9.925 MB / 0.5578 GB, free: 86.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002935/1.302, allocations: 66.28 kB / 0.5578 GB, free: 86.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001597/1.303, allocations: 202.7 kB / 0.558 GB, free: 86.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002295/1.306, allocations: 1.006 MB / 0.559 GB, free: 86.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02235/1.328, allocations: 7.647 MB / 0.5665 GB, free: 86.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06157/1.39, allocations: 45.7 MB / 0.6111 GB, free: 51.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.4, allocations: 2.826 MB / 0.6139 GB, free: 50.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/1.402, allocations: 0.8511 MB / 0.6147 GB, free: 49.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009693/1.412, allocations: 3.83 MB / 0.6184 GB, free: 47.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/1.412, allocations: 55 kB / 0.6185 GB, free: 47.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 5.45e-06/1.412, allocations: 3.938 kB / 0.6185 GB, free: 47.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=152): time 0.03525/1.447, allocations: 8.436 MB / 0.6267 GB, free: 42.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/1.447, allocations: 141.3 kB / 0.6269 GB, free: 42.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007836/1.455, allocations: 3.457 MB / 0.6302 GB, free: 39.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002971/1.456, allocations: 45.7 kB / 0.6303 GB, free: 39.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00262/1.458, allocations: 3.034 MB / 0.6333 GB, free: 36.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009139/1.459, allocations: 0.6059 MB / 0.6338 GB, free: 36.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006795/1.46, allocations: 116 kB / 0.634 GB, free: 36.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004025/1.46, allocations: 0.5553 MB / 0.6345 GB, free: 35.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003747/1.464, allocations: 1.481 MB / 0.6359 GB, free: 34.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006322/1.47, allocations: 5.218 MB / 0.641 GB, free: 27.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006194/1.477, allocations: 2.788 MB / 0.6438 GB, free: 25.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001275/1.477, allocations: 40 kB / 0.6438 GB, free: 25.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01639/1.493, allocations: 6.33 MB / 0.65 GB, free: 19.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/1.493, allocations: 68.03 kB / 0.6501 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/1.494, allocations: 136 kB / 0.6502 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/1.494, allocations: 196 kB / 0.6504 GB, free: 19.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008412/1.502, allocations: 1.389 MB / 0.6517 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002735/1.503, allocations: 270.1 kB / 0.652 GB, free: 17.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0072/1.51, allocations: 377.9 kB / 0.6523 GB, free: 17.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/1.511, allocations: 363.9 kB / 0.6527 GB, free: 16.96 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 () * 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.001449/1.513, allocations: 0.5632 MB / 0.6532 GB, free: 16.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000808/1.514, allocations: 343.3 kB / 0.6536 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/1.517, allocations: 1.213 MB / 0.6548 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.962e-05/1.517, allocations: 16 kB / 0.6548 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/1.517, allocations: 0 / 0.6548 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/1.517, allocations: 10.56 kB / 0.6548 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/1.532, allocations: 5.784 MB / 0.6604 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.378e-05/1.532, allocations: 16 kB / 0.6604 GB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/1.534, allocations: 283 kB / 0.6607 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.056e-05/1.534, allocations: 28 kB / 0.6607 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/1.535, allocations: 55.33 kB / 0.6608 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.992e-05/1.535, allocations: 35.25 kB / 0.6608 GB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.962e-05/1.535, allocations: 27.88 kB / 0.6608 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005845/1.541, allocations: 5.346 MB / 0.6661 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/1.543, allocations: 0.5237 MB / 0.6666 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000967/1.544, allocations: 55.56 kB / 0.6666 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002911/1.547, allocations: 89.67 kB / 0.6667 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/1.547, allocations: 148.5 kB / 0.6669 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.547, allocations: 67.95 kB / 0.6669 GB, free: 2.609 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006101/1.553, allocations: 2.387 MB / 0.6693 GB, free: 492 kB / 410.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.553, allocations: 0 / 0.6693 GB, free: 492 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.01022/1.564, allocations: 1.067 MB / 0.6703 GB, free: 0 / 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 () * 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.0008684/1.565, allocations: 218.1 kB / 0.6705 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009116/1.574, allocations: 3.516 MB / 0.6739 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.491e-05/1.574, allocations: 4.75 kB / 0.6739 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001807/1.576, allocations: 0.7189 MB / 0.6746 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/1.579, allocations: 423.6 kB / 0.6751 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/1.602, allocations: 7.478 MB / 0.6824 GB, free: 4.441 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00751/1.609, allocations: 3.189 MB / 0.6855 GB, free: 1.238 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/1.611, allocations: 283.4 kB / 0.6857 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of SimCode: time 1.654e-06/1.611, allocations: 0 / 0.6857 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of Templates: time 0.43/2.041, allocations: 50.06 MB / 0.7346 GB, free: 84.59 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches