Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008633/0.0008633, allocations: 95.22 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 202.2 kB / 18.28 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.8 MB / 246.8 MB, free: 11.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002174/0.0002174, allocations: 4 kB / 307.7 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1004, allocations: 51.53 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2395/0.3398, allocations: 40.76 MB / 400 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02297/0.3629, allocations: 9.011 MB / 409 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009633/0.3725, allocations: 181.1 kB / 409.2 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.3742, allocations: 421.4 kB / 409.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005034/0.3793, allocations: 1.627 MB / 411.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.3807, allocations: 0.6167 MB / 411.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006246/0.387, allocations: 5.351 MB / 417.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006615/0.3936, allocations: 4.814 MB / 422 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.3955, allocations: 1.101 MB / 423.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.3979, allocations: 1.818 MB / 425 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004626/0.3984, allocations: 136 kB / 425.1 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.4004, allocations: 1.026 MB / 426.1 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.4019, allocations: 1.613 MB / 427.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00173/0.4037, allocations: 1.919 MB / 429.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006437/0.4101, allocations: 6.183 MB / 435.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4102, allocations: 0 / 435.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4102, allocations: 0 / 435.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001332/0.4103, allocations: 0 / 435.8 MB, free: 14.16 MB / 350.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.006852/0.4172, allocations: 3.708 MB / 439.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4172, allocations: 8.031 kB / 439.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007363/0.4246, allocations: 1.98 MB / 441.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004659/0.4293, allocations: 1.951 MB / 443.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.4295, allocations: 254.2 kB / 443.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009467/0.4305, allocations: 391.6 kB / 444.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01749/0.448, allocations: 10.14 MB / 454.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.234e-05/0.4481, allocations: 43.56 kB / 454.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003862/0.4485, allocations: 155.9 kB / 454.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00269/0.4512, allocations: 1.861 MB / 456.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.4676, allocations: 8.39 MB / 464.7 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04953/0.5171, allocations: 39.38 MB / 0.4923 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.5281, allocations: 4.055 MB / 0.4962 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002106/0.5303, allocations: 1.428 MB / 0.4976 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.5411, allocations: 7.725 MB / 0.5052 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.5412, allocations: 55.5 kB / 0.5052 GB, free: 10 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.979e-06/0.5412, allocations: 0 / 0.5052 GB, free: 10 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03475/0.5759, allocations: 12.57 MB / 0.5175 GB, free: 13.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001142/0.5771, allocations: 1.6 MB / 0.5191 GB, free: 11.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005731/0.5829, allocations: 3.807 MB / 0.5228 GB, free: 7.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002787/0.5832, allocations: 45.7 kB / 0.5228 GB, free: 7.605 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001985/0.5852, allocations: 3.107 MB / 0.5258 GB, free: 4.453 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007181/0.5859, allocations: 0.6482 MB / 0.5265 GB, free: 3.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006744/0.5866, allocations: 0.5311 MB / 0.527 GB, free: 3.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.5867, allocations: 309.2 kB / 0.5273 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003002/0.5897, allocations: 2.054 MB / 0.5293 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1851/0.7748, allocations: 5.983 MB / 0.5351 GB, free: 140.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00923/0.784, allocations: 8.661 MB / 0.5436 GB, free: 133.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/0.7843, allocations: 39.88 kB / 0.5436 GB, free: 133.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02614/0.8104, allocations: 9.881 MB / 0.5533 GB, free: 130.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.8106, allocations: 65.56 kB / 0.5533 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01141/0.822, allocations: 3.901 MB / 0.5572 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/0.834, allocations: 2.734 MB / 0.5598 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004045/0.8381, allocations: 1.367 MB / 0.5612 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.8512, allocations: 10.67 MB / 0.5716 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/0.8559, allocations: 416.5 kB / 0.572 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000581/0.8565, allocations: 392.1 kB / 0.5724 GB, free: 119.6 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.002841/0.8594, allocations: 2.017 MB / 0.5743 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000543/0.8599, allocations: 324.2 kB / 0.5746 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00071/0.8607, allocations: 436.4 kB / 0.5751 GB, free: 117.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005234/0.8659, allocations: 2.77 MB / 0.5778 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.8659, allocations: 0 / 0.5778 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.8659, allocations: 11.97 kB / 0.5778 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/0.8794, allocations: 8.638 MB / 0.5862 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.8795, allocations: 3.938 kB / 0.5862 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008427/0.8803, allocations: 187.7 kB / 0.5864 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004334/0.8847, allocations: 1.467 MB / 0.5878 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.8848, allocations: 37.31 kB / 0.5879 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009958/0.8948, allocations: 9.158 MB / 0.5968 GB, free: 94.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006839/0.8955, allocations: 1.452 MB / 0.5982 GB, free: 92.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008063/0.9036, allocations: 5.41 MB / 0.6035 GB, free: 87.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007854/0.9044, allocations: 387.3 kB / 0.6039 GB, free: 87.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/0.9047, allocations: 31.98 kB / 0.6039 GB, free: 87.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.906, allocations: 135.8 kB / 0.604 GB, free: 86.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/0.9064, allocations: 108.8 kB / 0.6041 GB, free: 86.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.994e-05/0.9065, allocations: 42.05 kB / 0.6042 GB, free: 86.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002846/0.9093, allocations: 2.337 MB / 0.6065 GB, free: 84.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9093, allocations: 0 / 0.6065 GB, free: 84.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004996/0.9143, allocations: 1.076 MB / 0.6075 GB, free: 83.39 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.0004185/0.9148, allocations: 171 kB / 0.6077 GB, free: 83.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008723/0.9235, allocations: 5.754 MB / 0.6133 GB, free: 77.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.9235, allocations: 0 / 0.6133 GB, free: 77.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003754/0.9273, allocations: 2.306 MB / 0.6155 GB, free: 75.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/0.93, allocations: 385.9 kB / 0.6159 GB, free: 74.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.9445, allocations: 11.14 MB / 0.6268 GB, free: 63.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002698/0.9473, allocations: 3.123 MB / 0.6298 GB, free: 60.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004152/0.9515, allocations: 1.807 MB / 0.6316 GB, free: 58.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/0.952, allocations: 223.4 kB / 0.6318 GB, free: 58.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.803e-06/0.952, allocations: 0 / 0.6318 GB, free: 58.29 MB / 446.1 MB Notification: Performance of Templates: time 0.06287/1.015, allocations: 39.99 MB / 0.6709 GB, free: 18.48 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches