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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 108.5 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009196/0.00092, allocations: 47.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2458, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03033/0.2761, allocations: 42.19 MB / 441.7 MB, free: 7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01984/0.296, allocations: 9.174 MB / 450.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008912/0.305, allocations: 183.4 kB / 451 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005435/0.3105, allocations: 2.56 MB / 453.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004547/0.3151, allocations: 1.631 MB / 455.2 MB, free: 9.418 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.3168, allocations: 0.632 MB / 455.8 MB, free: 8.785 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006507/0.3234, allocations: 5.351 MB / 461.2 MB, free: 3.418 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004983/0.3284, allocations: 3.533 MB / 464.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.3308, allocations: 1.331 MB / 466.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003298/0.3341, allocations: 2.083 MB / 468.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009061/0.3351, allocations: 228 kB / 468.4 MB, free: 12.17 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.3376, allocations: 1.131 MB / 469.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001981/0.3396, allocations: 1.761 MB / 471.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.3421, allocations: 2.077 MB / 473.3 MB, free: 7.184 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005832/0.3479, allocations: 6.394 MB / 479.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3479, allocations: 0 / 479.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3479, allocations: 0 / 479.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001331/0.3481, allocations: 7.938 kB / 479.7 MB, free: 0.7617 MB / 346.7 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.007603/0.3557, allocations: 4.578 MB / 484.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3558, allocations: 8.031 kB / 484.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006359/0.3621, allocations: 1.879 MB / 486.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/0.3662, allocations: 1.985 MB / 488.2 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.3663, allocations: 254.2 kB / 488.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000799/0.3672, allocations: 395.6 kB / 488.8 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.3834, allocations: 10.06 MB / 498.9 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.794e-05/0.3835, allocations: 43.61 kB / 498.9 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/0.3839, allocations: 163.9 kB / 499.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002484/0.3864, allocations: 1.849 MB / 0.4892 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/0.4022, allocations: 8.335 MB / 0.4973 GB, free: 2.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2196/0.6218, allocations: 39.37 MB / 0.5358 GB, free: 66.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008707/0.6305, allocations: 4.004 MB / 0.5397 GB, free: 62.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.6321, allocations: 1.42 MB / 0.5411 GB, free: 61.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008932/0.641, allocations: 7.633 MB / 0.5485 GB, free: 53.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.6411, allocations: 59.48 kB / 0.5486 GB, free: 53.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.908e-06/0.6411, allocations: 0 / 0.5486 GB, free: 53.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=159): time 0.02758/0.6687, allocations: 12.38 MB / 0.5607 GB, free: 40.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009263/0.6697, allocations: 1.581 MB / 0.5622 GB, free: 38.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003918/0.6736, allocations: 3.816 MB / 0.566 GB, free: 35.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.6738, allocations: 49.77 kB / 0.566 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.6749, allocations: 3.108 MB / 0.569 GB, free: 31.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004156/0.6754, allocations: 0.6483 MB / 0.5697 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.6765, allocations: 1.257 MB / 0.5709 GB, free: 30.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.6765, allocations: 316.9 kB / 0.5712 GB, free: 29.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.6787, allocations: 2.034 MB / 0.5732 GB, free: 27.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003585/0.6823, allocations: 5.973 MB / 0.579 GB, free: 19.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00692/0.6893, allocations: 8.618 MB / 0.5874 GB, free: 9.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/0.6894, allocations: 40 kB / 0.5875 GB, free: 9.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02108/0.7105, allocations: 9.73 MB / 0.597 GB, free: 15.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.273e-05/0.7106, allocations: 70.59 kB / 0.597 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01238/0.723, allocations: 3.742 MB / 0.6007 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01257/0.7356, allocations: 2.614 MB / 0.6033 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004043/0.7397, allocations: 1.365 MB / 0.6046 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009808/0.7495, allocations: 7.176 MB / 0.6116 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004632/0.7542, allocations: 403.3 kB / 0.612 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009094/0.7551, allocations: 395.8 kB / 0.6124 GB, free: 15.29 MB / 410.7 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.003356/0.7585, allocations: 2.017 MB / 0.6143 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006286/0.7591, allocations: 323.8 kB / 0.6146 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007057/0.7662, allocations: 3.125 MB / 0.6177 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005911/0.7722, allocations: 2.687 MB / 0.6203 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.7722, allocations: 0 / 0.6203 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/0.7722, allocations: 7.984 kB / 0.6203 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/0.7901, allocations: 8.571 MB / 0.6287 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/0.7901, allocations: 0 / 0.6287 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009645/0.7911, allocations: 191.7 kB / 0.6289 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004793/0.7959, allocations: 1.44 MB / 0.6303 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/0.7961, allocations: 43.97 kB / 0.6303 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006203/0.8023, allocations: 5.688 MB / 0.6359 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009811/0.8033, allocations: 1.449 MB / 0.6373 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3019/1.105, allocations: 37.79 MB / 0.6742 GB, free: 157.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/1.107, allocations: 372.1 kB / 0.6745 GB, free: 157.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000587/1.107, allocations: 34.73 kB / 0.6746 GB, free: 157.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/1.109, allocations: 119.7 kB / 0.6747 GB, free: 157.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/1.109, allocations: 101 kB / 0.6748 GB, free: 157.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.109, allocations: 41.61 kB / 0.6748 GB, free: 157.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003779/1.113, allocations: 2.341 MB / 0.6771 GB, free: 157.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.113, allocations: 1 kB / 0.6771 GB, free: 157.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006978/1.12, allocations: 1.409 MB / 0.6785 GB, free: 157.6 MB / 458.7 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.0005016/1.12, allocations: 173.8 kB / 0.6787 GB, free: 157.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009894/1.13, allocations: 5.473 MB / 0.684 GB, free: 155.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/1.13, allocations: 1.469 kB / 0.684 GB, free: 155.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003597/1.134, allocations: 2.014 MB / 0.686 GB, free: 155.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/1.136, allocations: 384.4 kB / 0.6863 GB, free: 154.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/1.157, allocations: 13.43 MB / 0.6995 GB, free: 147.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004498/1.161, allocations: 3.178 MB / 0.7026 GB, free: 144.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004501/1.166, allocations: 1.819 MB / 0.7043 GB, free: 143.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006733/1.166, allocations: 226.1 kB / 0.7045 GB, free: 143.2 MB / 458.7 MB Notification: Performance of SimCode: time 7.22e-07/1.166, allocations: 0 / 0.7045 GB, free: 143.2 MB / 458.7 MB Notification: Performance of Templates: time 0.0724/1.239, allocations: 48.32 MB / 0.7517 GB, free: 95.86 MB / 458.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches