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.001506/0.001506, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001945/0.001945, allocations: 215.8 kB / 23 MB, free: 5.605 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.468/1.468, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.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 0.001936/0.001936, allocations: 63.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2577, allocations: 53.33 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01307/0.2708, allocations: 10.77 MB / 440.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008139/0.279, allocations: 3.99 MB / 444.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.2804, allocations: 59.81 kB / 444.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005162/0.2856, allocations: 2.612 MB / 447.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004449/0.29, allocations: 1.766 MB / 449 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.2918, allocations: 0.6824 MB / 449.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006515/0.2983, allocations: 3.716 MB / 453.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005599/0.3039, allocations: 2.517 MB / 455.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004007/0.3079, allocations: 1.472 MB / 457.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004135/0.312, allocations: 2.106 MB / 459.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.3133, allocations: 316 kB / 459.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.3164, allocations: 1.19 MB / 461 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003203/0.3197, allocations: 1.85 MB / 462.8 MB, free: 6.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004612/0.3243, allocations: 2.124 MB / 465 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.3347, allocations: 6.668 MB / 471.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3348, allocations: 0 / 471.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3348, allocations: 0 / 471.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001786/0.3349, allocations: 0 / 471.6 MB, free: 13.52 MB / 382.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.00901/0.3439, allocations: 4.655 MB / 476.3 MB, free: 8.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.344, allocations: 16.03 kB / 476.3 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006848/0.3508, allocations: 1.956 MB / 478.3 MB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00399/0.3548, allocations: 2.002 MB / 480.3 MB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.355, allocations: 246.2 kB / 480.5 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008589/0.3559, allocations: 395.7 kB / 480.9 MB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.3753, allocations: 10.11 MB / 491 MB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.3755, allocations: 43.58 kB / 491 MB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004284/0.3759, allocations: 163.8 kB / 491.2 MB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002903/0.3788, allocations: 1.857 MB / 493.1 MB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01848/0.3973, allocations: 8.371 MB / 0.4897 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05201/0.4493, allocations: 39.3 MB / 0.5281 GB, free: 6.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.4598, allocations: 3.91 MB / 0.5319 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.4619, allocations: 1.338 MB / 0.5332 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2399/0.7019, allocations: 7.728 MB / 0.5407 GB, free: 97.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.7019, allocations: 50.95 kB / 0.5408 GB, free: 97.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.217e-06/0.7019, allocations: 1.078 kB / 0.5408 GB, free: 97.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02761/0.7295, allocations: 12.69 MB / 0.5532 GB, free: 93.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009288/0.7305, allocations: 1.682 MB / 0.5548 GB, free: 91.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/0.7345, allocations: 3.816 MB / 0.5585 GB, free: 88.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002659/0.7347, allocations: 53.14 kB / 0.5586 GB, free: 88.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.7359, allocations: 3.241 MB / 0.5618 GB, free: 85.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004736/0.7364, allocations: 0.6699 MB / 0.5624 GB, free: 85.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.7376, allocations: 1.274 MB / 0.5637 GB, free: 83.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.914e-05/0.7376, allocations: 312.9 kB / 0.564 GB, free: 83.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/0.7399, allocations: 2.05 MB / 0.566 GB, free: 81.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003369/0.7433, allocations: 5.973 MB / 0.5718 GB, free: 73.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006664/0.7499, allocations: 8.66 MB / 0.5803 GB, free: 62.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.025e-05/0.75, allocations: 40 kB / 0.5803 GB, free: 62.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01866/0.7686, allocations: 9.829 MB / 0.5899 GB, free: 52.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/0.7687, allocations: 68 kB / 0.59 GB, free: 52.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01053/0.7793, allocations: 3.846 MB / 0.5937 GB, free: 49.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/0.7903, allocations: 2.719 MB / 0.5964 GB, free: 46.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003581/0.7938, allocations: 1.376 MB / 0.5977 GB, free: 44.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.8068, allocations: 11.58 MB / 0.609 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005608/0.8124, allocations: 407.5 kB / 0.6094 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006508/0.8131, allocations: 388 kB / 0.6098 GB, free: 32.17 MB / 446.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.002695/0.8158, allocations: 2.017 MB / 0.6118 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000505/0.8163, allocations: 349.6 kB / 0.6121 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/0.8169, allocations: 432.4 kB / 0.6125 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005063/0.822, allocations: 2.711 MB / 0.6151 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.822, allocations: 4 kB / 0.6151 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.822, allocations: 7.984 kB / 0.6152 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.8346, allocations: 8.571 MB / 0.6235 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.8347, allocations: 7.938 kB / 0.6235 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008298/0.8355, allocations: 195.7 kB / 0.6237 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004194/0.8397, allocations: 1.452 MB / 0.6251 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.8398, allocations: 39.97 kB / 0.6252 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.85, allocations: 9.814 MB / 0.6348 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007722/0.8508, allocations: 1.54 MB / 0.6363 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008533/0.8593, allocations: 5.37 MB / 0.6415 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.8603, allocations: 386.6 kB / 0.6419 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003415/0.8607, allocations: 36 kB / 0.6419 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.8619, allocations: 127.8 kB / 0.642 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003794/0.8623, allocations: 112.7 kB / 0.6421 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.8624, allocations: 39.98 kB / 0.6422 GB, free: 14.24 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003619/0.866, allocations: 2.333 MB / 0.6445 GB, free: 11.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.866, allocations: 0 / 0.6445 GB, free: 11.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004688/0.8707, allocations: 1.086 MB / 0.6455 GB, free: 10.84 MB / 462.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.0003708/0.8711, allocations: 159 kB / 0.6457 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009468/0.8806, allocations: 5.558 MB / 0.6511 GB, free: 5.066 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.8806, allocations: 3.938 kB / 0.6511 GB, free: 5.062 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004332/0.8849, allocations: 2.234 MB / 0.6533 GB, free: 2.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.887, allocations: 406.1 kB / 0.6537 GB, free: 2.355 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/0.9039, allocations: 9.189 MB / 0.6626 GB, free: 9.117 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003898/0.9078, allocations: 3.127 MB / 0.6657 GB, free: 5.957 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004168/0.912, allocations: 1.803 MB / 0.6675 GB, free: 4.145 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000557/0.9125, allocations: 215.4 kB / 0.6677 GB, free: 3.934 MB / 478.1 MB Notification: Performance of SimCode: time 2.014e-06/0.9125, allocations: 7.938 kB / 0.6677 GB, free: 3.926 MB / 478.1 MB Notification: Performance of Templates: time 0.07912/0.9917, allocations: 41.43 MB / 0.7081 GB, free: 10.72 MB / 0.5137 GB " [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.756153246387839]