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.0009199/0.0009199, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001026/0.001026, allocations: 178.3 kB / 24.92 MB, free: 8.766 MB / 18.57 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.9873/0.9873, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.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.222e-06/1.222e-06, allocations: 0 / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.67e-05, allocations: 5.828 kB / 273.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.00792/0.007937, allocations: 10.15 MB / 283.7 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005119/0.01306, allocations: 3.984 MB / 287.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004792/0.01354, allocations: 71.69 kB / 287.7 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.01614, allocations: 2.721 MB / 290.4 MB, free: 124 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1014/0.1175, allocations: 1.81 MB / 292.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.1186, allocations: 0.7365 MB / 293 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0036/0.1222, allocations: 4.105 MB / 297.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.1249, allocations: 3.044 MB / 300.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.127, allocations: 2.227 MB / 302.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.129, allocations: 2.034 MB / 304.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004696/0.1294, allocations: 320.5 kB / 304.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.1306, allocations: 1.136 MB / 305.8 MB, free: 12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008724/0.1315, allocations: 1.936 MB / 307.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009009/0.1324, allocations: 1.232 MB / 309 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.135, allocations: 4.351 MB / 313.4 MB, free: 7.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.135, allocations: 4 kB / 313.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.135, allocations: 0 / 313.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.036e-05/0.1351, allocations: 3.984 kB / 313.4 MB, free: 7.023 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.003425/0.1385, allocations: 4.256 MB / 317.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.646e-05/0.1385, allocations: 8.031 kB / 317.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.141, allocations: 1.134 MB / 318.8 MB, free: 2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.1424, allocations: 1.541 MB / 320.3 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/0.1425, allocations: 250 kB / 320.5 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/0.1429, allocations: 385.3 kB / 320.9 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005106/0.148, allocations: 5.184 MB / 326.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.04e-05/0.148, allocations: 39.83 kB / 326.1 MB, free: 10.56 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.1483, allocations: 159.8 kB / 326.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001464/0.1498, allocations: 1.692 MB / 328 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004271/0.154, allocations: 2.708 MB / 330.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02323/0.1773, allocations: 31.05 MB / 361.7 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004109/0.1814, allocations: 2.243 MB / 364 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/0.182, allocations: 410.5 kB / 364.4 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004338/0.1863, allocations: 3.849 MB / 368.2 MB, free: 0.793 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.1863, allocations: 59.48 kB / 368.3 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of pre-optimization done (n=152): time 3.056e-06/0.1863, allocations: 0 / 368.3 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.01112/0.1975, allocations: 5.323 MB / 373.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007023/0.1982, allocations: 1.475 MB / 375.1 MB, free: 9.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.2003, allocations: 3.039 MB / 378.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002123/0.2005, allocations: 45.7 kB / 378.2 MB, free: 6.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001448/0.2019, allocations: 3.09 MB / 381.3 MB, free: 3.781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005446/0.2025, allocations: 0.6707 MB / 381.9 MB, free: 3.105 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/0.2035, allocations: 1.188 MB / 383.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.2036, allocations: 305.1 kB / 383.4 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.2048, allocations: 0.8136 MB / 384.2 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.2075, allocations: 4.602 MB / 388.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004439/0.2119, allocations: 6.059 MB / 394.9 MB, free: 2.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-05/0.212, allocations: 40 kB / 394.9 MB, free: 2.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.00798/0.22, allocations: 4.956 MB / 399.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.22, allocations: 68.12 kB / 400 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003716/0.2237, allocations: 1.29 MB / 401.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004436/0.2282, allocations: 1.112 MB / 402.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/0.2308, allocations: 1.38 MB / 403.7 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006195/0.237, allocations: 5.917 MB / 409.7 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.2391, allocations: 287.7 kB / 409.9 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/0.2394, allocations: 336 kB / 410.3 MB, free: 2.461 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.0009581/0.2404, allocations: 0.63 MB / 410.9 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.2407, allocations: 203.8 kB / 411.1 MB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.2411, allocations: 345.5 kB / 411.4 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0018/0.2429, allocations: 0.9776 MB / 412.4 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.2429, allocations: 4 kB / 412.4 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.2429, allocations: 7.969 kB / 412.4 MB, free: 268 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005577/0.2485, allocations: 4.161 MB / 416.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2485, allocations: 0 / 416.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.249, allocations: 167.8 kB / 416.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002288/0.2512, allocations: 1.042 MB / 417.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-05/0.2513, allocations: 35.91 kB / 417.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004511/0.2558, allocations: 5.621 MB / 423.5 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004858/0.2563, allocations: 1.348 MB / 424.8 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.2592, allocations: 2.175 MB / 427 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.2595, allocations: 277.8 kB / 427.2 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.2597, allocations: 39.98 kB / 427.3 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/0.2602, allocations: 31.98 kB / 427.3 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.2604, allocations: 108.8 kB / 427.4 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.718e-05/0.2605, allocations: 39.97 kB / 427.5 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008202/0.2613, allocations: 1.071 MB / 428.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2613, allocations: 0 / 428.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002918/0.2642, allocations: 1.144 MB / 429.7 MB, free: 14.44 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.0002881/0.2645, allocations: 164.1 kB / 429.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003704/0.2682, allocations: 3.203 MB / 433 MB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001318/0.2684, allocations: 92.16 kB / 433.1 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.2697, allocations: 1.172 MB / 434.3 MB, free: 9.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.2709, allocations: 0.5515 MB / 434.9 MB, free: 9.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007368/0.2782, allocations: 7.146 MB / 442 MB, free: 1.934 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/0.2792, allocations: 1.165 MB / 443.2 MB, free: 0.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009/0.2801, allocations: 463 kB / 443.6 MB, free: 304 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.09262/0.3727, allocations: 0.4962 MB / 444.1 MB, free: 125 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3727, allocations: 1.406 kB / 444.1 MB, free: 125 MB / 394.7 MB Notification: Performance of Templates: time 0.05157/0.4242, allocations: 39.84 MB / 484 MB, free: 104.9 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 -s gbode -gbm=radauIIA3 -emit_protected -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.79301132587716]