Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009281/0.0009281, allocations: 77.88 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 169.3 kB / 24.82 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.2 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.98e-05, allocations: 2.312 kB / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.007517/0.007537, allocations: 10.08 MB / 283.5 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005242/0.01278, allocations: 3.849 MB / 287.3 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007211/0.0135, allocations: 67.69 kB / 287.4 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.01608, allocations: 2.733 MB / 290.1 MB, free: 492 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.12/0.136, allocations: 1.834 MB / 292 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.1373, allocations: 0.7409 MB / 292.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004512/0.1418, allocations: 4.103 MB / 296.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003497/0.1453, allocations: 3.063 MB / 299.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/0.1483, allocations: 2.253 MB / 302.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.151, allocations: 2.122 MB / 304.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007153/0.1518, allocations: 318.7 kB / 304.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.1534, allocations: 1.115 MB / 305.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.1544, allocations: 1.94 MB / 307.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.1556, allocations: 1.231 MB / 308.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.159, allocations: 4.347 MB / 313.2 MB, free: 7.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.159, allocations: 0 / 313.2 MB, free: 7.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.159, allocations: 1.219 kB / 313.2 MB, free: 7.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.989e-05/0.1591, allocations: 0 / 313.2 MB, free: 7.418 MB / 266.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.004967/0.1641, allocations: 4.821 MB / 318 MB, free: 2.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1641, allocations: 8.031 kB / 318 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003998/0.1681, allocations: 1.499 MB / 319.5 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.1701, allocations: 1.682 MB / 321.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.1703, allocations: 242.7 kB / 321.5 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006439/0.1709, allocations: 398.7 kB / 321.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008762/0.1797, allocations: 5.8 MB / 327.6 MB, free: 8.996 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.532e-05/0.1798, allocations: 45.62 kB / 327.7 MB, free: 8.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003167/0.1801, allocations: 154.5 kB / 327.8 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001888/0.182, allocations: 1.697 MB / 329.5 MB, free: 7.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006865/0.1889, allocations: 2.771 MB / 332.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03416/0.223, allocations: 43.44 MB / 375.7 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005143/0.2282, allocations: 2.459 MB / 378.2 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006544/0.2288, allocations: 0.4914 MB / 378.7 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005655/0.2345, allocations: 4.197 MB / 382.9 MB, free: 1.926 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2345, allocations: 54.39 kB / 382.9 MB, free: 1.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 3.817e-06/0.2345, allocations: 0 / 382.9 MB, free: 1.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01481/0.2493, allocations: 6.119 MB / 389.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008888/0.2502, allocations: 2.014 MB / 391.1 MB, free: 9.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/0.2533, allocations: 3.385 MB / 394.5 MB, free: 6.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002007/0.2535, allocations: 49.7 kB / 394.5 MB, free: 6.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.2551, allocations: 3.411 MB / 397.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005632/0.2556, allocations: 0.698 MB / 398.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.2567, allocations: 1.383 MB / 400 MB, free: 0.668 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.2568, allocations: 480.7 kB / 400.5 MB, free: 200 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.258, allocations: 0.6328 MB / 401.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/0.2614, allocations: 6.499 MB / 407.6 MB, free: 6.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005569/0.267, allocations: 7.874 MB / 415.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001118/0.2671, allocations: 40 kB / 415.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0107/0.2778, allocations: 5.732 MB / 421.3 MB, free: 6.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.72e-05/0.2778, allocations: 64 kB / 421.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004477/0.2823, allocations: 1.437 MB / 422.8 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004676/0.287, allocations: 1.127 MB / 423.9 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.2897, allocations: 1.329 MB / 425.2 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007228/0.2969, allocations: 7.701 MB / 432.9 MB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/0.2999, allocations: 279.8 kB / 433.2 MB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000585/0.3005, allocations: 336 kB / 433.5 MB, free: 9.379 MB / 394.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.001279/0.3017, allocations: 0.681 MB / 434.2 MB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005871/0.3023, allocations: 353.9 kB / 434.5 MB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.3027, allocations: 345.5 kB / 434.9 MB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002069/0.3047, allocations: 1.124 MB / 436 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3047, allocations: 7.938 kB / 436 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.3048, allocations: 7.969 kB / 436 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007364/0.3121, allocations: 4.897 MB / 440.9 MB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3121, allocations: 0 / 440.9 MB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.3125, allocations: 155.8 kB / 441.1 MB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002121/0.3147, allocations: 0.8918 MB / 442 MB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-05/0.3148, allocations: 39.95 kB / 442 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1241/0.4388, allocations: 7.418 MB / 449.4 MB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004524/0.4393, allocations: 1.878 MB / 451.3 MB, free: 115.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.4435, allocations: 2.508 MB / 453.8 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005452/0.4441, allocations: 287 kB / 454.1 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.4443, allocations: 29.81 kB / 454.1 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.4449, allocations: 31.44 kB / 454.1 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/0.4452, allocations: 114.7 kB / 454.2 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/0.4453, allocations: 37.89 kB / 454.3 MB, free: 114.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001457/0.4467, allocations: 1.322 MB / 455.6 MB, free: 114.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4467, allocations: 0 / 455.6 MB, free: 114.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003305/0.45, allocations: 1.151 MB / 456.8 MB, free: 114.7 MB / 394.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.0003178/0.4503, allocations: 179 kB / 456.9 MB, free: 114.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004639/0.455, allocations: 3.585 MB / 460.5 MB, free: 113.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.455, allocations: 4 kB / 460.5 MB, free: 113.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.4566, allocations: 1.425 MB / 461.9 MB, free: 113.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.4582, allocations: 362.9 kB / 462.3 MB, free: 113.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00848/0.4666, allocations: 7.402 MB / 469.7 MB, free: 110.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009811/0.4676, allocations: 1.176 MB / 470.9 MB, free: 109.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001167/0.4688, allocations: 458.5 kB / 471.3 MB, free: 109.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/0.4695, allocations: 0.5372 MB / 471.9 MB, free: 109.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4695, allocations: 4 kB / 471.9 MB, free: 109.7 MB / 394.7 MB Notification: Performance of Templates: time 0.05861/0.5281, allocations: 39.98 MB / 0.4999 GB, free: 75.03 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.029440099839121]