Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001612/0.002668, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008743/0.0008743, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001932, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.85/0.85, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1641/1.014, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.333e-05, allocations: 2.312 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.007523/0.007536, allocations: 10.24 MB / 250 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005771/0.01331, allocations: 4.007 MB / 254 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.01441, allocations: 69.34 kB / 254.1 MB, free: 8.008 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.01684, allocations: 2.63 MB / 256.7 MB, free: 5.371 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.01968, allocations: 1.843 MB / 258.5 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000909/0.02059, allocations: 0.6977 MB / 259.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003133/0.02373, allocations: 3.927 MB / 263.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.02627, allocations: 2.863 MB / 266 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.0284, allocations: 2.357 MB / 268.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.03041, allocations: 2.022 MB / 270.4 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004898/0.0309, allocations: 320 kB / 270.7 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.03256, allocations: 1.158 MB / 271.9 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.0336, allocations: 1.757 MB / 273.6 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009286/0.03453, allocations: 1.024 MB / 274.7 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00322/0.03775, allocations: 4.086 MB / 278.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.03776, allocations: 0 / 278.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.03776, allocations: 0 / 278.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000146/0.03791, allocations: 0 / 278.8 MB, free: 15.19 MB / 282.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.005123/0.04303, allocations: 5.199 MB / 283.9 MB, free: 9.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.04306, allocations: 19.98 kB / 284 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.04548, allocations: 1.07 MB / 285 MB, free: 8.832 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.04731, allocations: 1.538 MB / 286.6 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.04742, allocations: 250.4 kB / 286.8 MB, free: 7.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004547/0.04787, allocations: 387.6 kB / 287.2 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004768/0.05264, allocations: 5.154 MB / 292.4 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.4e-05/0.0527, allocations: 39.64 kB / 292.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.05293, allocations: 163.8 kB / 292.6 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001681/0.05461, allocations: 1.584 MB / 294.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003747/0.05836, allocations: 2.665 MB / 296.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02047/0.07883, allocations: 31.03 MB / 327.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.08282, allocations: 2.164 MB / 330 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.08323, allocations: 402 kB / 330.4 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004137/0.08736, allocations: 3.844 MB / 334.2 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.0874, allocations: 51.5 kB / 334.3 MB, free: 5.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 3.947e-06/0.0874, allocations: 0 / 334.3 MB, free: 5.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01057/0.09797, allocations: 5.268 MB / 339.6 MB, free: 232 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1023/0.2002, allocations: 1.468 MB / 341 MB, free: 69.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.2033, allocations: 3.041 MB / 344.1 MB, free: 69.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000254/0.2035, allocations: 48.55 kB / 344.1 MB, free: 69.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009058/0.2044, allocations: 3.094 MB / 347.2 MB, free: 67.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005072/0.2049, allocations: 0.6702 MB / 347.9 MB, free: 67.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008314/0.2058, allocations: 1.181 MB / 349.1 MB, free: 67.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.557e-05/0.2058, allocations: 314.1 kB / 349.4 MB, free: 66.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.2068, allocations: 0.8023 MB / 350.2 MB, free: 66.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.2089, allocations: 4.593 MB / 354.8 MB, free: 61.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/0.2128, allocations: 6.467 MB / 361.2 MB, free: 56.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.309e-05/0.2129, allocations: 39 kB / 361.3 MB, free: 56.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.007508/0.2204, allocations: 4.952 MB / 366.2 MB, free: 55.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/0.2205, allocations: 64.72 kB / 366.3 MB, free: 55.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.2206, allocations: 148.7 kB / 366.4 MB, free: 55.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004186/0.2248, allocations: 1.114 MB / 367.5 MB, free: 55.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/0.227, allocations: 1.476 MB / 369 MB, free: 55.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.23, allocations: 3.822 MB / 372.8 MB, free: 52.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.2326, allocations: 276.3 kB / 373.1 MB, free: 52.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002972/0.2329, allocations: 337.8 kB / 373.4 MB, free: 52.65 MB / 330.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.0009701/0.2338, allocations: 0.6404 MB / 374.1 MB, free: 52.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.2341, allocations: 201.5 kB / 374.3 MB, free: 52.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.236, allocations: 1.399 MB / 375.7 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001486/0.2375, allocations: 0.9659 MB / 376.6 MB, free: 50.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.2375, allocations: 0 / 376.6 MB, free: 50.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.2375, allocations: 10.7 kB / 376.6 MB, free: 50.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/0.2425, allocations: 4.157 MB / 380.8 MB, free: 47.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.2425, allocations: 4 kB / 380.8 MB, free: 47.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.243, allocations: 187.7 kB / 381 MB, free: 47.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/0.2434, allocations: 277.7 kB / 381.3 MB, free: 46.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/0.2454, allocations: 1.035 MB / 382.3 MB, free: 45.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-05/0.2454, allocations: 35.97 kB / 382.3 MB, free: 45.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.2472, allocations: 3.544 MB / 385.9 MB, free: 42.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003294/0.2475, allocations: 1.345 MB / 387.2 MB, free: 40.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.2498, allocations: 2.187 MB / 389.4 MB, free: 38.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003459/0.2502, allocations: 31.98 kB / 389.4 MB, free: 38.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.2508, allocations: 28 kB / 389.5 MB, free: 38.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.2509, allocations: 98.38 kB / 389.6 MB, free: 38.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/0.251, allocations: 45.38 kB / 389.6 MB, free: 38.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007301/0.2517, allocations: 1.079 MB / 390.7 MB, free: 37.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2517, allocations: 0 / 390.7 MB, free: 37.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002965/0.2547, allocations: 1.117 MB / 391.8 MB, free: 36.16 MB / 330.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.0003169/0.255, allocations: 178.5 kB / 392 MB, free: 35.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003289/0.2583, allocations: 3.081 MB / 395.1 MB, free: 33.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001395/0.2584, allocations: 104.8 kB / 395.2 MB, free: 33.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.2596, allocations: 0.9841 MB / 396.1 MB, free: 32.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.2615, allocations: 2.747 MB / 398.9 MB, free: 28.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007627/0.2691, allocations: 7.245 MB / 406.1 MB, free: 21.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.2698, allocations: 1.158 MB / 407.3 MB, free: 20.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008953/0.2707, allocations: 467 kB / 407.7 MB, free: 20.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/0.2712, allocations: 0.4933 MB / 408.2 MB, free: 19.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2712, allocations: 0 / 408.2 MB, free: 19.55 MB / 330.7 MB Notification: Performance of Templates: time 0.04225/0.3134, allocations: 34.53 MB / 442.8 MB, free: 1.176 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.257743598893285]