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.001517/0.001521, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.981/1.981, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001116/0.001116, allocations: 91.56 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004181, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.4906, allocations: 94.95 MB / 469.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.4909, allocations: 87.95 kB / 469.6 MB, free: 1.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6113/1.102, allocations: 85.03 MB / 0.5416 GB, free: 73.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.986e-06/1.102, allocations: 7.938 kB / 0.5416 GB, free: 73.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002207/1.103, allocations: 72 kB / 0.5417 GB, free: 73.64 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.01564/1.118, allocations: 4.085 MB / 0.5457 GB, free: 69.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.118, allocations: 8.219 kB / 0.5457 GB, free: 69.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01963/1.138, allocations: 2.443 MB / 0.5481 GB, free: 67.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01753/1.155, allocations: 5.087 MB / 0.553 GB, free: 61.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003961/1.156, allocations: 320.1 kB / 0.5533 GB, free: 61.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002233/1.158, allocations: 415.8 kB / 0.5537 GB, free: 61.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02857/1.187, allocations: 10.07 MB / 0.5636 GB, free: 50 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002705/1.187, allocations: 67.48 kB / 0.5636 GB, free: 49.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001619/1.189, allocations: 199.9 kB / 0.5638 GB, free: 49.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002305/1.191, allocations: 1.002 MB / 0.5648 GB, free: 48.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02397/1.215, allocations: 7.89 MB / 0.5725 GB, free: 40.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06245/1.278, allocations: 45.7 MB / 0.6171 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/1.29, allocations: 2.87 MB / 0.6199 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/1.3, allocations: 3.83 MB / 0.6237 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/1.3, allocations: 51.2 kB / 0.6237 GB, free: 2.496 MB / 394.7 MB Notification: Performance of pre-optimization done (n=134): time 5.03e-06/1.3, allocations: 0 / 0.6237 GB, free: 2.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=152): time 0.04014/1.34, allocations: 9.355 MB / 0.6329 GB, free: 8.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.34, allocations: 145.5 kB / 0.633 GB, free: 8.789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/1.351, allocations: 3.553 MB / 0.6365 GB, free: 5.211 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003113/1.351, allocations: 49.64 kB / 0.6365 GB, free: 5.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003594/1.355, allocations: 3.031 MB / 0.6395 GB, free: 2.086 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001068/1.356, allocations: 0.6058 MB / 0.6401 GB, free: 1.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008058/1.357, allocations: 116 kB / 0.6402 GB, free: 1.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005528/1.357, allocations: 0.5507 MB / 0.6407 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2972/1.654, allocations: 1.586 MB / 0.6423 GB, free: 101.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007454/1.662, allocations: 5.326 MB / 0.6475 GB, free: 96.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007157/1.669, allocations: 2.839 MB / 0.6502 GB, free: 96.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/1.669, allocations: 40.16 kB / 0.6503 GB, free: 96.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01966/1.689, allocations: 6.542 MB / 0.6567 GB, free: 96.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/1.689, allocations: 64.47 kB / 0.6567 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002739/1.69, allocations: 134.1 kB / 0.6569 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/1.69, allocations: 194.5 kB / 0.657 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008281/1.698, allocations: 1.402 MB / 0.6584 GB, free: 95.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002544/1.698, allocations: 255.1 kB / 0.6586 GB, free: 95.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006734/1.705, allocations: 374.4 kB / 0.659 GB, free: 95.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/1.707, allocations: 361.5 kB / 0.6594 GB, free: 95.94 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.005176/1.712, allocations: 1.982 MB / 0.6613 GB, free: 95.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008012/1.713, allocations: 336.1 kB / 0.6616 GB, free: 95.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0035/1.716, allocations: 1.244 MB / 0.6628 GB, free: 95.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-05/1.716, allocations: 18.47 kB / 0.6628 GB, free: 95.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/1.716, allocations: 7.516 kB / 0.6628 GB, free: 95.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/1.716, allocations: 7.781 kB / 0.6629 GB, free: 95.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/1.731, allocations: 5.801 MB / 0.6685 GB, free: 93.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-05/1.731, allocations: 19.84 kB / 0.6685 GB, free: 93.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/1.733, allocations: 278 kB / 0.6688 GB, free: 93.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.803e-05/1.733, allocations: 28.47 kB / 0.6688 GB, free: 93.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/1.733, allocations: 58.25 kB / 0.6689 GB, free: 93.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-05/1.734, allocations: 36.52 kB / 0.6689 GB, free: 93.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.009e-05/1.734, allocations: 35.95 kB / 0.669 GB, free: 93.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0063/1.74, allocations: 5.388 MB / 0.6742 GB, free: 89.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/1.742, allocations: 0.5177 MB / 0.6747 GB, free: 88.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008584/1.743, allocations: 53.56 kB / 0.6748 GB, free: 88.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/1.745, allocations: 89.83 kB / 0.6749 GB, free: 88.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003313/1.746, allocations: 150.6 kB / 0.675 GB, free: 88.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.746, allocations: 70.06 kB / 0.6751 GB, free: 88.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007078/1.753, allocations: 2.481 MB / 0.6775 GB, free: 87.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.11e-07/1.753, allocations: 4 kB / 0.6775 GB, free: 87.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007438/1.76, allocations: 0.8862 MB / 0.6784 GB, free: 87.73 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.000755/1.761, allocations: 209.3 kB / 0.6786 GB, free: 87.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009012/1.77, allocations: 3.634 MB / 0.6821 GB, free: 86.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.847e-05/1.77, allocations: 4.062 kB / 0.6821 GB, free: 86.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0016/1.772, allocations: 0.7274 MB / 0.6828 GB, free: 86.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/1.775, allocations: 418.2 kB / 0.6832 GB, free: 85.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02126/1.796, allocations: 10.58 MB / 0.6936 GB, free: 79.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005683/1.802, allocations: 3.192 MB / 0.6967 GB, free: 77.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.803, allocations: 277.3 kB / 0.6969 GB, free: 77.3 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/1.803, allocations: 4 kB / 0.6969 GB, free: 77.3 MB / 410.7 MB Notification: Performance of Templates: time 0.09587/1.899, allocations: 50.07 MB / 0.7458 GB, free: 34.99 MB / 410.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