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.001132/0.001132, allocations: 97.3 kB / 17.3 MB, free: 6.395 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.001398/0.001398, allocations: 179.6 kB / 18.21 MB, free: 5.551 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.549/1.549, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0005069/0.0005071, allocations: 8 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1016, allocations: 47.59 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03763/0.1393, allocations: 41.05 MB / 370 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02249/0.1618, allocations: 9.099 MB / 379.1 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009864/0.1717, allocations: 175.6 kB / 379.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.1736, allocations: 417.9 kB / 379.7 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2211/0.3948, allocations: 1.634 MB / 381.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.3965, allocations: 0.6284 MB / 382 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008515/0.405, allocations: 5.34 MB / 387.3 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007292/0.4124, allocations: 4.831 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/0.4148, allocations: 1.108 MB / 393.2 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002865/0.4177, allocations: 1.829 MB / 395.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005904/0.4183, allocations: 138.2 kB / 395.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.4205, allocations: 1.034 MB / 396.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.4219, allocations: 1.643 MB / 397.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.4237, allocations: 1.939 MB / 399.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005786/0.4295, allocations: 6.225 MB / 406 MB, free: 3.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.4295, allocations: 2.125 kB / 406 MB, free: 3.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4295, allocations: 3.938 kB / 406 MB, free: 3.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001752/0.4297, allocations: 2.719 kB / 406 MB, free: 3.922 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.007812/0.4375, allocations: 3.734 MB / 409.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4376, allocations: 11.03 kB / 409.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006803/0.4444, allocations: 1.923 MB / 411.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/0.4484, allocations: 2.039 MB / 413.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.4485, allocations: 258.3 kB / 414 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009577/0.4495, allocations: 386 kB / 414.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.4685, allocations: 10.08 MB / 424.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.4687, allocations: 38.64 kB / 424.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004422/0.4691, allocations: 159.1 kB / 424.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002784/0.4719, allocations: 1.857 MB / 426.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01943/0.4913, allocations: 8.342 MB / 434.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05412/0.5455, allocations: 39.39 MB / 474.2 MB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.5564, allocations: 4.025 MB / 478.3 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/0.5585, allocations: 1.416 MB / 479.7 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.5695, allocations: 7.635 MB / 487.3 MB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.5696, allocations: 49.52 kB / 487.4 MB, free: 5.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 5.881e-06/0.5696, allocations: 0 / 487.4 MB, free: 5.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03299/0.6026, allocations: 12.43 MB / 499.8 MB, free: 9.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001381/0.6041, allocations: 1.594 MB / 0.4896 GB, free: 7.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005708/0.6098, allocations: 3.824 MB / 0.4934 GB, free: 3.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003702/0.6102, allocations: 52.02 kB / 0.4934 GB, free: 3.637 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002195/0.6124, allocations: 3.104 MB / 0.4965 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007663/0.6132, allocations: 0.6541 MB / 0.4971 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007876/0.614, allocations: 0.5272 MB / 0.4976 GB, free: 15.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6141, allocations: 301.1 kB / 0.4979 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/0.6173, allocations: 2.035 MB / 0.4999 GB, free: 13.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006121/0.6234, allocations: 5.973 MB / 0.5057 GB, free: 5.145 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.6336, allocations: 8.623 MB / 0.5141 GB, free: 11.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/0.6338, allocations: 43.94 kB / 0.5142 GB, free: 11.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02413/0.6579, allocations: 9.725 MB / 0.5237 GB, free: 1.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.6581, allocations: 67.98 kB / 0.5237 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01205/0.6701, allocations: 3.741 MB / 0.5274 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/0.6827, allocations: 2.617 MB / 0.5299 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004617/0.6873, allocations: 1.368 MB / 0.5313 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.6975, allocations: 7.182 MB / 0.5383 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005885/0.7035, allocations: 407.3 kB / 0.5387 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/0.7048, allocations: 388 kB / 0.5391 GB, free: 1.422 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.2206/0.9254, allocations: 2.002 MB / 0.541 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007743/0.9262, allocations: 329.8 kB / 0.5413 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007522/0.9337, allocations: 3.128 MB / 0.5444 GB, free: 129.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00638/0.9401, allocations: 2.688 MB / 0.547 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-05/0.9402, allocations: 2.969 kB / 0.547 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/0.9402, allocations: 8.094 kB / 0.547 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/0.958, allocations: 8.567 MB / 0.5554 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.9581, allocations: 0 / 0.5554 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008457/0.9589, allocations: 193.9 kB / 0.5556 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0044/0.9633, allocations: 1.432 MB / 0.557 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/0.9635, allocations: 39.11 kB / 0.557 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005334/0.9688, allocations: 5.722 MB / 0.5626 GB, free: 126.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007117/0.9696, allocations: 1.449 MB / 0.564 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0081/0.9777, allocations: 5.301 MB / 0.5692 GB, free: 122.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000989/0.9787, allocations: 390 kB / 0.5696 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/0.9791, allocations: 33.88 kB / 0.5696 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.9804, allocations: 121.2 kB / 0.5697 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.9806, allocations: 88.64 kB / 0.5698 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.977e-05/0.9807, allocations: 50.69 kB / 0.5698 GB, free: 122.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00306/0.9838, allocations: 2.344 MB / 0.5721 GB, free: 122 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.9838, allocations: 0 / 0.5721 GB, free: 122 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004873/0.9887, allocations: 1.034 MB / 0.5731 GB, free: 121.8 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.0003852/0.9891, allocations: 167.3 kB / 0.5733 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008648/0.9977, allocations: 5.465 MB / 0.5786 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.9978, allocations: 0 / 0.5786 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00345/1.001, allocations: 2.026 MB / 0.5806 GB, free: 119.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/1.004, allocations: 385 kB / 0.581 GB, free: 119 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/1.02, allocations: 11.15 MB / 0.5919 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002597/1.023, allocations: 3.103 MB / 0.5949 GB, free: 104.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003895/1.026, allocations: 1.807 MB / 0.5967 GB, free: 103 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/1.027, allocations: 223.4 kB / 0.5969 GB, free: 102.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/1.027, allocations: 0 / 0.5969 GB, free: 102.8 MB / 462.1 MB Notification: Performance of Templates: time 0.06017/1.087, allocations: 36.78 MB / 0.6328 GB, free: 66.11 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