Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001349/0.001349, allocations: 178.3 kB / 17.41 MB, free: 4.41 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.313/1.313, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007161/0.000716, allocations: 79.92 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 12 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2106, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.3208, allocations: 97.93 MB / 473.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.321, allocations: 91.95 kB / 473.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3189/0.64, allocations: 72.25 MB / 0.5332 GB, free: 84.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.64, allocations: 3.938 kB / 0.5332 GB, free: 84.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001273/0.6401, allocations: 68 kB / 0.5333 GB, free: 83.96 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008028/0.6482, allocations: 3.521 MB / 0.5367 GB, free: 80.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.6482, allocations: 8.031 kB / 0.5367 GB, free: 80.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007891/0.6561, allocations: 2.055 MB / 0.5387 GB, free: 78.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005361/0.6615, allocations: 2.997 MB / 0.5416 GB, free: 75.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.6617, allocations: 263.3 kB / 0.5419 GB, free: 74.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007626/0.6625, allocations: 356.1 kB / 0.5422 GB, free: 74.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.6745, allocations: 8.928 MB / 0.551 GB, free: 64.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.6746, allocations: 67.58 kB / 0.551 GB, free: 64.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/0.6751, allocations: 175.8 kB / 0.5512 GB, free: 64.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009081/0.676, allocations: 0.8839 MB / 0.552 GB, free: 63.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.6871, allocations: 7.198 MB / 0.5591 GB, free: 56.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03065/0.7178, allocations: 42.91 MB / 0.601 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006089/0.7239, allocations: 3.31 MB / 0.6042 GB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.7254, allocations: 1.447 MB / 0.6056 GB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005151/0.7306, allocations: 4.404 MB / 0.6099 GB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.7306, allocations: 47.06 kB / 0.61 GB, free: 2.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 3.606e-06/0.7306, allocations: 0 / 0.61 GB, free: 2.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.0249/0.7555, allocations: 11.43 MB / 0.6211 GB, free: 6.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.7556, allocations: 145.1 kB / 0.6213 GB, free: 6.727 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004931/0.7606, allocations: 3.73 MB / 0.6249 GB, free: 3.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001743/0.7608, allocations: 45.7 kB / 0.625 GB, free: 2.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.7625, allocations: 2.748 MB / 0.6276 GB, free: 168 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005357/0.763, allocations: 0.5172 MB / 0.6282 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.7633, allocations: 108 kB / 0.6283 GB, free: 15.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003159/0.7636, allocations: 0.537 MB / 0.6288 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002424/0.766, allocations: 1.673 MB / 0.6304 GB, free: 13.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004582/0.7706, allocations: 5.113 MB / 0.6354 GB, free: 6.461 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007942/0.7786, allocations: 7.4 MB / 0.6426 GB, free: 13.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.711e-05/0.7787, allocations: 36 kB / 0.6427 GB, free: 13.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01/0.7887, allocations: 6.675 MB / 0.6492 GB, free: 6.625 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.532e-05/0.7888, allocations: 64.19 kB / 0.6493 GB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-05/0.7889, allocations: 120.2 kB / 0.6494 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/0.7895, allocations: 316.7 kB / 0.6497 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003469/0.793, allocations: 1.287 MB / 0.6509 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.7954, allocations: 2.302 MB / 0.6532 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/0.7984, allocations: 283.5 kB / 0.6534 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004023/0.7988, allocations: 336 kB / 0.6538 GB, free: 1.801 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (666): * Single equations (assignments): 662 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.1608/0.9597, allocations: 1.794 MB / 0.6555 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007864/0.9605, allocations: 312.6 kB / 0.6558 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.9651, allocations: 2.351 MB / 0.6581 GB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.821e-05/0.9651, allocations: 20.59 kB / 0.6581 GB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.9651, allocations: 7.562 kB / 0.6581 GB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.9652, allocations: 7.156 kB / 0.6581 GB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.9763, allocations: 5.932 MB / 0.6639 GB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.9763, allocations: 7.625 kB / 0.6639 GB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008473/0.9772, allocations: 169.7 kB / 0.6641 GB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/0.9793, allocations: 0.7138 MB / 0.6648 GB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/0.9795, allocations: 21.78 kB / 0.6648 GB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005425/0.9849, allocations: 4.45 MB / 0.6692 GB, free: 117.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.985, allocations: 3.812 kB / 0.6692 GB, free: 117.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/0.9911, allocations: 4.328 MB / 0.6734 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.9926, allocations: 0.5307 MB / 0.6739 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004278/0.9931, allocations: 23.38 kB / 0.6739 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.9941, allocations: 66.69 kB / 0.674 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.9943, allocations: 68.88 kB / 0.6741 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.09e-05/0.9944, allocations: 39.16 kB / 0.6741 GB, free: 116.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003245/0.9977, allocations: 2.324 MB / 0.6764 GB, free: 115.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9977, allocations: 3.969 kB / 0.6764 GB, free: 115.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00401/1.002, allocations: 0.8298 MB / 0.6772 GB, free: 115.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004028/1.002, allocations: 158.9 kB / 0.6773 GB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005127/1.007, allocations: 4.004 MB / 0.6813 GB, free: 114.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.007, allocations: 0 / 0.6813 GB, free: 114.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/1.009, allocations: 1.106 MB / 0.6823 GB, free: 114 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/1.011, allocations: 368.7 kB / 0.6827 GB, free: 113.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/1.024, allocations: 9.036 MB / 0.6915 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002334/1.026, allocations: 2.791 MB / 0.6942 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008414/1.027, allocations: 251 kB / 0.6945 GB, free: 108.1 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/1.027, allocations: 3.625 kB / 0.6945 GB, free: 108.1 MB / 426.7 MB Notification: Performance of Templates: time 0.06757/1.095, allocations: 63.44 MB / 0.7564 GB, free: 53.73 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches