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.001111/0.001111, allocations: 187.8 kB / 18.04 MB, free: 3.633 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.372/1.372, allocations: 205.4 MB / 224.2 MB, free: 9.035 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.0008146/0.0008145, allocations: 95.59 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 11.98 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2658, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.3824, allocations: 95.08 MB / 472.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.3828, allocations: 87.95 kB / 472.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.382/0.7648, allocations: 83.66 MB / 0.5428 GB, free: 74.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7649, allocations: 0 / 0.5428 GB, free: 74.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002086/0.7651, allocations: 76 kB / 0.5429 GB, free: 74.54 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.01118/0.7763, allocations: 4.035 MB / 0.5468 GB, free: 70.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.7764, allocations: 12.03 kB / 0.5469 GB, free: 70.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009992/0.7864, allocations: 2.382 MB / 0.5492 GB, free: 68.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008306/0.7947, allocations: 3.9 MB / 0.553 GB, free: 64.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/0.7951, allocations: 308.5 kB / 0.5533 GB, free: 63.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/0.797, allocations: 416.1 kB / 0.5537 GB, free: 63.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02051/0.8176, allocations: 10.03 MB / 0.5635 GB, free: 52.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003129/0.8179, allocations: 55.69 kB / 0.5635 GB, free: 52.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0016/0.8195, allocations: 207.8 kB / 0.5637 GB, free: 52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001423/0.821, allocations: 1.006 MB / 0.5647 GB, free: 50.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.8355, allocations: 7.804 MB / 0.5723 GB, free: 43.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04079/0.8764, allocations: 45.67 MB / 0.6169 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006561/0.883, allocations: 2.866 MB / 0.6197 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.8845, allocations: 0.8573 MB / 0.6206 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007819/0.8923, allocations: 3.798 MB / 0.6243 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.8924, allocations: 59.08 kB / 0.6243 GB, free: 4.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=134): time 5.471e-06/0.8924, allocations: 4 kB / 0.6243 GB, free: 4.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=152): time 0.02275/0.9152, allocations: 9.088 MB / 0.6332 GB, free: 10.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.9153, allocations: 145.5 kB / 0.6333 GB, free: 10.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007884/0.9232, allocations: 3.977 MB / 0.6372 GB, free: 6.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.9235, allocations: 49.7 kB / 0.6373 GB, free: 6.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002366/0.9258, allocations: 3.105 MB / 0.6403 GB, free: 3.422 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007238/0.9266, allocations: 0.6019 MB / 0.6409 GB, free: 2.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003841/0.927, allocations: 116 kB / 0.641 GB, free: 2.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004865/0.9275, allocations: 0.5499 MB / 0.6415 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003038/0.9305, allocations: 1.581 MB / 0.6431 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2201/1.151, allocations: 5.345 MB / 0.6483 GB, free: 98.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008121/1.159, allocations: 7.522 MB / 0.6557 GB, free: 93.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002138/1.159, allocations: 38.44 kB / 0.6557 GB, free: 93.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01492/1.174, allocations: 6.658 MB / 0.6622 GB, free: 92.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.174, allocations: 58.69 kB / 0.6622 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/1.174, allocations: 140.8 kB / 0.6624 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/1.174, allocations: 179.2 kB / 0.6626 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004142/1.179, allocations: 1.395 MB / 0.6639 GB, free: 92.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001643/1.179, allocations: 260.6 kB / 0.6642 GB, free: 92.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004536/1.183, allocations: 364.3 kB / 0.6645 GB, free: 92.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008366/1.184, allocations: 370.8 kB / 0.6649 GB, free: 92.09 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.003898/1.188, allocations: 1.982 MB / 0.6668 GB, free: 91.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006235/1.189, allocations: 339.3 kB / 0.6671 GB, free: 91.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/1.191, allocations: 1.245 MB / 0.6683 GB, free: 91.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/1.191, allocations: 18.03 kB / 0.6684 GB, free: 91.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.191, allocations: 0 / 0.6684 GB, free: 91.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.191, allocations: 7.828 kB / 0.6684 GB, free: 91.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008665/1.2, allocations: 5.805 MB / 0.674 GB, free: 89.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/1.2, allocations: 19.81 kB / 0.6741 GB, free: 89.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/1.201, allocations: 284 kB / 0.6743 GB, free: 89.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.969e-05/1.201, allocations: 24.38 kB / 0.6743 GB, free: 89.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/1.201, allocations: 55.7 kB / 0.6744 GB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.2e-05/1.201, allocations: 37.3 kB / 0.6744 GB, free: 89.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.459e-05/1.201, allocations: 31.59 kB / 0.6745 GB, free: 89.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/1.204, allocations: 3.248 MB / 0.6776 GB, free: 87.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.205, allocations: 0.5244 MB / 0.6781 GB, free: 87.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/1.206, allocations: 57.36 kB / 0.6782 GB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/1.207, allocations: 86.84 kB / 0.6783 GB, free: 87.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/1.207, allocations: 153.7 kB / 0.6784 GB, free: 87.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.75e-05/1.207, allocations: 65.42 kB / 0.6785 GB, free: 87.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004264/1.211, allocations: 2.481 MB / 0.6809 GB, free: 86.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.211, allocations: 0 / 0.6809 GB, free: 86.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005548/1.217, allocations: 0.8825 MB / 0.6818 GB, free: 86.45 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.0005178/1.217, allocations: 216.7 kB / 0.682 GB, free: 86.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006256/1.224, allocations: 3.636 MB / 0.6855 GB, free: 85.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/1.224, allocations: 3.75 kB / 0.6855 GB, free: 85.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008557/1.225, allocations: 0.7362 MB / 0.6863 GB, free: 84.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01129/1.236, allocations: 447.1 kB / 0.6867 GB, free: 84.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/1.25, allocations: 10.19 MB / 0.6966 GB, free: 78.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002914/1.253, allocations: 3.103 MB / 0.6997 GB, free: 75.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004276/1.258, allocations: 1.779 MB / 0.7014 GB, free: 74.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/1.258, allocations: 229.6 kB / 0.7016 GB, free: 74.38 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/1.258, allocations: 0 / 0.7016 GB, free: 74.38 MB / 410.7 MB Notification: Performance of Templates: time 0.04541/1.304, allocations: 25.75 MB / 0.7268 GB, free: 55.66 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/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_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches