Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001609/0.001609, allocations: 178.4 kB / 8.697 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.359/1.359, allocations: 205.3 MB / 214.4 MB, free: 1.734 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.0008854/0.0008854, allocations: 82.72 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.473e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09629/0.09633, allocations: 47.59 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4462, allocations: 97.24 MB / 460.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.4465, allocations: 90.19 kB / 460.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.191/0.6375, allocations: 71.79 MB / 0.5197 GB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.6376, allocations: 0 / 0.5197 GB, free: 12.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001567/0.6378, allocations: 72 kB / 0.5198 GB, free: 11.96 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01055/0.6483, allocations: 3.385 MB / 0.5231 GB, free: 8.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6484, allocations: 16.03 kB / 0.5231 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.6584, allocations: 2.082 MB / 0.5251 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.6698, allocations: 4.045 MB / 0.5291 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.67, allocations: 120 kB / 0.5292 GB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.6712, allocations: 207.9 kB / 0.5294 GB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2144/0.8855, allocations: 5.11 MB / 0.5344 GB, free: 97.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/0.8986, allocations: 8.038 MB / 0.5422 GB, free: 94.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001817/0.8988, allocations: 54.08 kB / 0.5423 GB, free: 94.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004581/0.8993, allocations: 29.09 kB / 0.5423 GB, free: 94.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001373/0.9006, allocations: 0.8867 MB / 0.5432 GB, free: 94.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03493/0.9356, allocations: 41.28 MB / 0.5835 GB, free: 67.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.938, allocations: 2.506 MB / 0.586 GB, free: 65.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.9395, allocations: 1.402 MB / 0.5873 GB, free: 65.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005553/0.9401, allocations: 0.6519 MB / 0.588 GB, free: 64.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.9401, allocations: 46.62 kB / 0.588 GB, free: 64.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 5.019e-06/0.9401, allocations: 3.906 kB / 0.588 GB, free: 64.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.01879/0.9589, allocations: 12.27 MB / 0.6 GB, free: 59.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.959, allocations: 173.5 kB / 0.6002 GB, free: 59.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003703/0.9627, allocations: 2.813 MB / 0.6029 GB, free: 58.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.9629, allocations: 29.23 kB / 0.6029 GB, free: 58.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.9642, allocations: 2.794 MB / 0.6057 GB, free: 56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/0.9646, allocations: 0.5363 MB / 0.6062 GB, free: 55.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.9648, allocations: 3.031 kB / 0.6062 GB, free: 55.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002398/0.9651, allocations: 0.5385 MB / 0.6067 GB, free: 55.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/0.9669, allocations: 1.614 MB / 0.6083 GB, free: 54.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002949/0.9699, allocations: 5.144 MB / 0.6133 GB, free: 49.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/0.9729, allocations: 2.857 MB / 0.6161 GB, free: 48.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.465e-05/0.9729, allocations: 36.59 kB / 0.6161 GB, free: 48.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.008595/0.9815, allocations: 6.059 MB / 0.6221 GB, free: 46.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.561e-05/0.9817, allocations: 59.06 kB / 0.6221 GB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/0.9818, allocations: 127.3 kB / 0.6222 GB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/0.9824, allocations: 346.8 kB / 0.6226 GB, free: 46.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003801/0.9862, allocations: 1.343 MB / 0.6239 GB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.9881, allocations: 2.203 MB / 0.626 GB, free: 43.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/0.992, allocations: 189.9 kB / 0.6262 GB, free: 43.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005753/0.9926, allocations: 351.6 kB / 0.6265 GB, free: 43.47 MB / 410.7 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.0006576/0.9933, allocations: 423.9 kB / 0.6269 GB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004264/0.9937, allocations: 292.1 kB / 0.6272 GB, free: 42.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/0.9978, allocations: 2.301 MB / 0.6295 GB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.9978, allocations: 17.48 kB / 0.6295 GB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.9979, allocations: 4 kB / 0.6295 GB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.9979, allocations: 6.562 kB / 0.6295 GB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009345/1.007, allocations: 5.723 MB / 0.6351 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.007, allocations: 12.03 kB / 0.6351 GB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008072/1.008, allocations: 180.7 kB / 0.6353 GB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001933/1.01, allocations: 0.7066 MB / 0.636 GB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.541e-05/1.01, allocations: 7.891 kB / 0.636 GB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004405/1.015, allocations: 4.289 MB / 0.6402 GB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.015, allocations: 4.031 kB / 0.6402 GB, free: 31.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0058/1.02, allocations: 4.466 MB / 0.6445 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.022, allocations: 0.5127 MB / 0.645 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/1.022, allocations: 4 kB / 0.645 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.023, allocations: 52.28 kB / 0.6451 GB, free: 27.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/1.023, allocations: 72.16 kB / 0.6451 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.496e-05/1.023, allocations: 40.31 kB / 0.6452 GB, free: 27.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002733/1.026, allocations: 1.864 MB / 0.647 GB, free: 25.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.026, allocations: 112 / 0.647 GB, free: 25.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004509/1.03, allocations: 0.7117 MB / 0.6477 GB, free: 25.09 MB / 410.7 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.0004154/1.031, allocations: 149.9 kB / 0.6478 GB, free: 24.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005307/1.036, allocations: 3.809 MB / 0.6516 GB, free: 21.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.036, allocations: 0 / 0.6516 GB, free: 21.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/1.037, allocations: 1.106 MB / 0.6526 GB, free: 20.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/1.039, allocations: 305 kB / 0.6529 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009892/1.049, allocations: 5.909 MB / 0.6587 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002541/1.052, allocations: 2.863 MB / 0.6615 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004263/1.056, allocations: 1.737 MB / 0.6632 GB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006722/1.057, allocations: 197.7 kB / 0.6634 GB, free: 11.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/1.057, allocations: 0 / 0.6634 GB, free: 11.48 MB / 410.7 MB Notification: Performance of Templates: time 0.0467/1.103, allocations: 25.56 MB / 0.6883 GB, free: 3.395 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches