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.0009214/0.0009212, allocations: 175.6 kB / 16.72 MB, free: 5.051 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.354/1.354, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007491/0.0007488, allocations: 92.95 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1996, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02089/0.2205, allocations: 31.38 MB / 406.5 MB, free: 17.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.2339, allocations: 7.444 MB / 413.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00569/0.2397, allocations: 147.6 kB / 414.1 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004408/0.2441, allocations: 1.575 MB / 415.6 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.2565, allocations: 4.876 MB / 420.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.2592, allocations: 0.546 MB / 421.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004746/0.2639, allocations: 3.817 MB / 424.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005092/0.269, allocations: 3.187 MB / 428.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.2712, allocations: 1.043 MB / 429.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002515/0.2737, allocations: 1.589 MB / 430.7 MB, free: 8.902 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006857/0.2745, allocations: 123.9 kB / 430.8 MB, free: 8.781 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.2766, allocations: 0.936 MB / 431.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001779/0.2784, allocations: 1.391 MB / 433.1 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002265/0.2807, allocations: 1.586 MB / 434.7 MB, free: 4.848 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005031/0.2857, allocations: 4.438 MB / 439.2 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2858, allocations: 0 / 439.2 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2858, allocations: 0 / 439.2 MB, free: 408 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001516/0.2859, allocations: 0 / 439.2 MB, free: 408 kB / 314.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.006345/0.2923, allocations: 3.301 MB / 442.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.2924, allocations: 8.031 kB / 442.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006152/0.2985, allocations: 1.825 MB / 444.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004275/0.3028, allocations: 1.967 MB / 446.3 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.3031, allocations: 188.8 kB / 446.5 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006404/0.3037, allocations: 259.7 kB / 446.7 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.3176, allocations: 8.423 MB / 455.1 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.3177, allocations: 39.69 kB / 455.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003558/0.3181, allocations: 123.9 kB / 455.3 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002635/0.3207, allocations: 1.695 MB / 457 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01344/0.3342, allocations: 7.067 MB / 464.1 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04216/0.3764, allocations: 34.16 MB / 498.2 MB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006928/0.3834, allocations: 3.279 MB / 0.4897 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1417/0.5251, allocations: 1.458 MB / 0.4912 GB, free: 109.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0057/0.5309, allocations: 4.363 MB / 0.4954 GB, free: 107.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.5309, allocations: 44.62 kB / 0.4955 GB, free: 107.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 3.997e-06/0.5309, allocations: 0 / 0.4955 GB, free: 107.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.02496/0.5559, allocations: 11.49 MB / 0.5067 GB, free: 102.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.556, allocations: 146.9 kB / 0.5068 GB, free: 102.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/0.5599, allocations: 3.713 MB / 0.5105 GB, free: 100.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.5601, allocations: 43.89 kB / 0.5105 GB, free: 100.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.5612, allocations: 2.753 MB / 0.5132 GB, free: 97.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/0.5616, allocations: 0.5201 MB / 0.5137 GB, free: 97.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.5617, allocations: 104.8 kB / 0.5138 GB, free: 97.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.5619, allocations: 0.5315 MB / 0.5143 GB, free: 96.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.5639, allocations: 1.685 MB / 0.516 GB, free: 94.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/0.5667, allocations: 5.106 MB / 0.5209 GB, free: 88.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005281/0.572, allocations: 7.387 MB / 0.5282 GB, free: 79.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.873e-05/0.572, allocations: 39.94 kB / 0.5282 GB, free: 79.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007996/0.58, allocations: 6.69 MB / 0.5347 GB, free: 72.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.5801, allocations: 56 kB / 0.5348 GB, free: 72.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-05/0.5802, allocations: 123.7 kB / 0.5349 GB, free: 72.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/0.5807, allocations: 321.1 kB / 0.5352 GB, free: 71.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/0.5836, allocations: 1.248 MB / 0.5364 GB, free: 70.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.5854, allocations: 2.291 MB / 0.5387 GB, free: 68.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/0.5882, allocations: 287.5 kB / 0.5389 GB, free: 67.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/0.5885, allocations: 328 kB / 0.5393 GB, free: 67.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 (668): * Single equations (assignments): 664 * 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.001825/0.5903, allocations: 1.797 MB / 0.541 GB, free: 65.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.5907, allocations: 312 kB / 0.5413 GB, free: 65.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.5944, allocations: 2.356 MB / 0.5436 GB, free: 63.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.5944, allocations: 16 kB / 0.5436 GB, free: 63.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.5944, allocations: 4 kB / 0.5436 GB, free: 63.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.5944, allocations: 7.969 kB / 0.5436 GB, free: 63.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008392/0.6028, allocations: 5.925 MB / 0.5494 GB, free: 57.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.6029, allocations: 0 / 0.5494 GB, free: 57.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006931/0.6036, allocations: 175.7 kB / 0.5496 GB, free: 56.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.6054, allocations: 0.7108 MB / 0.5503 GB, free: 56.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/0.6055, allocations: 23.98 kB / 0.5503 GB, free: 56.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004357/0.6098, allocations: 4.469 MB / 0.5547 GB, free: 51.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6099, allocations: 3.984 kB / 0.5547 GB, free: 51.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005174/0.615, allocations: 4.314 MB / 0.5589 GB, free: 47.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009771/0.616, allocations: 0.536 MB / 0.5594 GB, free: 46.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/0.6163, allocations: 17.05 kB / 0.5594 GB, free: 46.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/0.6172, allocations: 75.84 kB / 0.5595 GB, free: 46.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.6174, allocations: 73.42 kB / 0.5596 GB, free: 46.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/0.6175, allocations: 32 kB / 0.5596 GB, free: 46.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002623/0.6201, allocations: 2.311 MB / 0.5619 GB, free: 44.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6201, allocations: 0 / 0.5619 GB, free: 44.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003244/0.6234, allocations: 0.8199 MB / 0.5627 GB, free: 43.35 MB / 378.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.0002972/0.6237, allocations: 153 kB / 0.5628 GB, free: 43.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004599/0.6283, allocations: 4.003 MB / 0.5667 GB, free: 39.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6283, allocations: 0.8438 kB / 0.5667 GB, free: 39.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.6295, allocations: 1.108 MB / 0.5678 GB, free: 38.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.6318, allocations: 361.1 kB / 0.5681 GB, free: 37.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.6419, allocations: 9.017 MB / 0.5769 GB, free: 28.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002104/0.644, allocations: 2.785 MB / 0.5797 GB, free: 25.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007947/0.6448, allocations: 251.4 kB / 0.5799 GB, free: 25.62 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.6449, allocations: 0 / 0.5799 GB, free: 25.62 MB / 378.7 MB Notification: Performance of Templates: time 0.07483/0.7197, allocations: 63.39 MB / 0.6418 GB, free: 10.12 MB / 426.7 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/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches