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.001522/0.001522, allocations: 179.9 kB / 17.02 MB, free: 5.121 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.346/1.346, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.001114/0.001114, allocations: 92.02 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000241/0.000241, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2362, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.3504, allocations: 97.75 MB / 473.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.3507, allocations: 95.95 kB / 473.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3551/0.7058, allocations: 73.17 MB / 0.534 GB, free: 83.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7059, allocations: 0 / 0.534 GB, free: 83.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001829/0.7061, allocations: 68 kB / 0.5341 GB, free: 83.31 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.01088/0.717, allocations: 3.622 MB / 0.5376 GB, free: 79.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.717, allocations: 8.031 kB / 0.5376 GB, free: 79.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008949/0.726, allocations: 2.085 MB / 0.5397 GB, free: 77.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/0.738, allocations: 4.073 MB / 0.5436 GB, free: 73.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/0.7384, allocations: 266.9 kB / 0.5439 GB, free: 73.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002243/0.7406, allocations: 343.8 kB / 0.5442 GB, free: 72.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02104/0.7617, allocations: 8.986 MB / 0.553 GB, free: 62.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002744/0.762, allocations: 55.5 kB / 0.553 GB, free: 62.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001578/0.7636, allocations: 175.9 kB / 0.5532 GB, free: 62.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001252/0.7649, allocations: 0.8839 MB / 0.5541 GB, free: 61.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.7805, allocations: 7.277 MB / 0.5612 GB, free: 54.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04623/0.8268, allocations: 42.97 MB / 0.6031 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00691/0.8338, allocations: 3.307 MB / 0.6064 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008377/0.8422, allocations: 4.428 MB / 0.6107 GB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/0.8423, allocations: 59 kB / 0.6108 GB, free: 1.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 6.011e-06/0.8423, allocations: 0 / 0.6108 GB, free: 1.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.03229/0.8746, allocations: 11.67 MB / 0.6222 GB, free: 6.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.8747, allocations: 145.1 kB / 0.6223 GB, free: 5.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006147/0.8809, allocations: 3.334 MB / 0.6255 GB, free: 2.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003695/0.8813, allocations: 45.7 kB / 0.6256 GB, free: 2.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002118/0.8834, allocations: 2.752 MB / 0.6283 GB, free: 15.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007969/0.8842, allocations: 0.5209 MB / 0.6288 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.8845, allocations: 108 kB / 0.6289 GB, free: 15.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003504/0.8849, allocations: 0.5292 MB / 0.6294 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002854/0.8877, allocations: 1.681 MB / 0.631 GB, free: 12.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005646/0.8934, allocations: 5.09 MB / 0.636 GB, free: 5.992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004546/0.898, allocations: 2.875 MB / 0.6388 GB, free: 3.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.441e-05/0.8981, allocations: 36 kB / 0.6389 GB, free: 3.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.2578/1.156, allocations: 6.658 MB / 0.6454 GB, free: 101.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.156, allocations: 63.34 kB / 0.6454 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001974/1.156, allocations: 121.3 kB / 0.6455 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/1.157, allocations: 335.1 kB / 0.6459 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00533/1.162, allocations: 1.287 MB / 0.6471 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/1.165, allocations: 2.328 MB / 0.6494 GB, free: 99.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005683/1.171, allocations: 288.8 kB / 0.6497 GB, free: 99.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/1.173, allocations: 334 kB / 0.65 GB, free: 99.94 MB / 410.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.005983/1.179, allocations: 1.79 MB / 0.6517 GB, free: 99.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008992/1.18, allocations: 309.6 kB / 0.652 GB, free: 99.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005285/1.185, allocations: 2.362 MB / 0.6543 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.814e-05/1.185, allocations: 16.81 kB / 0.6543 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.185, allocations: 4.594 kB / 0.6544 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/1.185, allocations: 7.734 kB / 0.6544 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.197, allocations: 5.942 MB / 0.6602 GB, free: 99.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.197, allocations: 0 / 0.6602 GB, free: 99.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008524/1.197, allocations: 177.7 kB / 0.6603 GB, free: 99.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/1.2, allocations: 0.7104 MB / 0.661 GB, free: 99.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/1.2, allocations: 25.66 kB / 0.6611 GB, free: 99.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005128/1.205, allocations: 4.564 MB / 0.6655 GB, free: 97.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.205, allocations: 0 / 0.6655 GB, free: 97.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00604/1.211, allocations: 4.451 MB / 0.6699 GB, free: 95.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/1.213, allocations: 0.538 MB / 0.6704 GB, free: 95.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006673/1.213, allocations: 23.64 kB / 0.6704 GB, free: 95.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.215, allocations: 67.91 kB / 0.6705 GB, free: 95.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/1.215, allocations: 72.73 kB / 0.6705 GB, free: 95.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.326e-05/1.215, allocations: 32 kB / 0.6706 GB, free: 95.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004112/1.219, allocations: 2.324 MB / 0.6728 GB, free: 94.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.219, allocations: 0 / 0.6728 GB, free: 94.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006446/1.226, allocations: 0.829 MB / 0.6736 GB, free: 94.57 MB / 410.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.0006151/1.226, allocations: 161.6 kB / 0.6738 GB, free: 94.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006829/1.233, allocations: 4.01 MB / 0.6777 GB, free: 93.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.233, allocations: 0 / 0.6777 GB, free: 93.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001845/1.235, allocations: 1.105 MB / 0.6788 GB, free: 92.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/1.238, allocations: 357.7 kB / 0.6791 GB, free: 92.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/1.256, allocations: 8.586 MB / 0.6875 GB, free: 88.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004801/1.261, allocations: 2.862 MB / 0.6903 GB, free: 86.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004647/1.266, allocations: 1.66 MB / 0.6919 GB, free: 85.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008917/1.267, allocations: 206.6 kB / 0.6921 GB, free: 85.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/1.267, allocations: 4 kB / 0.6921 GB, free: 85.06 MB / 410.7 MB Notification: Performance of Templates: time 0.05866/1.325, allocations: 29.06 MB / 0.7205 GB, free: 60.88 MB / 410.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