Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001562/0.001562, allocations: 106.5 kB / 17.17 MB, free: 6.32 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.001688/0.001688, allocations: 194.9 kB / 18.08 MB, free: 5.41 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.346/1.346, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 47.83 kB / 300.6 MB, free: 6.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1166, allocations: 49.46 MB / 350.1 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2136/0.3302, allocations: 42.19 MB / 392.3 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02126/0.3515, allocations: 9.175 MB / 401.4 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009799/0.3614, allocations: 179.1 kB / 401.6 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005231/0.3667, allocations: 2.564 MB / 404.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004861/0.3715, allocations: 1.629 MB / 405.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.3734, allocations: 0.6304 MB / 406.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00704/0.3804, allocations: 5.323 MB / 411.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005746/0.3862, allocations: 3.548 MB / 415.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.389, allocations: 1.32 MB / 416.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003531/0.3925, allocations: 2.083 MB / 418.7 MB, free: 364 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.3936, allocations: 228 kB / 418.9 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.3971, allocations: 1.139 MB / 420.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002486/0.3996, allocations: 1.753 MB / 421.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003619/0.4032, allocations: 2.077 MB / 423.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005643/0.4089, allocations: 5.227 MB / 429.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4089, allocations: 0 / 429.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4089, allocations: 0 / 429.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002437/0.4092, allocations: 0 / 429.1 MB, free: 5.902 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.009296/0.4185, allocations: 4.569 MB / 433.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4185, allocations: 12.03 kB / 433.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006208/0.4248, allocations: 1.875 MB / 435.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/0.4281, allocations: 1.986 MB / 437.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.4283, allocations: 250.2 kB / 437.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007557/0.429, allocations: 395.6 kB / 438.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/0.4446, allocations: 10.07 MB / 448.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/0.4448, allocations: 35.69 kB / 448.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005356/0.4453, allocations: 159.8 kB / 448.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002571/0.4479, allocations: 1.861 MB / 450.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01565/0.4636, allocations: 8.331 MB / 458.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04386/0.5074, allocations: 39.39 MB / 498 MB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.5176, allocations: 3.996 MB / 0.4903 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002123/0.5198, allocations: 1.42 MB / 0.4917 GB, free: 9.426 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/0.5308, allocations: 7.626 MB / 0.4991 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.5309, allocations: 59.5 kB / 0.4992 GB, free: 1.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 4.839e-06/0.5309, allocations: 0 / 0.4992 GB, free: 1.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03297/0.5639, allocations: 12.38 MB / 0.5112 GB, free: 4.668 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001362/0.5653, allocations: 1.589 MB / 0.5128 GB, free: 2.906 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00659/0.5719, allocations: 3.812 MB / 0.5165 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000315/0.5723, allocations: 45.7 kB / 0.5166 GB, free: 15.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002379/0.5747, allocations: 3.122 MB / 0.5196 GB, free: 11.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009581/0.5756, allocations: 0.6443 MB / 0.5202 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002447/0.5781, allocations: 1.261 MB / 0.5215 GB, free: 9.961 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.5782, allocations: 305.1 kB / 0.5218 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003912/0.5821, allocations: 2.034 MB / 0.5238 GB, free: 7.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2063/0.7884, allocations: 5.965 MB / 0.5296 GB, free: 146.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/0.7995, allocations: 8.615 MB / 0.538 GB, free: 139.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/0.7997, allocations: 40.47 kB / 0.538 GB, free: 139.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02523/0.8249, allocations: 9.736 MB / 0.5475 GB, free: 136.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.8251, allocations: 67.28 kB / 0.5476 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01135/0.8365, allocations: 3.753 MB / 0.5513 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/0.8479, allocations: 2.609 MB / 0.5538 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004061/0.852, allocations: 1.369 MB / 0.5552 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008675/0.8607, allocations: 7.167 MB / 0.5622 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004869/0.8656, allocations: 405.4 kB / 0.5625 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/0.8667, allocations: 384.5 kB / 0.5629 GB, free: 130.5 MB / 446.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.003823/0.8705, allocations: 2.015 MB / 0.5649 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/0.8717, allocations: 325 kB / 0.5652 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006885/0.8786, allocations: 3.138 MB / 0.5682 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005084/0.8837, allocations: 2.679 MB / 0.5709 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.8837, allocations: 4 kB / 0.5709 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.8838, allocations: 8.812 kB / 0.5709 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.899, allocations: 8.557 MB / 0.5792 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.8991, allocations: 4 kB / 0.5792 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008818/0.9, allocations: 191.7 kB / 0.5794 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004422/0.9044, allocations: 1.443 MB / 0.5808 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/0.9046, allocations: 31.98 kB / 0.5809 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00512/0.9098, allocations: 5.697 MB / 0.5864 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007752/0.9106, allocations: 1.456 MB / 0.5878 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008022/0.9186, allocations: 5.315 MB / 0.593 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008783/0.9195, allocations: 368.7 kB / 0.5934 GB, free: 99.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007469/0.9203, allocations: 31.98 kB / 0.5934 GB, free: 99.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.922, allocations: 122.8 kB / 0.5935 GB, free: 99.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.9223, allocations: 88.86 kB / 0.5936 GB, free: 99.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.9224, allocations: 47.97 kB / 0.5937 GB, free: 99.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003973/0.9264, allocations: 2.345 MB / 0.596 GB, free: 97.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.9264, allocations: 3.938 kB / 0.596 GB, free: 97.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005237/0.9317, allocations: 1.03 MB / 0.597 GB, free: 96.17 MB / 446.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.0004972/0.9322, allocations: 170.8 kB / 0.5971 GB, free: 96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008116/0.9403, allocations: 5.486 MB / 0.6025 GB, free: 90.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.9403, allocations: 0 / 0.6025 GB, free: 90.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003357/0.9437, allocations: 2.028 MB / 0.6045 GB, free: 88.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.9465, allocations: 377.3 kB / 0.6048 GB, free: 88.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.9628, allocations: 11.4 MB / 0.616 GB, free: 76.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004149/0.967, allocations: 3.102 MB / 0.619 GB, free: 73.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008718/0.9679, allocations: 271.4 kB / 0.6192 GB, free: 73.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.382e-06/0.9679, allocations: 0 / 0.6192 GB, free: 73.18 MB / 446.1 MB Notification: Performance of Templates: time 0.3061/1.274, allocations: 143.3 MB / 0.7592 GB, free: 91.29 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches