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.001513/0.001513, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001098, allocations: 93.98 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.424e-05, allocations: 4 kB / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3351, allocations: 47.56 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.4955, allocations: 97.01 MB / 459.3 MB, free: 5.273 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.4959, allocations: 83.95 kB / 459.4 MB, free: 5.191 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5861/1.082, allocations: 71.79 MB / 0.5188 GB, free: 97.24 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.515e-06/1.082, allocations: 0 / 0.5188 GB, free: 97.24 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002168/1.082, allocations: 68.69 kB / 0.5188 GB, free: 97.24 MB / 395.1 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.0127/1.095, allocations: 3.394 MB / 0.5221 GB, free: 95.7 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.095, allocations: 11.03 kB / 0.5222 GB, free: 95.7 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/1.111, allocations: 2.088 MB / 0.5242 GB, free: 95.44 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/1.126, allocations: 4.047 MB / 0.5281 GB, free: 94.89 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/1.126, allocations: 110.2 kB / 0.5283 GB, free: 94.89 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/1.128, allocations: 208.1 kB / 0.5285 GB, free: 94.89 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01224/1.14, allocations: 5.119 MB / 0.5335 GB, free: 94.14 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/1.159, allocations: 8.04 MB / 0.5413 GB, free: 89.5 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002133/1.159, allocations: 65.22 kB / 0.5414 GB, free: 89.46 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001119/1.16, allocations: 32.38 kB / 0.5414 GB, free: 89.46 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001824/1.162, allocations: 0.8771 MB / 0.5423 GB, free: 89.31 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.053/1.215, allocations: 41.29 MB / 0.5826 GB, free: 55.24 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004184/1.219, allocations: 2.516 MB / 0.585 GB, free: 52.79 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002482/1.222, allocations: 1.392 MB / 0.5864 GB, free: 51.51 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007584/1.223, allocations: 0.6404 MB / 0.587 GB, free: 50.8 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/1.223, allocations: 58.2 kB / 0.5871 GB, free: 50.74 MB / 395.1 MB Notification: Performance of pre-optimization done (n=129): time 4.929e-06/1.223, allocations: 4 kB / 0.5871 GB, free: 50.73 MB / 395.1 MB Notification: Performance of matching and sorting (n=138): time 0.03429/1.257, allocations: 12.26 MB / 0.599 GB, free: 38.34 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/1.257, allocations: 167 kB / 0.5992 GB, free: 38.14 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005801/1.263, allocations: 2.814 MB / 0.602 GB, free: 35.33 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003903/1.264, allocations: 25.7 kB / 0.602 GB, free: 35.3 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002215/1.266, allocations: 2.786 MB / 0.6047 GB, free: 32.47 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008856/1.267, allocations: 0.5362 MB / 0.6052 GB, free: 31.93 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006433/1.267, allocations: 3.938 kB / 0.6052 GB, free: 31.93 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0003851/1.268, allocations: 0.5423 MB / 0.6058 GB, free: 31.38 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004029/1.272, allocations: 1.608 MB / 0.6073 GB, free: 29.76 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006075/1.278, allocations: 5.146 MB / 0.6124 GB, free: 22.82 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006035/1.284, allocations: 2.859 MB / 0.6151 GB, free: 19.96 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/1.284, allocations: 36 kB / 0.6152 GB, free: 19.93 MB / 395.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01569/1.3, allocations: 5.993 MB / 0.621 GB, free: 13.93 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.597e-05/1.3, allocations: 60 kB / 0.6211 GB, free: 13.87 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001616/1.3, allocations: 131.9 kB / 0.6212 GB, free: 13.74 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000952/1.301, allocations: 344.9 kB / 0.6215 GB, free: 13.4 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008154/1.309, allocations: 1.349 MB / 0.6229 GB, free: 12.05 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/1.312, allocations: 2.203 MB / 0.625 GB, free: 9.734 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005586/1.318, allocations: 183.5 kB / 0.6252 GB, free: 9.555 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.319, allocations: 348 kB / 0.6255 GB, free: 9.215 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 693 * 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.001221/1.32, allocations: 424.9 kB / 0.6259 GB, free: 8.789 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007056/1.321, allocations: 284.2 kB / 0.6262 GB, free: 8.508 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007468/1.329, allocations: 2.303 MB / 0.6284 GB, free: 6.176 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.403e-05/1.329, allocations: 19.94 kB / 0.6285 GB, free: 6.16 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.329, allocations: 4 kB / 0.6285 GB, free: 6.156 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-05/1.329, allocations: 7.984 kB / 0.6285 GB, free: 6.148 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/1.347, allocations: 5.724 MB / 0.6341 GB, free: 392 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.347, allocations: 0 / 0.6341 GB, free: 392 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.349, allocations: 191.7 kB / 0.6342 GB, free: 200 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004096/1.353, allocations: 0.7031 MB / 0.6349 GB, free: 15.49 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003206/1.354, allocations: 7.984 kB / 0.6349 GB, free: 15.48 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009903/1.363, allocations: 4.288 MB / 0.6391 GB, free: 11.09 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.364, allocations: 3.953 kB / 0.6391 GB, free: 11.08 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/1.376, allocations: 4.473 MB / 0.6435 GB, free: 6.531 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/1.378, allocations: 0.505 MB / 0.644 GB, free: 6.004 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007416/1.379, allocations: 0 / 0.644 GB, free: 6.004 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/1.381, allocations: 51.91 kB / 0.644 GB, free: 5.953 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000428/1.382, allocations: 88.62 kB / 0.6441 GB, free: 5.871 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.382, allocations: 39.83 kB / 0.6442 GB, free: 5.836 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.005349/1.387, allocations: 1.865 MB / 0.646 GB, free: 3.977 MB / 411.1 MB Notification: Performance of sort global known variables: time 8.01e-07/1.387, allocations: 0 / 0.646 GB, free: 3.977 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.006763/1.394, allocations: 0.7109 MB / 0.6467 GB, free: 3.266 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0007386/1.395, allocations: 147 kB / 0.6468 GB, free: 3.109 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.291/1.686, allocations: 3.815 MB / 0.6505 GB, free: 99.82 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.686, allocations: 0 / 0.6505 GB, free: 99.82 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002433/1.688, allocations: 1.097 MB / 0.6516 GB, free: 99.71 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/1.691, allocations: 295.2 kB / 0.6519 GB, free: 99.69 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02028/1.711, allocations: 6.3 MB / 0.6581 GB, free: 98.45 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007045/1.719, allocations: 2.874 MB / 0.6609 GB, free: 97.68 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/1.72, allocations: 242.1 kB / 0.6611 GB, free: 97.68 MB / 411.1 MB Notification: Performance of SimCode: time 1.522e-06/1.72, allocations: 0 / 0.6611 GB, free: 97.68 MB / 411.1 MB Notification: Performance of Templates: time 0.1152/1.835, allocations: 59.9 MB / 0.7196 GB, free: 71.01 MB / 411.1 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