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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 108.4 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 225.1 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.91 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08641/0.08756, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.0115/0.09909, allocations: 10.24 MB / 339 MB, free: 9.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007527/0.1067, allocations: 3.772 MB / 342.7 MB, free: 5.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.1082, allocations: 55.81 kB / 342.8 MB, free: 5.617 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00374/0.112, allocations: 1.954 MB / 344.7 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004085/0.1161, allocations: 1.65 MB / 346.4 MB, free: 2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1176, allocations: 0.6199 MB / 347 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00433/0.1219, allocations: 3.342 MB / 350.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/0.1249, allocations: 2.579 MB / 352.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.1269, allocations: 1.25 MB / 354.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.1292, allocations: 1.674 MB / 355.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004498/0.1296, allocations: 255.9 kB / 356.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.1314, allocations: 1.022 MB / 357.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.1328, allocations: 1.562 MB / 358.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001935/0.1347, allocations: 1.833 MB / 360.5 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005698/0.1404, allocations: 5.827 MB / 366.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.1405, allocations: 0 / 366.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1405, allocations: 0 / 366.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001025/0.1406, allocations: 3.938 kB / 366.4 MB, free: 13.93 MB / 318.1 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.00706/0.1477, allocations: 4.026 MB / 370.4 MB, free: 9.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1477, allocations: 11.89 kB / 370.4 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005831/0.1536, allocations: 1.774 MB / 372.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/0.1575, allocations: 1.998 MB / 374.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.1576, allocations: 192.8 kB / 374.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004318/0.1581, allocations: 251.9 kB / 374.6 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1566/0.3146, allocations: 8.426 MB / 383 MB, free: 47.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.3148, allocations: 41.56 kB / 383.1 MB, free: 47.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003376/0.3151, allocations: 125.8 kB / 383.2 MB, free: 47.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002839/0.318, allocations: 1.696 MB / 384.9 MB, free: 47.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01251/0.3305, allocations: 7.095 MB / 392 MB, free: 45.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03114/0.3617, allocations: 34.03 MB / 426 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006014/0.3678, allocations: 3.276 MB / 429.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.3691, allocations: 1.462 MB / 430.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005001/0.3741, allocations: 4.365 MB / 435.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3742, allocations: 39.12 kB / 435.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=121): time 3.286e-06/0.3742, allocations: 0 / 435.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=129): time 0.02497/0.3991, allocations: 11.54 MB / 446.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.3993, allocations: 138.5 kB / 446.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004636/0.4039, allocations: 3.721 MB / 450.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001597/0.4041, allocations: 53.56 kB / 450.6 MB, free: 6.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00171/0.4058, allocations: 2.756 MB / 453.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/0.4063, allocations: 0.5171 MB / 453.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/0.4075, allocations: 1.079 MB / 455 MB, free: 2.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.4076, allocations: 309.1 kB / 455.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/0.4098, allocations: 1.701 MB / 457 MB, free: 36 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/0.4141, allocations: 5.129 MB / 462.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007312/0.4214, allocations: 7.414 MB / 469.5 MB, free: 52 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.093e-05/0.4215, allocations: 32 kB / 469.5 MB, free: 20 kB / 350.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009955/0.4315, allocations: 6.724 MB / 476.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.4316, allocations: 60.69 kB / 476.3 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.4317, allocations: 128.1 kB / 476.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.4323, allocations: 320.7 kB / 476.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003667/0.436, allocations: 1.24 MB / 478 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.4387, allocations: 2.504 MB / 480.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/0.4423, allocations: 287.4 kB / 480.8 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004831/0.4428, allocations: 336 kB / 481.1 MB, free: 4.293 MB / 366.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002485/0.4453, allocations: 1.781 MB / 482.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005098/0.4458, allocations: 308.4 kB / 483.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004514/0.4503, allocations: 2.363 MB / 485.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/0.4504, allocations: 16 kB / 485.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.4504, allocations: 8 kB / 485.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.4504, allocations: 3.984 kB / 485.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.4626, allocations: 5.92 MB / 491.5 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.4627, allocations: 4 kB / 491.5 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.4635, allocations: 179.7 kB / 491.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002147/0.4657, allocations: 0.7147 MB / 492.4 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-05/0.4658, allocations: 20 kB / 492.4 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005931/0.4717, allocations: 4.812 MB / 497.2 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4718, allocations: 4 kB / 497.2 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006827/0.4786, allocations: 4.318 MB / 0.4898 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/0.4801, allocations: 0.5321 MB / 0.4903 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/0.4804, allocations: 20.06 kB / 0.4903 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.4814, allocations: 71.84 kB / 0.4904 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.4817, allocations: 68.47 kB / 0.4905 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-05/0.4818, allocations: 32 kB / 0.4905 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003095/0.4849, allocations: 2.331 MB / 0.4928 GB, free: 12.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.4849, allocations: 0 / 0.4928 GB, free: 12.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004/0.4889, allocations: 0.8177 MB / 0.4936 GB, free: 11.7 MB / 398.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004133/0.4893, allocations: 162.6 kB / 0.4937 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006355/0.4957, allocations: 4.036 MB / 0.4977 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4957, allocations: 0 / 0.4977 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.4973, allocations: 1.108 MB / 0.4987 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.4996, allocations: 395.1 kB / 0.4991 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.5114, allocations: 7.286 MB / 0.5062 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002723/0.5141, allocations: 2.789 MB / 0.509 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003673/0.5178, allocations: 1.651 MB / 0.5106 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/0.5185, allocations: 211.4 kB / 0.5108 GB, free: 10.03 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5186, allocations: 0 / 0.5108 GB, free: 10.03 MB / 414.1 MB Notification: Performance of Templates: time 0.214/0.7325, allocations: 26.14 MB / 0.5363 GB, free: 144.1 MB / 430.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches