Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009783/0.0009781, allocations: 102 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.931e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3865/0.4972, allocations: 98.72 MB / 486.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4975, allocations: 83.95 kB / 486.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1894/0.6869, allocations: 72.73 MB / 0.5459 GB, free: 2.738 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.687, allocations: 0 / 0.5459 GB, free: 2.738 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000188/0.6872, allocations: 68 kB / 0.546 GB, free: 2.672 MB / 426.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.2435/0.9307, allocations: 3.377 MB / 0.5493 GB, free: 98.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.9308, allocations: 9.781 kB / 0.5493 GB, free: 98.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.9415, allocations: 2.086 MB / 0.5513 GB, free: 98.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.9537, allocations: 3.88 MB / 0.5551 GB, free: 98.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.9539, allocations: 113.1 kB / 0.5552 GB, free: 98.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.955, allocations: 210.8 kB / 0.5554 GB, free: 98.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009198/0.9643, allocations: 5.119 MB / 0.5604 GB, free: 98.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.979, allocations: 8.046 MB / 0.5683 GB, free: 95.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001587/0.9792, allocations: 57.09 kB / 0.5683 GB, free: 95.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004757/0.9797, allocations: 27.44 kB / 0.5683 GB, free: 95.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001015/0.9807, allocations: 0.8856 MB / 0.5692 GB, free: 95.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03473/1.015, allocations: 41.25 MB / 0.6095 GB, free: 65.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/1.018, allocations: 2.511 MB / 0.6119 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/1.019, allocations: 1.399 MB / 0.6133 GB, free: 63.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004586/1.02, allocations: 0.6506 MB / 0.6139 GB, free: 63.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/1.02, allocations: 46.97 kB / 0.614 GB, free: 63.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=129): time 3.657e-06/1.02, allocations: 3.125 kB / 0.614 GB, free: 63.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=138): time 0.01856/1.038, allocations: 12.21 MB / 0.6259 GB, free: 57.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.038, allocations: 168.9 kB / 0.6261 GB, free: 57.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003428/1.042, allocations: 2.797 MB / 0.6288 GB, free: 56.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001856/1.042, allocations: 29.64 kB / 0.6288 GB, free: 56.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/1.043, allocations: 2.792 MB / 0.6316 GB, free: 54.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00042/1.044, allocations: 0.5394 MB / 0.6321 GB, free: 54.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/1.044, allocations: 2.688 kB / 0.6321 GB, free: 54.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000219/1.044, allocations: 0.5383 MB / 0.6326 GB, free: 53.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/1.046, allocations: 1.607 MB / 0.6342 GB, free: 53.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003058/1.049, allocations: 5.15 MB / 0.6392 GB, free: 47.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/1.052, allocations: 2.865 MB / 0.642 GB, free: 46.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.029e-05/1.053, allocations: 35.41 kB / 0.642 GB, free: 46.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01011/1.063, allocations: 6.046 MB / 0.648 GB, free: 42.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.685e-05/1.063, allocations: 60 kB / 0.648 GB, free: 42.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-05/1.063, allocations: 128.9 kB / 0.6481 GB, free: 42.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/1.063, allocations: 345.1 kB / 0.6485 GB, free: 41.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/1.067, allocations: 1.344 MB / 0.6498 GB, free: 40.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/1.069, allocations: 2.21 MB / 0.6519 GB, free: 38.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/1.072, allocations: 183.6 kB / 0.6521 GB, free: 38.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004409/1.073, allocations: 354.7 kB / 0.6524 GB, free: 37.98 MB / 426.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.0005464/1.073, allocations: 428.1 kB / 0.6529 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003753/1.074, allocations: 280.3 kB / 0.6531 GB, free: 37.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/1.078, allocations: 2.303 MB / 0.6554 GB, free: 35.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/1.078, allocations: 16 kB / 0.6554 GB, free: 35.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.078, allocations: 7.938 kB / 0.6554 GB, free: 35.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/1.078, allocations: 7.703 kB / 0.6554 GB, free: 35.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00913/1.087, allocations: 5.731 MB / 0.661 GB, free: 30.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.087, allocations: 0 / 0.661 GB, free: 30.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008112/1.088, allocations: 183.6 kB / 0.6612 GB, free: 30.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/1.09, allocations: 0.7112 MB / 0.6619 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-05/1.09, allocations: 7.938 kB / 0.6619 GB, free: 30.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004383/1.094, allocations: 4.289 MB / 0.6661 GB, free: 26.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.094, allocations: 4.062 kB / 0.6661 GB, free: 26.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005875/1.1, allocations: 4.466 MB / 0.6704 GB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007697/1.101, allocations: 340.2 kB / 0.6708 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/1.101, allocations: 4 kB / 0.6708 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009526/1.102, allocations: 52.23 kB / 0.6708 GB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/1.102, allocations: 77.64 kB / 0.6709 GB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/1.102, allocations: 36.95 kB / 0.6709 GB, free: 22.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002466/1.105, allocations: 1.85 MB / 0.6727 GB, free: 20.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/1.105, allocations: 0 / 0.6727 GB, free: 20.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004642/1.11, allocations: 0.7162 MB / 0.6734 GB, free: 19.75 MB / 426.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.0003971/1.11, allocations: 143.5 kB / 0.6736 GB, free: 19.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005207/1.115, allocations: 3.817 MB / 0.6773 GB, free: 16.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.115, allocations: 6.438 kB / 0.6773 GB, free: 16.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/1.116, allocations: 1.103 MB / 0.6784 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/1.118, allocations: 303.2 kB / 0.6787 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008705/1.127, allocations: 5.897 MB / 0.6844 GB, free: 9.613 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/1.129, allocations: 2.861 MB / 0.6872 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003724/1.133, allocations: 1.736 MB / 0.6889 GB, free: 6.012 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/1.133, allocations: 191.4 kB / 0.6891 GB, free: 5.824 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/1.133, allocations: 0 / 0.6891 GB, free: 5.824 MB / 426.7 MB Notification: Performance of Templates: time 0.2763/1.409, allocations: 25.56 MB / 0.714 GB, free: 102.2 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches