Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 114.3 kB / 17.28 MB, free: 6.219 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.001471/0.001472, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.498/1.498, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001113/0.001113, allocations: 51.92 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1077, allocations: 46.62 MB / 326.8 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03655/0.1443, allocations: 42.2 MB / 369 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02256/0.1669, allocations: 9.067 MB / 378 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01137/0.1783, allocations: 179.6 kB / 378.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1949/0.3733, allocations: 2.475 MB / 380.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005827/0.3792, allocations: 1.626 MB / 382.3 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.3811, allocations: 0.6412 MB / 383 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006654/0.3877, allocations: 3.729 MB / 386.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005702/0.3935, allocations: 3.749 MB / 390.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004399/0.3979, allocations: 1.509 MB / 392 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.4023, allocations: 2.171 MB / 394.1 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.4038, allocations: 314 kB / 394.4 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003809/0.4076, allocations: 1.167 MB / 395.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003546/0.4112, allocations: 1.852 MB / 397.5 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004542/0.4158, allocations: 2.168 MB / 399.6 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008431/0.4242, allocations: 6.512 MB / 406.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.4242, allocations: 3.984 kB / 406.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4243, allocations: 0 / 406.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003663/0.4246, allocations: 4 kB / 406.1 MB, free: 3.773 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01053/0.4352, allocations: 4.569 MB / 410.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.4352, allocations: 12.91 kB / 410.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006691/0.4419, allocations: 1.877 MB / 412.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004175/0.4461, allocations: 2.033 MB / 414.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.4463, allocations: 244.6 kB / 414.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009902/0.4473, allocations: 404.9 kB / 415.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01815/0.4655, allocations: 10.06 MB / 425.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.341e-05/0.4656, allocations: 41.55 kB / 425.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004184/0.4661, allocations: 160.6 kB / 425.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002445/0.4685, allocations: 1.862 MB / 427.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01821/0.4867, allocations: 8.325 MB / 435.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05396/0.5407, allocations: 39.39 MB / 475.1 MB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.551, allocations: 4.006 MB / 479.1 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.5531, allocations: 1.433 MB / 480.5 MB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.5638, allocations: 7.625 MB / 488.2 MB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.5639, allocations: 56.52 kB / 488.2 MB, free: 3.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 4.358e-06/0.5639, allocations: 0 / 488.2 MB, free: 3.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03216/0.5961, allocations: 12.41 MB / 0.4889 GB, free: 7.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001304/0.5974, allocations: 1.668 MB / 0.4905 GB, free: 5.402 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004857/0.6023, allocations: 3.824 MB / 0.4943 GB, free: 1.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002727/0.6025, allocations: 52.98 kB / 0.4943 GB, free: 1.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001929/0.6045, allocations: 3.107 MB / 0.4973 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006657/0.6052, allocations: 0.6529 MB / 0.498 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/0.6066, allocations: 1.256 MB / 0.4992 GB, free: 12.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.6067, allocations: 305.1 kB / 0.4995 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002864/0.6096, allocations: 2.034 MB / 0.5015 GB, free: 10.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0053/0.6149, allocations: 5.966 MB / 0.5073 GB, free: 2.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009416/0.6244, allocations: 8.626 MB / 0.5157 GB, free: 8.285 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/0.6245, allocations: 40 kB / 0.5158 GB, free: 8.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02271/0.6472, allocations: 9.737 MB / 0.5253 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.6474, allocations: 71.94 kB / 0.5254 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01162/0.659, allocations: 3.74 MB / 0.529 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01191/0.6709, allocations: 2.614 MB / 0.5316 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004403/0.6754, allocations: 1.372 MB / 0.5329 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1697/0.8451, allocations: 7.711 MB / 0.5404 GB, free: 170.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00651/0.8516, allocations: 398.3 kB / 0.5408 GB, free: 170.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001537/0.8532, allocations: 389.3 kB / 0.5412 GB, free: 170.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.003944/0.8572, allocations: 2.019 MB / 0.5432 GB, free: 170.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006905/0.8579, allocations: 330.8 kB / 0.5435 GB, free: 170.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006955/0.8648, allocations: 3.124 MB / 0.5465 GB, free: 169.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006355/0.8712, allocations: 2.683 MB / 0.5491 GB, free: 169.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/0.8713, allocations: 3.188 kB / 0.5491 GB, free: 169.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-05/0.8713, allocations: 7.703 kB / 0.5492 GB, free: 169.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.8896, allocations: 8.56 MB / 0.5575 GB, free: 166.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.8897, allocations: 0 / 0.5575 GB, free: 166.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008803/0.8906, allocations: 191.8 kB / 0.5577 GB, free: 166.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004092/0.8947, allocations: 1.435 MB / 0.5591 GB, free: 165.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.8949, allocations: 43.03 kB / 0.5591 GB, free: 165.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005155/0.9, allocations: 6.018 MB / 0.565 GB, free: 161.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007408/0.9008, allocations: 1.55 MB / 0.5665 GB, free: 160.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007717/0.9085, allocations: 5.297 MB / 0.5717 GB, free: 158.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009286/0.9095, allocations: 375.4 kB / 0.5721 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003749/0.9099, allocations: 36.38 kB / 0.5721 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.9112, allocations: 122 kB / 0.5722 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/0.9115, allocations: 93.05 kB / 0.5723 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.9116, allocations: 46.14 kB / 0.5723 GB, free: 158.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003479/0.9151, allocations: 2.347 MB / 0.5746 GB, free: 157.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.9151, allocations: 0 / 0.5746 GB, free: 157.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004977/0.9201, allocations: 1.036 MB / 0.5756 GB, free: 157.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004604/0.9205, allocations: 164.6 kB / 0.5758 GB, free: 157.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008979/0.9295, allocations: 5.983 MB / 0.5816 GB, free: 153.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.9296, allocations: 0 / 0.5816 GB, free: 153.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003283/0.9329, allocations: 2.041 MB / 0.5836 GB, free: 151.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/0.9355, allocations: 387.7 kB / 0.584 GB, free: 150.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.9494, allocations: 10.98 MB / 0.5947 GB, free: 139.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002701/0.9522, allocations: 3.106 MB / 0.5978 GB, free: 136.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003948/0.9561, allocations: 1.803 MB / 0.5995 GB, free: 134.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005421/0.9567, allocations: 223.9 kB / 0.5997 GB, free: 134.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.493e-06/0.9567, allocations: 0 / 0.5997 GB, free: 134.7 MB / 462.1 MB Notification: Performance of Templates: time 0.06337/1.02, allocations: 38.79 MB / 0.6376 GB, free: 95.95 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches