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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008701/0.0008701, allocations: 95 kB / 16.3 MB, free: 5.996 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.0008515/0.0008516, allocations: 187.8 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002601, allocations: 7.469 kB / 300.7 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1015, allocations: 50.43 MB / 351.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02811/0.1296, allocations: 29.65 MB / 380.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01821/0.1479, allocations: 7.722 MB / 388.5 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005565/0.1535, allocations: 147.6 kB / 388.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004666/0.1582, allocations: 1.415 MB / 390.1 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01349/0.1717, allocations: 4.36 MB / 394.4 MB, free: 468 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.1743, allocations: 0.4914 MB / 394.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004577/0.1789, allocations: 1.902 MB / 396.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005095/0.1841, allocations: 2.939 MB / 399.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.186, allocations: 0.8564 MB / 400.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.1879, allocations: 1.125 MB / 401.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007092/0.1887, allocations: 116 kB / 401.9 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.1908, allocations: 0.784 MB / 402.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00177/0.1926, allocations: 1.294 MB / 403.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.1939, allocations: 0.7064 MB / 404.6 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005074/0.199, allocations: 4.435 MB / 409.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.199, allocations: 0 / 409.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1991, allocations: 0 / 409.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001875/0.1992, allocations: 0 / 409.1 MB, free: 1.723 MB / 334.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.007981/0.2072, allocations: 3.398 MB / 412.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.2073, allocations: 12.02 kB / 412.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007891/0.2152, allocations: 2.109 MB / 414.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004734/0.22, allocations: 1.986 MB / 416.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.2202, allocations: 188.8 kB / 416.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009687/0.2212, allocations: 255.8 kB / 417 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.2355, allocations: 8.486 MB / 425.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.2356, allocations: 39.59 kB / 425.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005347/0.2362, allocations: 123.9 kB / 425.7 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1786/0.4148, allocations: 1.691 MB / 427.4 MB, free: 21.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.4295, allocations: 7.163 MB / 434.5 MB, free: 21.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03351/0.463, allocations: 34.22 MB / 468.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006757/0.4698, allocations: 3.287 MB / 472 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007158/0.477, allocations: 4.39 MB / 476.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.4771, allocations: 45.5 kB / 476.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 3.967e-06/0.4771, allocations: 0 / 476.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.02851/0.5056, allocations: 11.75 MB / 488.2 MB, free: 5.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.5057, allocations: 148.2 kB / 488.4 MB, free: 5.266 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004824/0.5105, allocations: 3.832 MB / 492.2 MB, free: 2.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.5108, allocations: 43.61 kB / 492.2 MB, free: 2.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.5124, allocations: 2.747 MB / 495 MB, free: 180 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000548/0.513, allocations: 0.5252 MB / 495.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.5132, allocations: 101.6 kB / 495.6 MB, free: 15.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002737/0.5135, allocations: 0.5294 MB / 496.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.5158, allocations: 1.676 MB / 497.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004077/0.5198, allocations: 5.079 MB / 0.4911 GB, free: 8.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003765/0.5236, allocations: 2.855 MB / 0.4939 GB, free: 6.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.568e-05/0.5237, allocations: 36 kB / 0.4939 GB, free: 6.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01081/0.5345, allocations: 6.661 MB / 0.5004 GB, free: 1.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.449e-05/0.5347, allocations: 68.2 kB / 0.5005 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/0.5348, allocations: 120 kB / 0.5006 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.5354, allocations: 335.7 kB / 0.5009 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/0.5392, allocations: 1.237 MB / 0.5021 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.5417, allocations: 2.329 MB / 0.5044 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/0.5452, allocations: 283.5 kB / 0.5047 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005802/0.5458, allocations: 335.4 kB / 0.505 GB, free: 12.74 MB / 398.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 (664): * Single equations (assignments): 660 * 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.002806/0.5486, allocations: 1.79 MB / 0.5068 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000518/0.5492, allocations: 308 kB / 0.5071 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/0.5537, allocations: 2.35 MB / 0.5093 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-05/0.5538, allocations: 17.64 kB / 0.5094 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.5538, allocations: 7.953 kB / 0.5094 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.5538, allocations: 11.97 kB / 0.5094 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.5649, allocations: 5.931 MB / 0.5152 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.5649, allocations: 7.953 kB / 0.5152 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008165/0.5657, allocations: 174 kB / 0.5153 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/0.5679, allocations: 0.709 MB / 0.516 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.568, allocations: 27.98 kB / 0.5161 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005533/0.5736, allocations: 4.571 MB / 0.5205 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5736, allocations: 6.844 kB / 0.5205 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006375/0.58, allocations: 4.434 MB / 0.5249 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009243/0.5809, allocations: 379 kB / 0.5252 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003382/0.5813, allocations: 20 kB / 0.5252 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.5823, allocations: 63.92 kB / 0.5253 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.5825, allocations: 74.95 kB / 0.5254 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/0.5826, allocations: 43.19 kB / 0.5254 GB, free: 7.746 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003356/0.586, allocations: 2.401 MB / 0.5278 GB, free: 5.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.586, allocations: 0 / 0.5278 GB, free: 5.359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004023/0.59, allocations: 0.832 MB / 0.5286 GB, free: 4.535 MB / 414.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 (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.0004329/0.5905, allocations: 176.9 kB / 0.5287 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006051/0.5965, allocations: 3.991 MB / 0.5326 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5966, allocations: 0 / 0.5326 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.598, allocations: 1.104 MB / 0.5337 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.6001, allocations: 359.5 kB / 0.5341 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.6134, allocations: 8.597 MB / 0.5425 GB, free: 6.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00295/0.6164, allocations: 2.851 MB / 0.5452 GB, free: 3.668 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004075/0.6205, allocations: 1.665 MB / 0.5469 GB, free: 2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.6211, allocations: 211.4 kB / 0.5471 GB, free: 1.793 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6211, allocations: 4 kB / 0.5471 GB, free: 1.789 MB / 430.1 MB Notification: Performance of Templates: time 0.05103/0.6721, allocations: 29.46 MB / 0.5758 GB, free: 4.527 MB / 462.1 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