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.001512/0.001512, allocations: 180.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007409/0.0007407, allocations: 85.72 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 7.938 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3228, allocations: 50.39 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.4485, allocations: 99.46 MB / 0.4892 GB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.4488, allocations: 95.94 kB / 0.4893 GB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.461/0.9099, allocations: 74.09 MB / 0.5617 GB, free: 51.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.9099, allocations: 0 / 0.5617 GB, free: 51.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001652/0.9101, allocations: 64 kB / 0.5617 GB, free: 51.41 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.0125/0.9226, allocations: 3.598 MB / 0.5652 GB, free: 47.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.9227, allocations: 12.03 kB / 0.5652 GB, free: 47.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.9329, allocations: 2.085 MB / 0.5673 GB, free: 45.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008479/0.9414, allocations: 3.916 MB / 0.5711 GB, free: 41.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.9415, allocations: 266.9 kB / 0.5714 GB, free: 41.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007222/0.9423, allocations: 355.8 kB / 0.5717 GB, free: 41.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.9538, allocations: 8.987 MB / 0.5805 GB, free: 31.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.954, allocations: 63.45 kB / 0.5805 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004326/0.9544, allocations: 171.9 kB / 0.5807 GB, free: 30.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009006/0.9553, allocations: 0.8878 MB / 0.5816 GB, free: 29.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.9665, allocations: 7.269 MB / 0.5887 GB, free: 22.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03622/1.003, allocations: 42.93 MB / 0.6306 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007091/1.01, allocations: 3.306 MB / 0.6338 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006962/1.017, allocations: 4.416 MB / 0.6381 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/1.017, allocations: 51.05 kB / 0.6382 GB, free: 2.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 3.336e-06/1.017, allocations: 4 kB / 0.6382 GB, free: 2.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.02781/1.045, allocations: 11.61 MB / 0.6495 GB, free: 6.379 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/1.045, allocations: 137.2 kB / 0.6496 GB, free: 6.215 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004639/1.05, allocations: 3.322 MB / 0.6529 GB, free: 2.902 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001584/1.05, allocations: 41.7 kB / 0.6529 GB, free: 2.855 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001785/1.052, allocations: 2.756 MB / 0.6556 GB, free: 60 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005407/1.052, allocations: 0.5172 MB / 0.6561 GB, free: 15.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/1.052, allocations: 108 kB / 0.6562 GB, free: 15.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003106/1.053, allocations: 0.5292 MB / 0.6567 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/1.055, allocations: 1.677 MB / 0.6584 GB, free: 13.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004432/1.059, allocations: 5.094 MB / 0.6634 GB, free: 6.379 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003634/1.063, allocations: 2.87 MB / 0.6662 GB, free: 3.508 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.761e-05/1.063, allocations: 36 kB / 0.6662 GB, free: 3.473 MB / 442.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.211/1.274, allocations: 6.677 MB / 0.6727 GB, free: 109.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/1.274, allocations: 60.12 kB / 0.6728 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/1.274, allocations: 123.2 kB / 0.6729 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/1.275, allocations: 335.2 kB / 0.6732 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003892/1.279, allocations: 1.285 MB / 0.6745 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/1.281, allocations: 2.33 MB / 0.6767 GB, free: 108.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/1.284, allocations: 283.7 kB / 0.677 GB, free: 108.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005452/1.285, allocations: 334.8 kB / 0.6773 GB, free: 108.4 MB / 442.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.002495/1.288, allocations: 1.788 MB / 0.6791 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004915/1.288, allocations: 310.7 kB / 0.6794 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/1.292, allocations: 2.359 MB / 0.6817 GB, free: 108.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/1.292, allocations: 21.28 kB / 0.6817 GB, free: 108.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.292, allocations: 3.031 kB / 0.6817 GB, free: 108.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.292, allocations: 9.328 kB / 0.6817 GB, free: 108.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/1.303, allocations: 5.932 MB / 0.6875 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.303, allocations: 0 / 0.6875 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/1.304, allocations: 174.4 kB / 0.6877 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/1.306, allocations: 0.7167 MB / 0.6884 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.29e-05/1.306, allocations: 18.12 kB / 0.6884 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005048/1.311, allocations: 4.568 MB / 0.6928 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.311, allocations: 0 / 0.6928 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005803/1.317, allocations: 4.449 MB / 0.6972 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009094/1.318, allocations: 372.8 kB / 0.6975 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/1.318, allocations: 26.33 kB / 0.6976 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.319, allocations: 61.53 kB / 0.6976 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/1.319, allocations: 76.73 kB / 0.6977 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.64e-05/1.32, allocations: 37.39 kB / 0.6977 GB, free: 105.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003138/1.323, allocations: 2.312 MB / 0.7 GB, free: 104.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.323, allocations: 0 / 0.7 GB, free: 104.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00422/1.327, allocations: 0.8257 MB / 0.7008 GB, free: 104.8 MB / 442.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.0003971/1.327, allocations: 170.4 kB / 0.701 GB, free: 104.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005479/1.333, allocations: 4.001 MB / 0.7049 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.333, allocations: 5.938 kB / 0.7049 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/1.334, allocations: 1.112 MB / 0.706 GB, free: 103.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/1.336, allocations: 348.6 kB / 0.7063 GB, free: 103 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/1.349, allocations: 8.573 MB / 0.7147 GB, free: 98.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/1.351, allocations: 2.86 MB / 0.7175 GB, free: 97.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003974/1.355, allocations: 1.655 MB / 0.7191 GB, free: 97.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/1.356, allocations: 211.6 kB / 0.7193 GB, free: 97.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.723e-06/1.356, allocations: 4 kB / 0.7193 GB, free: 97.5 MB / 442.7 MB Notification: Performance of Templates: time 0.0492/1.405, allocations: 29.05 MB / 0.7477 GB, free: 77.47 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