Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00171/0.002808, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007953/0.0007953, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000994/0.001789, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9396/0.9396, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.086/1.026, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.781e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.00801/0.008027, allocations: 10.22 MB / 254.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006241/0.01427, allocations: 4.035 MB / 258.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.01544, allocations: 75.53 kB / 258.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002863/0.01831, allocations: 2.62 MB / 261.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.02153, allocations: 1.812 MB / 263.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.02262, allocations: 0.6938 MB / 264 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003907/0.02653, allocations: 4.025 MB / 268 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/0.02966, allocations: 2.855 MB / 270.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/0.03267, allocations: 2.342 MB / 273.2 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1129/0.1456, allocations: 2.019 MB / 275.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001221/0.1468, allocations: 317.6 kB / 275.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.1493, allocations: 1.132 MB / 276.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002256/0.1515, allocations: 1.733 MB / 278.4 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003023/0.1545, allocations: 1.004 MB / 279.4 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005861/0.1604, allocations: 4.046 MB / 283.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.1604, allocations: 0.9688 kB / 283.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1604, allocations: 0 / 283.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002129/0.1606, allocations: 0 / 283.5 MB, free: 5.145 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.008187/0.1688, allocations: 5.166 MB / 288.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1688, allocations: 9.938 kB / 288.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003492/0.1723, allocations: 1.134 MB / 289.8 MB, free: 3.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.1745, allocations: 1.538 MB / 291.3 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.1746, allocations: 242 kB / 291.5 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006146/0.1752, allocations: 390.3 kB / 291.9 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007421/0.1826, allocations: 5.182 MB / 297.1 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.719e-05/0.1827, allocations: 38.02 kB / 297.1 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000364/0.1831, allocations: 158.5 kB / 297.3 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001877/0.1849, allocations: 1.703 MB / 299 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006462/0.1914, allocations: 2.699 MB / 301.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03457/0.226, allocations: 31.03 MB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003971/0.2299, allocations: 2.188 MB / 334.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.2304, allocations: 405.6 kB / 335.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00441/0.2348, allocations: 3.852 MB / 339.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.2348, allocations: 43.56 kB / 339.2 MB, free: 9.594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=152): time 2.936e-06/0.2348, allocations: 0 / 339.2 MB, free: 9.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.01045/0.2453, allocations: 5.271 MB / 344.5 MB, free: 4.367 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007566/0.246, allocations: 1.485 MB / 346 MB, free: 2.762 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.2482, allocations: 3.031 MB / 349 MB, free: 280 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.578e-05/0.2483, allocations: 51.19 kB / 349 MB, free: 224 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.2494, allocations: 3.085 MB / 352.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.2497, allocations: 0.6768 MB / 352.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000897/0.2506, allocations: 1.173 MB / 354 MB, free: 11.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.2507, allocations: 309.1 kB / 354.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.2518, allocations: 0.8058 MB / 355.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/0.2544, allocations: 4.605 MB / 359.7 MB, free: 4.141 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00399/0.2584, allocations: 6.052 MB / 365.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-05/0.2584, allocations: 40 kB / 365.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.006833/0.2653, allocations: 4.971 MB / 370.7 MB, free: 7.434 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.2653, allocations: 71.92 kB / 370.8 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00335/0.2687, allocations: 1.3 MB / 372.1 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/0.2726, allocations: 1.111 MB / 373.2 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.2748, allocations: 1.474 MB / 374.7 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005317/0.2801, allocations: 5.91 MB / 380.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.2819, allocations: 279.7 kB / 380.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/0.2822, allocations: 346 kB / 381.2 MB, free: 12.71 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.001387/0.2836, allocations: 0.6314 MB / 381.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.2838, allocations: 199.8 kB / 382 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.2842, allocations: 341.5 kB / 382.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001655/0.2858, allocations: 0.9801 MB / 383.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2858, allocations: 4 kB / 383.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.2858, allocations: 15.97 kB / 383.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/0.2912, allocations: 4.154 MB / 387.5 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2912, allocations: 0 / 387.5 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.2917, allocations: 175.8 kB / 387.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.2919, allocations: 281.7 kB / 388 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002351/0.2943, allocations: 1.048 MB / 389 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.2943, allocations: 39.98 kB / 389.1 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003986/0.2983, allocations: 5.617 MB / 394.7 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004829/0.2988, allocations: 1.357 MB / 396 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.3015, allocations: 2.174 MB / 398.2 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.3017, allocations: 27.94 kB / 398.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.3023, allocations: 31.98 kB / 398.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.3024, allocations: 112.7 kB / 398.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.3025, allocations: 39.97 kB / 398.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008066/0.3033, allocations: 1.071 MB / 399.5 MB, free: 10.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3033, allocations: 0 / 399.5 MB, free: 10.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003032/0.3063, allocations: 1.152 MB / 400.7 MB, free: 9.199 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.0006014/0.3069, allocations: 163.2 kB / 400.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005384/0.3123, allocations: 3.209 MB / 404 MB, free: 5.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001595/0.3125, allocations: 108.1 kB / 404.1 MB, free: 5.684 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.3138, allocations: 1.183 MB / 405.3 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.3154, allocations: 0.7657 MB / 406.1 MB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.3262, allocations: 7.264 MB / 413.3 MB, free: 12.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.3278, allocations: 1.178 MB / 414.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001744/0.3295, allocations: 459 kB / 415 MB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.3306, allocations: 0.5049 MB / 415.5 MB, free: 10.17 MB / 394.7 MB Notification: Performance of SimCode: time 1.974e-06/0.3306, allocations: 3.938 kB / 415.5 MB, free: 10.17 MB / 394.7 MB Notification: Performance of Templates: time 0.1565/0.487, allocations: 40.51 MB / 456 MB, free: 115.6 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.867260431870818]