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.00112/0.00112, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001717/0.002836, allocations: 449.7 kB / 10.37 MB, free: 324 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.000761/0.000761, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001772, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.008/1.008, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0862/1.095, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.623e-06/1.623e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.219e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01018/0.01021, allocations: 10.22 MB / 255.2 MB, free: 3.375 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005531/0.01574, allocations: 4.027 MB / 259.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.01644, allocations: 75.62 kB / 259.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.01891, allocations: 2.62 MB / 262 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.02118, allocations: 1.808 MB / 263.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008514/0.02203, allocations: 0.7054 MB / 264.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002674/0.02471, allocations: 4.02 MB / 268.5 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.0266, allocations: 2.855 MB / 271.4 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.02843, allocations: 2.353 MB / 273.7 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1106/0.139, allocations: 2.013 MB / 275.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008795/0.1399, allocations: 319.8 kB / 276 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.1417, allocations: 1.131 MB / 277.2 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.1432, allocations: 1.732 MB / 278.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001827/0.1451, allocations: 1.005 MB / 279.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005659/0.1507, allocations: 4.046 MB / 283.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.925e-05/0.1508, allocations: 0 / 283.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1508, allocations: 0 / 283.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001972/0.1509, allocations: 0 / 283.9 MB, free: 5.047 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.006754/0.1577, allocations: 5.169 MB / 289.1 MB, free: 3.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1577, allocations: 8.281 kB / 289.1 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.1604, allocations: 1.126 MB / 290.2 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.1622, allocations: 1.537 MB / 291.8 MB, free: 2.633 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.1623, allocations: 254.2 kB / 292 MB, free: 2.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004925/0.1628, allocations: 384.3 kB / 292.4 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005564/0.1683, allocations: 5.174 MB / 297.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.777e-05/0.1684, allocations: 49.58 kB / 297.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000269/0.1687, allocations: 157.5 kB / 297.8 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001249/0.1699, allocations: 1.697 MB / 299.5 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005494/0.1754, allocations: 2.751 MB / 302.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02689/0.2023, allocations: 31.03 MB / 333.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005494/0.2078, allocations: 2.207 MB / 335.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006833/0.2085, allocations: 397.2 kB / 335.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006578/0.2151, allocations: 3.842 MB / 339.7 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.2151, allocations: 43.56 kB / 339.7 MB, free: 8.641 MB / 314.7 MB Notification: Performance of pre-optimization done (n=152): time 4.328e-06/0.2151, allocations: 0 / 339.7 MB, free: 8.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.01543/0.2305, allocations: 5.279 MB / 345 MB, free: 3.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001114/0.2316, allocations: 1.485 MB / 346.5 MB, free: 1.809 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003295/0.2349, allocations: 3.035 MB / 349.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.235, allocations: 51.81 kB / 349.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001655/0.2367, allocations: 3.083 MB / 352.7 MB, free: 12.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005682/0.2373, allocations: 0.6736 MB / 353.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001613/0.2389, allocations: 1.17 MB / 354.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.805e-05/0.2389, allocations: 310.2 kB / 354.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.2405, allocations: 0.8136 MB / 355.6 MB, free: 9.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/0.2441, allocations: 4.598 MB / 360.2 MB, free: 3.191 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00559/0.2497, allocations: 6.057 MB / 366.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.485e-05/0.2498, allocations: 40 kB / 366.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.007688/0.2575, allocations: 4.968 MB / 371.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.2575, allocations: 64 kB / 371.4 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003899/0.2614, allocations: 1.305 MB / 372.7 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004177/0.2656, allocations: 1.107 MB / 373.8 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/0.2683, allocations: 1.47 MB / 375.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005807/0.2741, allocations: 5.919 MB / 381.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/0.2771, allocations: 287.7 kB / 381.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/0.2775, allocations: 340 kB / 381.8 MB, free: 11.75 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.001811/0.2793, allocations: 0.6321 MB / 382.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/0.2797, allocations: 199.8 kB / 382.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.28, allocations: 341.5 kB / 382.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001815/0.2818, allocations: 0.9888 MB / 383.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2818, allocations: 4 kB / 383.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.2818, allocations: 11.97 kB / 383.9 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006295/0.2881, allocations: 4.153 MB / 388.1 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2881, allocations: 0 / 388.1 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.2886, allocations: 175.8 kB / 388.3 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.289, allocations: 281.7 kB / 388.5 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/0.2913, allocations: 1.037 MB / 389.6 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.489e-05/0.2914, allocations: 39.97 kB / 389.6 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00483/0.2962, allocations: 5.616 MB / 395.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005182/0.2968, allocations: 1.357 MB / 396.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/0.2995, allocations: 2.173 MB / 398.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004117/0.3, allocations: 37.09 kB / 398.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.3005, allocations: 31.98 kB / 398.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.3007, allocations: 112.7 kB / 398.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.3008, allocations: 32.61 kB / 399 MB, free: 10.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001237/0.3021, allocations: 1.074 MB / 400 MB, free: 9.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3021, allocations: 4 kB / 400 MB, free: 9.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003515/0.3056, allocations: 1.152 MB / 401.2 MB, free: 8.156 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.0003289/0.3059, allocations: 161.1 kB / 401.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004183/0.3101, allocations: 3.206 MB / 404.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001763/0.3103, allocations: 104.1 kB / 404.7 MB, free: 4.641 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.3117, allocations: 1.186 MB / 405.9 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.3136, allocations: 0.7671 MB / 406.6 MB, free: 2.652 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.3244, allocations: 7.28 MB / 413.9 MB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.3255, allocations: 1.178 MB / 415.1 MB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001267/0.3267, allocations: 455.1 kB / 415.5 MB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009564/0.3277, allocations: 0.501 MB / 416 MB, free: 9.133 MB / 394.7 MB Notification: Performance of SimCode: time 1.774e-06/0.3277, allocations: 0 / 416 MB, free: 9.133 MB / 394.7 MB Notification: Performance of Templates: time 0.1504/0.4781, allocations: 40.5 MB / 456.5 MB, free: 106.6 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.0067364582791924]