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.001869/0.001869, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001841/0.001841, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.57/1.57, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 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 1.713e-06/1.713e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.912e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01546/0.01549, allocations: 10.35 MB / 282.6 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009476/0.02496, allocations: 3.861 MB / 286.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.02713, allocations: 71.62 kB / 286.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006629/0.03376, allocations: 2.772 MB / 289.3 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1451/0.1789, allocations: 1.828 MB / 291.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.1809, allocations: 0.743 MB / 291.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006562/0.1875, allocations: 4.103 MB / 295.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005026/0.1925, allocations: 3.07 MB / 299 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005226/0.1977, allocations: 2.241 MB / 301.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.201, allocations: 2.12 MB / 303.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006984/0.2017, allocations: 318.1 kB / 303.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.2036, allocations: 1.109 MB / 304.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.205, allocations: 1.945 MB / 306.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.2065, allocations: 1.234 MB / 308 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006253/0.2127, allocations: 6.691 MB / 314.6 MB, free: 5.297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2128, allocations: 0 / 314.6 MB, free: 5.297 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2128, allocations: 0 / 314.6 MB, free: 5.297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002624/0.213, allocations: 0 / 314.6 MB, free: 5.297 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.009963/0.223, allocations: 5.385 MB / 320 MB, free: 15.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.223, allocations: 15.98 kB / 320 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008963/0.232, allocations: 2.456 MB / 322.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005089/0.2371, allocations: 1.844 MB / 324.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.2374, allocations: 243.9 kB / 324.6 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009433/0.2384, allocations: 396.7 kB / 325 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.2546, allocations: 6.943 MB / 331.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.2547, allocations: 40 kB / 332 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004192/0.2552, allocations: 163.1 kB / 332.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003128/0.2583, allocations: 1.858 MB / 334 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.272, allocations: 3.916 MB / 337.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06542/0.3374, allocations: 47.4 MB / 385.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.3478, allocations: 2.621 MB / 387.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.3493, allocations: 0.6027 MB / 388.5 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/0.3604, allocations: 4.464 MB / 393 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/0.3605, allocations: 50.39 kB / 393 MB, free: 5.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 4.379e-06/0.3605, allocations: 0 / 393 MB, free: 5.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=159): time 0.03475/0.3952, allocations: 9.808 MB / 402.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002153/0.3974, allocations: 2.051 MB / 404.9 MB, free: 9.586 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007105/0.4045, allocations: 4.3 MB / 409.2 MB, free: 5.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003169/0.4048, allocations: 45.7 kB / 409.2 MB, free: 5.219 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00352/0.4083, allocations: 3.597 MB / 412.8 MB, free: 1.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.4094, allocations: 0.7311 MB / 413.6 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002389/0.4118, allocations: 1.577 MB / 415.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.412, allocations: 480.8 kB / 415.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.414, allocations: 0.7722 MB / 416.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007888/0.4218, allocations: 6.791 MB / 423.2 MB, free: 4.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/0.4346, allocations: 8.345 MB / 431.5 MB, free: 9.582 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002319/0.4348, allocations: 40 kB / 431.6 MB, free: 9.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02546/0.4603, allocations: 7.317 MB / 438.9 MB, free: 2.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.4604, allocations: 64 kB / 438.9 MB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1539/0.6143, allocations: 2.625 MB / 441.6 MB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01431/0.6286, allocations: 2.49 MB / 444 MB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004527/0.6331, allocations: 1.381 MB / 445.4 MB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/0.6457, allocations: 8.865 MB / 454.3 MB, free: 115.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005024/0.6507, allocations: 452.5 kB / 454.7 MB, free: 115.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008891/0.6516, allocations: 388.8 kB / 455.1 MB, free: 115.3 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.001758/0.6534, allocations: 0.7743 MB / 455.9 MB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005885/0.6539, allocations: 356.1 kB / 456.2 MB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006648/0.6546, allocations: 350.3 kB / 456.6 MB, free: 115 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004532/0.6591, allocations: 1.574 MB / 458.2 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.6592, allocations: 6.094 kB / 458.2 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.6592, allocations: 11.3 kB / 458.2 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.6725, allocations: 7.203 MB / 465.4 MB, free: 114 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.6725, allocations: 0.5 kB / 465.4 MB, free: 114 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008309/0.6733, allocations: 185.5 kB / 465.6 MB, free: 114 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004956/0.6783, allocations: 1.222 MB / 466.8 MB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/0.6785, allocations: 35.27 kB / 466.8 MB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008501/0.687, allocations: 8.306 MB / 475.1 MB, free: 107.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006717/0.6876, allocations: 1.917 MB / 477 MB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006286/0.6939, allocations: 3.128 MB / 480.2 MB, free: 104 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007493/0.6947, allocations: 291.1 kB / 480.4 MB, free: 104 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.695, allocations: 30.67 kB / 480.5 MB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.6963, allocations: 159 kB / 480.6 MB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003122/0.6967, allocations: 113 kB / 480.7 MB, free: 103.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-05/0.6968, allocations: 43.33 kB / 480.8 MB, free: 103.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002201/0.699, allocations: 1.701 MB / 482.5 MB, free: 102.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.699, allocations: 0 / 482.5 MB, free: 102.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004648/0.7036, allocations: 1.15 MB / 483.6 MB, free: 101.8 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.0003994/0.704, allocations: 177.1 kB / 483.8 MB, free: 101.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007511/0.7115, allocations: 4.274 MB / 488.1 MB, free: 97.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7115, allocations: 4.188 kB / 488.1 MB, free: 97.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003427/0.7149, allocations: 1.762 MB / 489.8 MB, free: 95.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.717, allocations: 366 kB / 490.2 MB, free: 95.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.7272, allocations: 7.51 MB / 497.7 MB, free: 87.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.7294, allocations: 2.351 MB / 0.4883 GB, free: 85.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003006/0.7324, allocations: 1.548 MB / 0.4899 GB, free: 83.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/0.7328, allocations: 212.5 kB / 0.4901 GB, free: 83.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.7328, allocations: 1.859 kB / 0.4901 GB, free: 83.4 MB / 394.7 MB Notification: Performance of Templates: time 0.05692/0.7897, allocations: 37.13 MB / 0.5263 GB, free: 46.81 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 -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","/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.828024310991168]