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.001067/0.001072, 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.001167/0.001167, 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.316/1.316, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001288/0.001289, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08024/0.08154, allocations: 46.62 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01135/0.09292, allocations: 10.23 MB / 339 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00717/0.1001, allocations: 3.784 MB / 342.7 MB, free: 5.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.1016, allocations: 55.81 kB / 342.8 MB, free: 5.613 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.1051, allocations: 1.95 MB / 344.7 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004208/0.1093, allocations: 1.65 MB / 346.4 MB, free: 2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.1109, allocations: 0.6161 MB / 347 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00452/0.1154, allocations: 3.346 MB / 350.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002702/0.1181, allocations: 2.583 MB / 352.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.1198, allocations: 1.25 MB / 354.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/0.1219, allocations: 1.67 MB / 355.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004568/0.1224, allocations: 252 kB / 356.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.124, allocations: 1.022 MB / 357.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.1252, allocations: 1.562 MB / 358.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.1267, allocations: 1.844 MB / 360.5 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.1313, allocations: 5.82 MB / 366.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1313, allocations: 3.938 kB / 366.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1313, allocations: 0 / 366.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.177e-05/0.1314, allocations: 4 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.005869/0.1372, allocations: 4.022 MB / 370.4 MB, free: 9.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1373, allocations: 11.89 kB / 370.4 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005495/0.1428, allocations: 1.77 MB / 372.2 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/0.1465, allocations: 2.006 MB / 374.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.1467, allocations: 192.8 kB / 374.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004309/0.1471, allocations: 251.9 kB / 374.6 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1476/0.2947, allocations: 8.419 MB / 383 MB, free: 47.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002089/0.2949, allocations: 46.86 kB / 383.1 MB, free: 47.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007269/0.2957, allocations: 124.2 kB / 383.2 MB, free: 47.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002848/0.2985, allocations: 1.7 MB / 384.9 MB, free: 47.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01595/0.3145, allocations: 7.093 MB / 392 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04923/0.3638, allocations: 34.03 MB / 426 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.3739, allocations: 3.268 MB / 429.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002636/0.3765, allocations: 1.456 MB / 430.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009054/0.3856, allocations: 4.366 MB / 435.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.3857, allocations: 49.94 kB / 435.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=121): time 3.997e-06/0.3857, allocations: 4 kB / 435.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=129): time 0.04356/0.4293, allocations: 11.53 MB / 446.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.4295, allocations: 145.2 kB / 446.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006069/0.4355, allocations: 3.721 MB / 450.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003632/0.4359, allocations: 49.69 kB / 450.6 MB, free: 6.461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002124/0.4381, allocations: 2.748 MB / 453.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007828/0.4389, allocations: 0.5171 MB / 453.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/0.4403, allocations: 1.075 MB / 454.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.4404, allocations: 313 kB / 455.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/0.4428, allocations: 1.705 MB / 457 MB, free: 44 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004562/0.4473, allocations: 5.124 MB / 462.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007763/0.4551, allocations: 7.418 MB / 469.5 MB, free: 64 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.273e-05/0.4552, allocations: 36.94 kB / 469.5 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01061/0.4658, allocations: 6.725 MB / 476.3 MB, free: 9.297 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/0.466, allocations: 67.97 kB / 476.3 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/0.4661, allocations: 123 kB / 476.4 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/0.4667, allocations: 320.7 kB / 476.8 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/0.4704, allocations: 1.24 MB / 478 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.4731, allocations: 2.496 MB / 480.5 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003534/0.4766, allocations: 283.6 kB / 480.8 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005111/0.4771, allocations: 340.5 kB / 481.1 MB, free: 4.309 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.002808/0.4799, allocations: 1.791 MB / 482.9 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005542/0.4805, allocations: 312 kB / 483.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004597/0.4851, allocations: 2.363 MB / 485.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/0.4852, allocations: 16 kB / 485.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.4852, allocations: 7.938 kB / 485.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.4852, allocations: 7.922 kB / 485.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.4964, allocations: 5.912 MB / 491.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4964, allocations: 0 / 491.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008444/0.4973, allocations: 175.7 kB / 491.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/0.4994, allocations: 0.7147 MB / 492.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.4996, allocations: 23.98 kB / 492.4 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005792/0.5054, allocations: 4.812 MB / 497.2 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5054, allocations: 0 / 497.2 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006412/0.5118, allocations: 4.321 MB / 0.4898 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.5132, allocations: 0.5242 MB / 0.4903 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/0.5136, allocations: 24 kB / 0.4903 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.5146, allocations: 71.83 kB / 0.4904 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.5148, allocations: 68.55 kB / 0.4905 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.5149, allocations: 36 kB / 0.4905 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003086/0.518, allocations: 2.327 MB / 0.4928 GB, free: 12.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.518, allocations: 0 / 0.4928 GB, free: 12.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003729/0.5218, allocations: 0.8217 MB / 0.4936 GB, free: 11.71 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.0003329/0.5221, allocations: 153.6 kB / 0.4937 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005642/0.5278, allocations: 4.049 MB / 0.4977 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5278, allocations: 0 / 0.4977 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.5292, allocations: 1.107 MB / 0.4988 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.5313, allocations: 395.5 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.0113/0.5426, allocations: 7.275 MB / 0.5062 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/0.5454, allocations: 2.789 MB / 0.509 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003513/0.5489, allocations: 1.66 MB / 0.5106 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/0.5495, allocations: 215.4 kB / 0.5108 GB, free: 10.02 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5496, allocations: 0 / 0.5108 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Templates: time 0.1999/0.7495, allocations: 26.13 MB / 0.5363 GB, free: 144.2 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 gbode -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