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.0008883/0.0008883, allocations: 77.14 kB / 21.5 MB, free: 2.832 MB / 18.57 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.0008637/0.0008637, allocations: 138.8 kB / 24.89 MB, free: 9.277 MB / 18.57 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.8788/0.8788, allocations: 173.4 MB / 201.5 MB, free: 8.266 MB / 186.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.222e-06/1.222e-06, allocations: 0 / 268.5 MB, free: 9.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.359e-05, allocations: 3.938 kB / 268.5 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01888/0.01889, allocations: 10.17 MB / 278.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01651/0.0354, allocations: 3.978 MB / 282.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009979/0.0364, allocations: 75.62 kB / 282.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005343/0.04174, allocations: 2.721 MB / 285.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007283/0.04903, allocations: 1.854 MB / 287.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.05212, allocations: 0.7405 MB / 288.1 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003041/0.05516, allocations: 4.054 MB / 292.1 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.05758, allocations: 3.046 MB / 295.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.05971, allocations: 2.233 MB / 297.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.06176, allocations: 2.038 MB / 299.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003937/0.06215, allocations: 324 kB / 299.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.06337, allocations: 1.143 MB / 300.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.06471, allocations: 1.971 MB / 302.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009223/0.06563, allocations: 1.25 MB / 304.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.06854, allocations: 4.398 MB / 308.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.06854, allocations: 8 kB / 308.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.06854, allocations: 0 / 308.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.787e-05/0.06858, allocations: 0 / 308.5 MB, free: 1.535 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.004035/0.07262, allocations: 4.29 MB / 312.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.07265, allocations: 8.031 kB / 312.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/0.07512, allocations: 1.085 MB / 313.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.07662, allocations: 1.534 MB / 315.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.07673, allocations: 248.5 kB / 315.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007122/0.07745, allocations: 395.5 kB / 316.1 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004868/0.08231, allocations: 5.157 MB / 321.2 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.74e-05/0.08238, allocations: 39.67 kB / 321.3 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/0.08264, allocations: 159.9 kB / 321.4 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001553/0.08419, allocations: 1.677 MB / 323.1 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/0.08808, allocations: 2.689 MB / 325.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1208/0.2089, allocations: 31.05 MB / 356.8 MB, free: 76.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005747/0.2146, allocations: 2.207 MB / 359 MB, free: 76.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.2152, allocations: 406.8 kB / 359.4 MB, free: 76.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004714/0.2199, allocations: 3.857 MB / 363.3 MB, free: 76.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.22, allocations: 57.95 kB / 363.4 MB, free: 76.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 2.685e-06/0.22, allocations: 0 / 363.4 MB, free: 76.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01013/0.2301, allocations: 5.275 MB / 368.6 MB, free: 75.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004649/0.2306, allocations: 1.48 MB / 370.1 MB, free: 74.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.2322, allocations: 3.041 MB / 373.2 MB, free: 73.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.081e-05/0.2323, allocations: 51.77 kB / 373.2 MB, free: 73.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006552/0.233, allocations: 3.086 MB / 376.3 MB, free: 71.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.2332, allocations: 0.668 MB / 377 MB, free: 71.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007217/0.2339, allocations: 1.181 MB / 378.1 MB, free: 71.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 1.938e-05/0.234, allocations: 305.1 kB / 378.4 MB, free: 70.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009528/0.2349, allocations: 0.8118 MB / 379.2 MB, free: 70.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.2365, allocations: 4.602 MB / 383.8 MB, free: 64.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/0.2395, allocations: 6.063 MB / 389.9 MB, free: 57.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.203e-05/0.2395, allocations: 40 kB / 390 MB, free: 57.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.006117/0.2457, allocations: 4.953 MB / 394.9 MB, free: 52.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.2457, allocations: 64 kB / 395 MB, free: 52.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003332/0.249, allocations: 1.288 MB / 396.3 MB, free: 51.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003947/0.253, allocations: 1.097 MB / 397.4 MB, free: 50.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.2547, allocations: 1.381 MB / 398.7 MB, free: 48.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.2573, allocations: 3.861 MB / 402.6 MB, free: 44.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.259, allocations: 275.7 kB / 402.9 MB, free: 44.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.2592, allocations: 344 kB / 403.2 MB, free: 44.36 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 {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0006941/0.2599, allocations: 0.6416 MB / 403.8 MB, free: 43.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.2601, allocations: 199.8 kB / 404 MB, free: 43.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.262, allocations: 1.393 MB / 405.4 MB, free: 42.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001517/0.2635, allocations: 0.9776 MB / 406.4 MB, free: 41.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2635, allocations: 7.984 kB / 406.4 MB, free: 41.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.2635, allocations: 3.984 kB / 406.4 MB, free: 41.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004932/0.2685, allocations: 4.149 MB / 410.6 MB, free: 36.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2685, allocations: 4 kB / 410.6 MB, free: 36.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.2689, allocations: 173.1 kB / 410.7 MB, free: 36.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002164/0.271, allocations: 1.029 MB / 411.8 MB, free: 35.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.97e-05/0.2711, allocations: 35.97 kB / 411.8 MB, free: 35.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.2729, allocations: 3.572 MB / 415.4 MB, free: 31.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002941/0.2732, allocations: 1.352 MB / 416.7 MB, free: 30.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.2755, allocations: 2.168 MB / 418.9 MB, free: 28.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.2757, allocations: 277.7 kB / 419.2 MB, free: 27.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.2759, allocations: 31.98 kB / 419.2 MB, free: 27.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.2764, allocations: 28 kB / 419.2 MB, free: 27.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.2765, allocations: 96.73 kB / 419.3 MB, free: 27.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-05/0.2766, allocations: 35.97 kB / 419.4 MB, free: 27.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006298/0.2772, allocations: 1.079 MB / 420.4 MB, free: 26.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2772, allocations: 0 / 420.4 MB, free: 26.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002381/0.2796, allocations: 1.109 MB / 421.5 MB, free: 25.45 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.0002737/0.2799, allocations: 174 kB / 421.7 MB, free: 25.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.2826, allocations: 2.947 MB / 424.7 MB, free: 22.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001187/0.2827, allocations: 100.2 kB / 424.8 MB, free: 22.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.2837, allocations: 0.9124 MB / 425.7 MB, free: 21.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.2849, allocations: 0.5609 MB / 426.2 MB, free: 20.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/0.2904, allocations: 7.125 MB / 433.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.2911, allocations: 1.149 MB / 434.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008404/0.292, allocations: 467.9 kB / 435 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/0.2925, allocations: 0.4972 MB / 435.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2925, allocations: 0 / 435.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of Templates: time 0.04339/0.3359, allocations: 35.61 MB / 471.1 MB, free: 8.027 MB / 362.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.699111571069807]