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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001823/0.001823, allocations: 89.3 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002264/0.002264, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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=5003,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=5003,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 1.875 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.368e-05, allocations: 5.234 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01226/0.01228, allocations: 9.375 MB / 334.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008974/0.02126, allocations: 3.769 MB / 338.2 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.02313, allocations: 69.41 kB / 338.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005627/0.02876, allocations: 2.654 MB / 340.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005034/0.03379, allocations: 1.835 MB / 342.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.03608, allocations: 0.7251 MB / 343.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006253/0.04233, allocations: 4.101 MB / 347.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003516/0.04585, allocations: 2.978 MB / 350.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.04874, allocations: 2.233 MB / 352.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.05188, allocations: 2.057 MB / 354.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005976/0.05248, allocations: 320 kB / 355.1 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.05459, allocations: 1.112 MB / 356.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001858/0.05645, allocations: 1.924 MB / 358.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.05809, allocations: 1.227 MB / 359.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00766/0.06576, allocations: 6.666 MB / 366.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.06576, allocations: 0 / 366.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.06576, allocations: 3.984 kB / 366.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001262/0.06589, allocations: 0 / 366.1 MB, free: 11.83 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.009129/0.07502, allocations: 4.596 MB / 370.7 MB, free: 7.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.07507, allocations: 19.98 kB / 370.7 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008023/0.08309, allocations: 2.057 MB / 372.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004191/0.08728, allocations: 1.949 MB / 374.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.0875, allocations: 246.4 kB / 374.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009862/0.08848, allocations: 391.8 kB / 375.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01976/0.1082, allocations: 10.19 MB / 385.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.1084, allocations: 43.58 kB / 385.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004686/0.1088, allocations: 163.8 kB / 385.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003052/0.1119, allocations: 1.857 MB / 387.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/0.1305, allocations: 8.355 MB / 395.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04816/0.1787, allocations: 37 MB / 432.9 MB, free: 7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.1902, allocations: 3.612 MB / 436.5 MB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.1923, allocations: 1.332 MB / 437.9 MB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.2032, allocations: 5.631 MB / 443.5 MB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.956e-05/0.2033, allocations: 55.55 kB / 443.6 MB, free: 12.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 4.148e-06/0.2033, allocations: 0 / 443.6 MB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03881/0.2421, allocations: 12.61 MB / 456.2 MB, free: 15.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001494/0.2436, allocations: 1.557 MB / 457.7 MB, free: 13.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005545/0.2491, allocations: 3.733 MB / 461.5 MB, free: 10.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004095/0.2495, allocations: 53.61 kB / 461.5 MB, free: 10.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002455/0.252, allocations: 3.217 MB / 464.7 MB, free: 6.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008325/0.2528, allocations: 0.6708 MB / 465.4 MB, free: 6.164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/0.2545, allocations: 1.247 MB / 466.6 MB, free: 4.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2547, allocations: 301.1 kB / 466.9 MB, free: 4.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/0.2581, allocations: 2.085 MB / 469 MB, free: 2.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1743/0.4324, allocations: 6.016 MB / 475 MB, free: 120.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009007/0.4414, allocations: 8.674 MB / 483.7 MB, free: 113.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002395/0.4416, allocations: 41.55 kB / 483.7 MB, free: 113.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02641/0.4681, allocations: 9.882 MB / 493.6 MB, free: 110.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.4682, allocations: 66.06 kB / 493.7 MB, free: 110.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01813/0.4864, allocations: 3.889 MB / 497.6 MB, free: 109.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02166/0.508, allocations: 2.725 MB / 0.4886 GB, free: 108.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007451/0.5155, allocations: 1.39 MB / 0.4899 GB, free: 108.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02554/0.541, allocations: 11.06 MB / 0.5007 GB, free: 97.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004959/0.546, allocations: 475.2 kB / 0.5012 GB, free: 96.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000907/0.5469, allocations: 394.1 kB / 0.5016 GB, free: 96.34 MB / 430.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.002942/0.5498, allocations: 2.01 MB / 0.5035 GB, free: 94.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005266/0.5503, allocations: 313.9 kB / 0.5038 GB, free: 94.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007328/0.5511, allocations: 401.5 kB / 0.5042 GB, free: 93.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005471/0.5565, allocations: 2.713 MB / 0.5069 GB, free: 91.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.5566, allocations: 8 kB / 0.5069 GB, free: 91.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.5566, allocations: 7.969 kB / 0.5069 GB, free: 91.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.5701, allocations: 7.524 MB / 0.5142 GB, free: 83.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.5702, allocations: 7.984 kB / 0.5142 GB, free: 83.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008716/0.571, allocations: 183.7 kB / 0.5144 GB, free: 83.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004424/0.5754, allocations: 1.445 MB / 0.5158 GB, free: 81.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.5756, allocations: 43.91 kB / 0.5159 GB, free: 81.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.5862, allocations: 9.353 MB / 0.525 GB, free: 72.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006518/0.5868, allocations: 1.427 MB / 0.5264 GB, free: 70.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007796/0.5946, allocations: 5.325 MB / 0.5316 GB, free: 65.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006528/0.5953, allocations: 298.2 kB / 0.5319 GB, free: 65.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004428/0.5957, allocations: 39.7 kB / 0.5319 GB, free: 65.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.5973, allocations: 159.7 kB / 0.5321 GB, free: 65.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.5976, allocations: 108.8 kB / 0.5322 GB, free: 65.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.5977, allocations: 43.98 kB / 0.5322 GB, free: 65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00268/0.6004, allocations: 2.12 MB / 0.5343 GB, free: 62.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6004, allocations: 0 / 0.5343 GB, free: 62.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004602/0.605, allocations: 1.154 MB / 0.5354 GB, free: 61.74 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.0004155/0.6054, allocations: 180.8 kB / 0.5356 GB, free: 61.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008082/0.6135, allocations: 5.435 MB / 0.5409 GB, free: 56.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6135, allocations: 0 / 0.5409 GB, free: 56.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003604/0.6171, allocations: 2.076 MB / 0.5429 GB, free: 54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.619, allocations: 360.4 kB / 0.5433 GB, free: 53.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.6305, allocations: 8.94 MB / 0.552 GB, free: 44.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00269/0.6332, allocations: 2.588 MB / 0.5545 GB, free: 42.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003258/0.6364, allocations: 1.778 MB / 0.5563 GB, free: 40.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005244/0.6369, allocations: 212.4 kB / 0.5565 GB, free: 40.07 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6369, allocations: 0 / 0.5565 GB, free: 40.07 MB / 430.1 MB Notification: Performance of Templates: time 0.05798/0.6949, allocations: 36.39 MB / 0.592 GB, free: 4.18 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.592444099485874]