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.001482/0.001482, allocations: 88.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001026/0.001026, allocations: 161 kB / 24.91 MB, free: 9.203 MB / 18.57 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 0.9358/0.9358, allocations: 177 MB / 205.2 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.775e-05, allocations: 2.312 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01008/0.01009, allocations: 10.14 MB / 283.6 MB, free: 6.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006211/0.0163, allocations: 3.992 MB / 287.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007211/0.01702, allocations: 71.69 kB / 287.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00295/0.01997, allocations: 2.725 MB / 290.4 MB, free: 172 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1314/0.1514, allocations: 1.811 MB / 292.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.1528, allocations: 0.7379 MB / 292.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004035/0.1569, allocations: 4.104 MB / 297 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.1593, allocations: 3.049 MB / 300.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.1613, allocations: 2.223 MB / 302.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.1633, allocations: 2.031 MB / 304.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003342/0.1636, allocations: 317.8 kB / 304.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.1649, allocations: 1.138 MB / 305.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008356/0.1657, allocations: 1.937 MB / 307.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008458/0.1666, allocations: 1.235 MB / 308.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.1691, allocations: 4.347 MB / 313.3 MB, free: 7.129 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1691, allocations: 0 / 313.3 MB, free: 7.129 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1691, allocations: 0 / 313.3 MB, free: 7.129 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.766e-05/0.1691, allocations: 0 / 313.3 MB, free: 7.129 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.003154/0.1723, allocations: 4.259 MB / 317.5 MB, free: 3.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.1723, allocations: 19.98 kB / 317.6 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.1747, allocations: 1.135 MB / 318.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.176, allocations: 1.535 MB / 320.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.419e-05/0.1761, allocations: 243 kB / 320.5 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004071/0.1765, allocations: 391.6 kB / 320.8 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004975/0.1814, allocations: 5.189 MB / 326 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.597e-05/0.1815, allocations: 37 kB / 326.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.1817, allocations: 156 kB / 326.2 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001573/0.1833, allocations: 1.694 MB / 327.9 MB, free: 8.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004248/0.1876, allocations: 2.712 MB / 330.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02134/0.2089, allocations: 31.04 MB / 361.7 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.213, allocations: 2.246 MB / 363.9 MB, free: 5.109 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/0.2134, allocations: 407.2 kB / 364.3 MB, free: 4.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005346/0.2188, allocations: 3.863 MB / 368.2 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.2188, allocations: 51.5 kB / 368.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of pre-optimization done (n=152): time 3.176e-06/0.2188, allocations: 0 / 368.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.01518/0.234, allocations: 5.325 MB / 373.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008178/0.2348, allocations: 1.479 MB / 375 MB, free: 9.898 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/0.2376, allocations: 3.038 MB / 378.1 MB, free: 7.055 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.715e-05/0.2377, allocations: 45.7 kB / 378.1 MB, free: 7.004 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00176/0.2395, allocations: 3.096 MB / 381.2 MB, free: 3.879 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/0.2399, allocations: 0.6707 MB / 381.9 MB, free: 3.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.2411, allocations: 1.176 MB / 383.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.2412, allocations: 305.1 kB / 383.4 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.2427, allocations: 0.8097 MB / 384.2 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003681/0.2464, allocations: 4.602 MB / 388.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005473/0.2518, allocations: 6.06 MB / 394.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.161e-05/0.2519, allocations: 40 kB / 394.9 MB, free: 2.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.009936/0.2618, allocations: 4.969 MB / 399.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.884e-05/0.2619, allocations: 67.98 kB / 399.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0049/0.2668, allocations: 1.287 MB / 401.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005782/0.2726, allocations: 1.108 MB / 402.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002813/0.2754, allocations: 1.384 MB / 403.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00605/0.2814, allocations: 5.898 MB / 409.6 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/0.2839, allocations: 283.7 kB / 409.9 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003081/0.2842, allocations: 348 kB / 410.2 MB, free: 2.57 MB / 362.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.001162/0.2854, allocations: 0.6301 MB / 410.8 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.2857, allocations: 199.8 kB / 411 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.286, allocations: 341.5 kB / 411.4 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00185/0.2878, allocations: 0.9815 MB / 412.3 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.2878, allocations: 4 kB / 412.3 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.2878, allocations: 7.969 kB / 412.4 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006062/0.2939, allocations: 4.169 MB / 416.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2939, allocations: 4 kB / 416.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.2944, allocations: 163.8 kB / 416.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002289/0.2967, allocations: 1.042 MB / 417.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.804e-05/0.2967, allocations: 35.97 kB / 417.8 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/0.3016, allocations: 5.615 MB / 423.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005346/0.3021, allocations: 1.356 MB / 424.7 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.3049, allocations: 2.166 MB / 426.9 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.3055, allocations: 273.8 kB / 427.2 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.3057, allocations: 35.92 kB / 427.2 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/0.3062, allocations: 31.98 kB / 427.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.3064, allocations: 108.8 kB / 427.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.3065, allocations: 39.97 kB / 427.4 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008498/0.3074, allocations: 1.067 MB / 428.4 MB, free: 15.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3074, allocations: 4 kB / 428.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003051/0.3104, allocations: 1.148 MB / 429.6 MB, free: 14.55 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.0003061/0.3107, allocations: 166.5 kB / 429.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003571/0.3143, allocations: 3.199 MB / 433 MB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001445/0.3144, allocations: 96.16 kB / 433.1 MB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.3158, allocations: 1.18 MB / 434.2 MB, free: 9.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.3172, allocations: 0.5407 MB / 434.8 MB, free: 9.281 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.3274, allocations: 7.155 MB / 441.9 MB, free: 2.035 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.3287, allocations: 1.173 MB / 443.1 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001373/0.3301, allocations: 455.1 kB / 443.5 MB, free: 408 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.09949/0.4296, allocations: 0.5002 MB / 444 MB, free: 126.9 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4296, allocations: 0 / 444 MB, free: 126.9 MB / 394.7 MB Notification: Performance of Templates: time 0.04667/0.4763, allocations: 39.84 MB / 483.9 MB, free: 106.8 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.920760503038764]