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.001129/0.001129, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00157/0.0027, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001065/0.001065, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002412, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.015/1.015, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08649/1.101, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.793e-06/1.793e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.315e-05, allocations: 5.406 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.007796/0.007819, allocations: 10.22 MB / 255.4 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006473/0.01429, allocations: 4.035 MB / 259.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.01579, allocations: 71.62 kB / 259.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003255/0.01904, allocations: 2.624 MB / 262.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.0227, allocations: 1.808 MB / 264 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.02381, allocations: 0.7016 MB / 264.7 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00396/0.02778, allocations: 4.005 MB / 268.7 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/0.03067, allocations: 2.863 MB / 271.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002992/0.03366, allocations: 2.342 MB / 273.9 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1213/0.1549, allocations: 2.009 MB / 275.9 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.156, allocations: 318.2 kB / 276.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.1581, allocations: 1.132 MB / 277.3 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.1596, allocations: 1.736 MB / 279.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.1613, allocations: 1.003 MB / 280.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004963/0.1663, allocations: 4.041 MB / 284.1 MB, free: 5.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.1663, allocations: 0 / 284.1 MB, free: 5.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1663, allocations: 0 / 284.1 MB, free: 5.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001945/0.1665, allocations: 0 / 284.1 MB, free: 5.07 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.006403/0.1729, allocations: 5.167 MB / 289.3 MB, free: 3.148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.1729, allocations: 8.469 kB / 289.3 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.1757, allocations: 1.132 MB / 290.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.1776, allocations: 1.541 MB / 292 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.1777, allocations: 244.2 kB / 292.2 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000551/0.1783, allocations: 393.2 kB / 292.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006315/0.1846, allocations: 5.178 MB / 297.8 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.646e-05/0.1847, allocations: 47.5 kB / 297.8 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/0.185, allocations: 156.2 kB / 298 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001277/0.1863, allocations: 1.593 MB / 299.6 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006268/0.1925, allocations: 2.725 MB / 302.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02662/0.2192, allocations: 31.05 MB / 333.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004481/0.2236, allocations: 2.185 MB / 335.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006262/0.2243, allocations: 401.5 kB / 335.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005501/0.2298, allocations: 3.837 MB / 339.7 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.2298, allocations: 52.75 kB / 339.8 MB, free: 8.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=152): time 3.867e-06/0.2298, allocations: 0 / 339.8 MB, free: 8.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.01406/0.2439, allocations: 5.321 MB / 345.1 MB, free: 3.352 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008757/0.2447, allocations: 1.48 MB / 346.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003438/0.2482, allocations: 3.037 MB / 349.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.2483, allocations: 49.64 kB / 349.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.2499, allocations: 3.092 MB / 352.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005773/0.2505, allocations: 0.6684 MB / 353.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/0.2517, allocations: 1.18 MB / 354.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.2518, allocations: 309 kB / 354.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.2534, allocations: 0.8058 MB / 355.7 MB, free: 9.465 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003453/0.2569, allocations: 4.597 MB / 360.3 MB, free: 3.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006453/0.2633, allocations: 6.462 MB / 366.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.378e-05/0.2634, allocations: 44 kB / 366.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0108/0.2742, allocations: 4.966 MB / 371.8 MB, free: 6.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/0.2743, allocations: 67.98 kB / 371.9 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/0.2745, allocations: 148 kB / 372 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005731/0.2802, allocations: 1.115 MB / 373.1 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/0.2838, allocations: 1.478 MB / 374.6 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007723/0.2915, allocations: 5.882 MB / 380.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/0.2955, allocations: 283.8 kB / 380.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005965/0.2961, allocations: 337.9 kB / 381.1 MB, free: 12.5 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 {(4,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001837/0.2979, allocations: 0.6317 MB / 381.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004763/0.2984, allocations: 201.1 kB / 381.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004798/0.2989, allocations: 345.5 kB / 382.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002301/0.3012, allocations: 0.9779 MB / 383.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3012, allocations: 4 kB / 383.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.3012, allocations: 11.97 kB / 383.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006813/0.308, allocations: 4.155 MB / 387.4 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.308, allocations: 15.97 kB / 387.4 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.3085, allocations: 171.8 kB / 387.6 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/0.309, allocations: 281.8 kB / 387.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/0.3115, allocations: 1.052 MB / 388.9 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.645e-05/0.3116, allocations: 27.98 kB / 388.9 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0047/0.3163, allocations: 5.596 MB / 394.5 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004976/0.3167, allocations: 1.341 MB / 395.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/0.3196, allocations: 2.183 MB / 398.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006033/0.3202, allocations: 45.62 kB / 398.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.3209, allocations: 31.98 kB / 398.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.3211, allocations: 112.7 kB / 398.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-05/0.3212, allocations: 38.25 kB / 398.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001207/0.3224, allocations: 1.078 MB / 399.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3224, allocations: 4 kB / 399.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003649/0.326, allocations: 1.152 MB / 400.5 MB, free: 8.91 MB / 378.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.0003638/0.3264, allocations: 165.1 kB / 400.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004065/0.3304, allocations: 3.324 MB / 404 MB, free: 5.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001753/0.3306, allocations: 112.4 kB / 404.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.3325, allocations: 1.252 MB / 405.4 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.3353, allocations: 2.72 MB / 408.1 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.3456, allocations: 7.275 MB / 415.4 MB, free: 9.539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.3467, allocations: 1.178 MB / 416.5 MB, free: 8.336 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00108/0.3478, allocations: 459 kB / 417 MB, free: 7.887 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006402/0.3484, allocations: 0.4972 MB / 417.5 MB, free: 7.387 MB / 394.7 MB Notification: Performance of SimCode: time 1.743e-06/0.3484, allocations: 0 / 417.5 MB, free: 7.387 MB / 394.7 MB Notification: Performance of Templates: time 0.1638/0.5122, allocations: 38.84 MB / 456.3 MB, free: 105.7 MB / 394.7 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=240 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.60847678873688]