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.0009481/0.0009482, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.3 MB / 214.4 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008347/0.0008347, allocations: 87.95 kB / 262.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.846e-05/1.85e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07836/0.0784, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2981/0.3766, allocations: 94.42 MB / 457.5 MB, free: 1.465 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.3769, allocations: 84.52 kB / 457.6 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2196/0.5965, allocations: 83.35 MB / 0.5283 GB, free: 3.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5965, allocations: 192 / 0.5283 GB, free: 3.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001876/0.5967, allocations: 75.94 kB / 0.5283 GB, free: 3.129 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.2013/0.798, allocations: 3.825 MB / 0.5321 GB, free: 92.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.7981, allocations: 10.31 kB / 0.5321 GB, free: 92.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/0.8104, allocations: 2.44 MB / 0.5345 GB, free: 92.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/0.8231, allocations: 5.058 MB / 0.5394 GB, free: 91.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/0.8235, allocations: 136.4 kB / 0.5395 GB, free: 91.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.8248, allocations: 244.9 kB / 0.5398 GB, free: 91.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009971/0.8348, allocations: 5.822 MB / 0.5454 GB, free: 91.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/0.8487, allocations: 8.992 MB / 0.5542 GB, free: 88.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001828/0.8489, allocations: 63.42 kB / 0.5543 GB, free: 88.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005712/0.8495, allocations: 34.16 kB / 0.5543 GB, free: 88.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001237/0.8508, allocations: 1.003 MB / 0.5553 GB, free: 88.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03735/0.8881, allocations: 44.9 MB / 0.5991 GB, free: 57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.8902, allocations: 1.879 MB / 0.601 GB, free: 55.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007243/0.8909, allocations: 0.7623 MB / 0.6017 GB, free: 55.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000542/0.8915, allocations: 0.7692 MB / 0.6025 GB, free: 54.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.8915, allocations: 50.47 kB / 0.6025 GB, free: 54.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=137): time 3.156e-06/0.8915, allocations: 0 / 0.6025 GB, free: 54.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=149): time 0.01224/0.9038, allocations: 7.049 MB / 0.6094 GB, free: 51.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.9038, allocations: 147 kB / 0.6095 GB, free: 51.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003734/0.9076, allocations: 3.002 MB / 0.6125 GB, free: 50 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.9078, allocations: 32.45 kB / 0.6125 GB, free: 49.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.9091, allocations: 3.158 MB / 0.6156 GB, free: 47.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004508/0.9096, allocations: 0.5821 MB / 0.6162 GB, free: 47.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.9097, allocations: 0 / 0.6162 GB, free: 47.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002494/0.91, allocations: 0.5621 MB / 0.6167 GB, free: 46.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.9119, allocations: 1.41 MB / 0.6181 GB, free: 46.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004184/0.9161, allocations: 5.263 MB / 0.6232 GB, free: 40.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/0.9194, allocations: 2.719 MB / 0.6259 GB, free: 39.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-05/0.9195, allocations: 40.16 kB / 0.6259 GB, free: 39.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=784) (initialization): time 0.007177/0.9267, allocations: 5.761 MB / 0.6315 GB, free: 36.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.316e-05/0.9267, allocations: 68.94 kB / 0.6316 GB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.056e-05/0.9268, allocations: 136 kB / 0.6317 GB, free: 35.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.927, allocations: 207.5 kB / 0.6319 GB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00349/0.9305, allocations: 1.443 MB / 0.6333 GB, free: 34.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001196/0.9306, allocations: 272.3 kB / 0.6336 GB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/0.9341, allocations: 268.7 kB / 0.6339 GB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003845/0.9345, allocations: 374.2 kB / 0.6342 GB, free: 33.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * 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 (760): * Single equations (assignments): 757 * 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.0005022/0.935, allocations: 452.1 kB / 0.6347 GB, free: 33.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.9354, allocations: 323.8 kB / 0.635 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.9369, allocations: 1.041 MB / 0.636 GB, free: 31.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.9369, allocations: 16 kB / 0.636 GB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.9369, allocations: 7.938 kB / 0.636 GB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.9369, allocations: 3.844 kB / 0.636 GB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007026/0.944, allocations: 4.856 MB / 0.6407 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.944, allocations: 16 kB / 0.6408 GB, free: 27.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008636/0.9449, allocations: 270.8 kB / 0.641 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.317e-05/0.9449, allocations: 24 kB / 0.641 GB, free: 27.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/0.945, allocations: 24 kB / 0.6411 GB, free: 27.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.938e-05/0.945, allocations: 38.58 kB / 0.6411 GB, free: 27.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/0.945, allocations: 27.88 kB / 0.6411 GB, free: 27.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.9481, allocations: 4.822 MB / 0.6458 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008255/0.949, allocations: 0.4916 MB / 0.6463 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.9493, allocations: 27.61 kB / 0.6463 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.9504, allocations: 62.05 kB / 0.6464 GB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.9505, allocations: 144 kB / 0.6465 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/0.9506, allocations: 60.78 kB / 0.6466 GB, free: 21.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002586/0.9532, allocations: 1.982 MB / 0.6485 GB, free: 19.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9532, allocations: 4 kB / 0.6485 GB, free: 19.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004544/0.9578, allocations: 0.7425 MB / 0.6493 GB, free: 18.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * 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 (141): * Single equations (assignments): 138 * 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.0003966/0.9582, allocations: 179.5 kB / 0.6494 GB, free: 18.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004294/0.9625, allocations: 3.283 MB / 0.6526 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.9625, allocations: 4 kB / 0.6526 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006552/0.9632, allocations: 0.6618 MB / 0.6533 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.9649, allocations: 346 kB / 0.6536 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.9753, allocations: 6.865 MB / 0.6603 GB, free: 8.359 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/0.978, allocations: 3.184 MB / 0.6634 GB, free: 5.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004213/0.9822, allocations: 1.838 MB / 0.6652 GB, free: 4.797 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.9827, allocations: 218.2 kB / 0.6654 GB, free: 4.59 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.9827, allocations: 0 / 0.6654 GB, free: 4.59 MB / 410.7 MB Notification: Performance of Templates: time 0.04546/1.028, allocations: 22.1 MB / 0.687 GB, free: 0.8398 MB / 426.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