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.001091/0.001091, allocations: 104.4 kB / 18.35 MB, free: 4.516 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.00114/0.00114, allocations: 187 kB / 19.29 MB, free: 3.586 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.33/1.33, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.002103/0.002103, allocations: 51.94 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1174, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01643/0.1339, allocations: 10.73 MB / 339.5 MB, free: 8.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009949/0.1439, allocations: 3.932 MB / 343.4 MB, free: 5.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.1453, allocations: 63.81 kB / 343.5 MB, free: 4.957 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006154/0.1515, allocations: 2.581 MB / 346 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006063/0.1576, allocations: 1.754 MB / 347.8 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.1598, allocations: 0.6863 MB / 348.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006974/0.1668, allocations: 3.701 MB / 352.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005195/0.172, allocations: 3.558 MB / 355.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.1745, allocations: 1.483 MB / 357.2 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.1773, allocations: 1.951 MB / 359.2 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.1783, allocations: 316 kB / 359.5 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.181, allocations: 1.159 MB / 360.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002087/0.1831, allocations: 1.823 MB / 362.5 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003127/0.1862, allocations: 2.144 MB / 364.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007068/0.1933, allocations: 6.695 MB / 371.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1933, allocations: 3.938 kB / 371.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1933, allocations: 4 kB / 371.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002099/0.1935, allocations: 0 / 371.3 MB, free: 8.961 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.008015/0.2016, allocations: 4.565 MB / 375.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2016, allocations: 12.03 kB / 375.9 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006103/0.2077, allocations: 1.879 MB / 377.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004075/0.2118, allocations: 2.071 MB / 379.8 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.212, allocations: 250.2 kB / 380.1 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1566/0.3686, allocations: 385.4 kB / 380.5 MB, free: 49.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/0.39, allocations: 10.07 MB / 390.5 MB, free: 45.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002015/0.3902, allocations: 38.31 kB / 390.6 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009784/0.3912, allocations: 159.1 kB / 390.7 MB, free: 45.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002679/0.3939, allocations: 1.855 MB / 392.6 MB, free: 45.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/0.4101, allocations: 8.319 MB / 400.9 MB, free: 40.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04038/0.4505, allocations: 39.25 MB / 440.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.4606, allocations: 3.993 MB / 444.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.4626, allocations: 1.427 MB / 445.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.4737, allocations: 7.629 MB / 453.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.4738, allocations: 55.5 kB / 453.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=152): time 4.138e-06/0.4738, allocations: 4 kB / 453.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=159): time 0.02934/0.5031, allocations: 12.39 MB / 465.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001245/0.5044, allocations: 1.675 MB / 467.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004828/0.5093, allocations: 3.824 MB / 471.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002644/0.5095, allocations: 49.7 kB / 471.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002033/0.5116, allocations: 3.111 MB / 474.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007534/0.5123, allocations: 0.6524 MB / 475 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/0.514, allocations: 1.253 MB / 476.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.5141, allocations: 305.1 kB / 476.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/0.517, allocations: 2.038 MB / 478.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005232/0.5222, allocations: 5.965 MB / 484.5 MB, free: 1.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008622/0.5308, allocations: 8.621 MB / 493.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.74e-05/0.5309, allocations: 40 kB / 493.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02133/0.5523, allocations: 9.74 MB / 0.4911 GB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/0.5524, allocations: 64 kB / 0.4912 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0112/0.5636, allocations: 3.748 MB / 0.4949 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/0.5752, allocations: 2.594 MB / 0.4974 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004375/0.5796, allocations: 1.376 MB / 0.4987 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.5902, allocations: 7.722 MB / 0.5063 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004444/0.5947, allocations: 403.5 kB / 0.5067 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007161/0.5955, allocations: 384 kB / 0.507 GB, free: 12.14 MB / 414.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.002602/0.5981, allocations: 2.017 MB / 0.509 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004691/0.5985, allocations: 331.7 kB / 0.5093 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006538/0.6051, allocations: 3.133 MB / 0.5124 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005588/0.6107, allocations: 2.668 MB / 0.515 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6107, allocations: 4 kB / 0.515 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/0.6108, allocations: 11.91 kB / 0.515 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.6259, allocations: 8.564 MB / 0.5233 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.6259, allocations: 0 / 0.5233 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008861/0.6268, allocations: 195.7 kB / 0.5235 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004433/0.6313, allocations: 1.428 MB / 0.5249 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.6314, allocations: 39.97 kB / 0.525 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/0.6379, allocations: 6.014 MB / 0.5308 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001028/0.6389, allocations: 1.543 MB / 0.5323 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1614/0.8004, allocations: 5.296 MB / 0.5375 GB, free: 141.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008982/0.8013, allocations: 376.1 kB / 0.5379 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006851/0.802, allocations: 31.5 kB / 0.5379 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/0.8036, allocations: 119.4 kB / 0.538 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002835/0.8039, allocations: 92.7 kB / 0.5381 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.8041, allocations: 43.84 kB / 0.5382 GB, free: 141.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003604/0.8077, allocations: 2.35 MB / 0.5404 GB, free: 140.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8077, allocations: 0 / 0.5404 GB, free: 140.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005188/0.8129, allocations: 1.028 MB / 0.5415 GB, free: 140.6 MB / 430.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.0006214/0.8135, allocations: 170.4 kB / 0.5416 GB, free: 140.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009503/0.8231, allocations: 5.501 MB / 0.547 GB, free: 138.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.8231, allocations: 4.844 kB / 0.547 GB, free: 138.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003628/0.8267, allocations: 2.034 MB / 0.549 GB, free: 137.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.8295, allocations: 401.5 kB / 0.5494 GB, free: 137.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.8444, allocations: 8.972 MB / 0.5581 GB, free: 133.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003986/0.8484, allocations: 3.108 MB / 0.5612 GB, free: 132.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003773/0.8522, allocations: 1.804 MB / 0.5629 GB, free: 132.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/0.8529, allocations: 224.2 kB / 0.5631 GB, free: 132.2 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.8529, allocations: 0 / 0.5631 GB, free: 132.2 MB / 430.1 MB Notification: Performance of Templates: time 0.05487/0.9078, allocations: 33.4 MB / 0.5957 GB, free: 100.7 MB / 430.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches