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.001534/0.001534, allocations: 103.2 kB / 18.4 MB, free: 4.68 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.001739/0.001739, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.271/1.271, 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.001136/0.001136, allocations: 55.92 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07094/0.07208, allocations: 46.62 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.1569/0.229, allocations: 10.24 MB / 386.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005785/0.2348, allocations: 3.783 MB / 389.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009553/0.2358, allocations: 58.19 kB / 389.9 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003181/0.239, allocations: 1.95 MB / 391.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.2422, allocations: 1.657 MB / 393.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.2434, allocations: 0.6062 MB / 394.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003659/0.247, allocations: 3.335 MB / 397.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.2494, allocations: 2.589 MB / 400 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.2509, allocations: 1.24 MB / 401.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.2526, allocations: 1.675 MB / 403 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004211/0.253, allocations: 254.2 kB / 403.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.2548, allocations: 1.028 MB / 404.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.2561, allocations: 1.562 MB / 405.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.2577, allocations: 1.839 MB / 407.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005166/0.2629, allocations: 5.825 MB / 413.5 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2629, allocations: 1.438 kB / 413.5 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2629, allocations: 0 / 413.5 MB, free: 9.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.039e-05/0.263, allocations: 0 / 413.5 MB, free: 9.195 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.00644/0.2694, allocations: 4.019 MB / 417.5 MB, free: 5.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2695, allocations: 11.89 kB / 417.5 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00615/0.2756, allocations: 1.774 MB / 419.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/0.2788, allocations: 1.994 MB / 421.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.279, allocations: 192.8 kB / 421.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000427/0.2794, allocations: 255.8 kB / 421.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.2912, allocations: 8.427 MB / 430.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.23e-05/0.2913, allocations: 43.58 kB / 430.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003239/0.2917, allocations: 123.9 kB / 430.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002724/0.2944, allocations: 1.695 MB / 432 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.3066, allocations: 7.098 MB / 439.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03474/0.3414, allocations: 34.02 MB / 473.1 MB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007331/0.3488, allocations: 3.294 MB / 476.4 MB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/0.3508, allocations: 1.466 MB / 477.9 MB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006655/0.3575, allocations: 4.35 MB / 482.2 MB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.3576, allocations: 47.06 kB / 482.3 MB, free: 2.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 4.428e-06/0.3576, allocations: 0 / 482.3 MB, free: 2.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.03007/0.3876, allocations: 11.54 MB / 493.8 MB, free: 7.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.3877, allocations: 137.2 kB / 493.9 MB, free: 7.023 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005482/0.3932, allocations: 3.733 MB / 497.7 MB, free: 3.297 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.3934, allocations: 41.7 kB / 497.7 MB, free: 3.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001882/0.3953, allocations: 2.74 MB / 0.4887 GB, free: 480 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005306/0.3958, allocations: 0.5325 MB / 0.4892 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/0.3972, allocations: 1.075 MB / 0.4903 GB, free: 14.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.3973, allocations: 309.1 kB / 0.4906 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/0.3997, allocations: 1.709 MB / 0.4923 GB, free: 12.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004638/0.4043, allocations: 5.128 MB / 0.4973 GB, free: 5.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007645/0.412, allocations: 7.42 MB / 0.5045 GB, free: 12.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.765e-05/0.412, allocations: 35.98 kB / 0.5045 GB, free: 12.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009592/0.4216, allocations: 6.719 MB / 0.5111 GB, free: 6.074 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.795e-05/0.4217, allocations: 59.94 kB / 0.5112 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.4218, allocations: 124.5 kB / 0.5113 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006058/0.4225, allocations: 321.3 kB / 0.5116 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003592/0.4261, allocations: 1.251 MB / 0.5128 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.4286, allocations: 2.485 MB / 0.5152 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/0.4318, allocations: 287.6 kB / 0.5155 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004081/0.4322, allocations: 335.9 kB / 0.5158 GB, free: 1.09 MB / 446.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.002526/0.4348, allocations: 1.791 MB / 0.5176 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005635/0.4353, allocations: 312 kB / 0.5179 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004783/0.4401, allocations: 2.359 MB / 0.5202 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.4401, allocations: 7.984 kB / 0.5202 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4402, allocations: 4.125 kB / 0.5202 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.4412, allocations: 0.532 MB / 0.5207 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004348/0.4417, allocations: 16 kB / 0.5207 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.4429, allocations: 79.88 kB / 0.5208 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.4431, allocations: 80.42 kB / 0.5209 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005105/0.4482, allocations: 2.811 MB / 0.5236 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004418/0.4527, allocations: 3.659 MB / 0.5272 GB, free: 5.352 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001088/0.4538, allocations: 0.8875 MB / 0.5281 GB, free: 4.461 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003762/0.4575, allocations: 2.327 MB / 0.5303 GB, free: 2.148 MB / 462.1 MB Notification: Performance of Backend: time 4.31e-07/0.4575, allocations: 0 / 0.5303 GB, free: 2.148 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007041/0.4646, allocations: 3.484 MB / 0.5337 GB, free: 14.67 MB / 478.1 MB Notification: Performance of SimCode: time 0.01237/0.477, allocations: 7.696 MB / 0.5413 GB, free: 6.926 MB / 478.1 MB Notification: Performance of Templates: time 0.2173/0.6943, allocations: 34.61 MB / 0.5751 GB, free: 145.4 MB / 478.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 -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