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.001218/0.001219, allocations: 111.1 kB / 17.74 MB, free: 5.332 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.00138/0.00138, allocations: 188.2 kB / 18.67 MB, free: 4.406 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.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 39.94 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2855, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01233/0.2979, allocations: 10.74 MB / 412.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008983/0.3069, allocations: 3.931 MB / 416.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002523/0.3095, allocations: 63.81 kB / 416.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005517/0.3151, allocations: 2.589 MB / 418.7 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.3203, allocations: 1.757 MB / 420.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.3222, allocations: 0.6863 MB / 421.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005692/0.328, allocations: 3.684 MB / 424.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005215/0.3332, allocations: 3.551 MB / 428.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003156/0.3364, allocations: 1.48 MB / 429.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003473/0.3399, allocations: 1.954 MB / 431.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.3412, allocations: 312 kB / 432.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.3443, allocations: 1.17 MB / 433.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002507/0.3468, allocations: 1.835 MB / 435.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004111/0.3509, allocations: 2.14 MB / 437.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009597/0.3606, allocations: 6.696 MB / 444 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3606, allocations: 4 kB / 444 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3606, allocations: 0 / 444 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003175/0.361, allocations: 0 / 444 MB, free: 14.09 MB / 366.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.01337/0.3743, allocations: 4.573 MB / 448.6 MB, free: 9.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3744, allocations: 12.03 kB / 448.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007627/0.3821, allocations: 1.867 MB / 450.4 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004645/0.3867, allocations: 2.024 MB / 452.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.3871, allocations: 246.2 kB / 452.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/0.3887, allocations: 395.7 kB / 453.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02123/0.4099, allocations: 10.07 MB / 463.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001737/0.4101, allocations: 35.69 kB / 463.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001239/0.4114, allocations: 163.8 kB / 463.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003201/0.4146, allocations: 1.853 MB / 465.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/0.4331, allocations: 8.332 MB / 473.5 MB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05162/0.4847, allocations: 39.25 MB / 0.5008 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/0.4976, allocations: 3.997 MB / 0.5047 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002486/0.5002, allocations: 1.432 MB / 0.5061 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01244/0.5126, allocations: 7.63 MB / 0.5135 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.5127, allocations: 47.56 kB / 0.5136 GB, free: 9.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.2e-06/0.5127, allocations: 0 / 0.5136 GB, free: 9.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03684/0.5496, allocations: 12.38 MB / 0.5257 GB, free: 12.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001454/0.5511, allocations: 1.679 MB / 0.5273 GB, free: 11.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006562/0.5577, allocations: 3.812 MB / 0.531 GB, free: 7.301 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003524/0.558, allocations: 45.7 kB / 0.5311 GB, free: 7.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002357/0.5604, allocations: 3.114 MB / 0.5341 GB, free: 4.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000879/0.5613, allocations: 0.6482 MB / 0.5347 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002356/0.5637, allocations: 1.257 MB / 0.536 GB, free: 2.164 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5638, allocations: 313.1 kB / 0.5363 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2219/0.7857, allocations: 2.025 MB / 0.5382 GB, free: 129.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006789/0.7925, allocations: 5.97 MB / 0.5441 GB, free: 124.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007482/0.8001, allocations: 8.621 MB / 0.5525 GB, free: 116.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/0.8002, allocations: 38.75 kB / 0.5525 GB, free: 116.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0212/0.8214, allocations: 9.733 MB / 0.562 GB, free: 113.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.631e-05/0.8215, allocations: 66.81 kB / 0.5621 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01049/0.832, allocations: 3.745 MB / 0.5658 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/0.8434, allocations: 2.604 MB / 0.5683 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00394/0.8474, allocations: 1.372 MB / 0.5696 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008551/0.8559, allocations: 7.715 MB / 0.5772 GB, free: 98.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004948/0.8609, allocations: 395.2 kB / 0.5776 GB, free: 98.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008128/0.8618, allocations: 392 kB / 0.5779 GB, free: 98.17 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.00286/0.8646, allocations: 2.011 MB / 0.5799 GB, free: 96.19 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005352/0.8652, allocations: 334.7 kB / 0.5802 GB, free: 96.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005833/0.871, allocations: 3.117 MB / 0.5833 GB, free: 92.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004843/0.8759, allocations: 2.681 MB / 0.5859 GB, free: 90.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.8759, allocations: 3.984 kB / 0.5859 GB, free: 90.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.8759, allocations: 11.81 kB / 0.5859 GB, free: 90.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.8889, allocations: 8.553 MB / 0.5942 GB, free: 81.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.889, allocations: 0 / 0.5942 GB, free: 81.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008569/0.8898, allocations: 187.7 kB / 0.5944 GB, free: 81.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004154/0.894, allocations: 1.435 MB / 0.5958 GB, free: 79.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/0.8942, allocations: 39.25 kB / 0.5959 GB, free: 79.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004992/0.8992, allocations: 6.014 MB / 0.6017 GB, free: 73.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007133/0.9, allocations: 1.538 MB / 0.6032 GB, free: 71.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007618/0.9076, allocations: 5.312 MB / 0.6084 GB, free: 66.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008762/0.9085, allocations: 372.7 kB / 0.6088 GB, free: 66.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003475/0.9089, allocations: 31.98 kB / 0.6088 GB, free: 66.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.9102, allocations: 111.8 kB / 0.6089 GB, free: 66.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.9104, allocations: 108.7 kB / 0.609 GB, free: 66.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.9105, allocations: 39.98 kB / 0.6091 GB, free: 66.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002772/0.9133, allocations: 2.341 MB / 0.6113 GB, free: 63.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9133, allocations: 0 / 0.6113 GB, free: 63.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004568/0.9179, allocations: 1.033 MB / 0.6123 GB, free: 62.73 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.0004123/0.9183, allocations: 169.6 kB / 0.6125 GB, free: 62.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008376/0.9267, allocations: 5.504 MB / 0.6179 GB, free: 57.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.9267, allocations: 0 / 0.6179 GB, free: 57.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00347/0.9302, allocations: 2.049 MB / 0.6199 GB, free: 54.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.9326, allocations: 387.3 kB / 0.6203 GB, free: 54.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.947, allocations: 9.396 MB / 0.6294 GB, free: 45.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002507/0.9496, allocations: 3.103 MB / 0.6325 GB, free: 41.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007769/0.9504, allocations: 271.4 kB / 0.6327 GB, free: 41.69 MB / 462.1 MB Notification: Performance of SimCode: time 1.283e-06/0.9504, allocations: 0 / 0.6327 GB, free: 41.69 MB / 462.1 MB Notification: Performance of Templates: time 0.4044/1.355, allocations: 143.9 MB / 0.7733 GB, free: 145.6 MB / 0.5137 GB 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