Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.002515/0.002515, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.002827/0.002827, allocations: 163.7 kB / 25.03 MB, free: 8.934 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.285e-05, allocations: 2.312 kB / 250.4 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01671/0.01674, allocations: 11.64 MB / 262 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.02701, allocations: 4.111 MB / 266.1 MB, free: 7.992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.02862, allocations: 87.56 kB / 266.2 MB, free: 7.906 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006326/0.03495, allocations: 2.963 MB / 269.2 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006248/0.0412, allocations: 2.099 MB / 271.3 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.04355, allocations: 0.9005 MB / 272.2 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007874/0.05143, allocations: 5.27 MB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005314/0.05674, allocations: 3.559 MB / 281 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005159/0.0619, allocations: 2.639 MB / 283.6 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005312/0.06721, allocations: 2.669 MB / 286.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.0684, allocations: 360 kB / 286.7 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.07139, allocations: 1.24 MB / 287.9 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003395/0.07479, allocations: 2.291 MB / 290.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003334/0.07812, allocations: 1.437 MB / 291.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.09017, allocations: 7.654 MB / 299.3 MB, free: 6.695 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.09018, allocations: 0 / 299.3 MB, free: 6.695 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09018, allocations: 0 / 299.3 MB, free: 6.695 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003003/0.09048, allocations: 0 / 299.3 MB, free: 6.695 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01584/0.1063, allocations: 6.25 MB / 305.5 MB, free: 388 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1064, allocations: 19.97 kB / 305.6 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.1167, allocations: 2.732 MB / 308.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006716/0.1234, allocations: 2.292 MB / 310.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/0.1238, allocations: 274.8 kB / 310.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/0.125, allocations: 419.6 kB / 311.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02388/0.1489, allocations: 8.536 MB / 319.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/0.149, allocations: 55.5 kB / 319.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005625/0.1496, allocations: 171.8 kB / 320 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00387/0.1534, allocations: 2.162 MB / 322.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/0.1724, allocations: 5.199 MB / 327.4 MB, free: 9.344 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2179/0.3903, allocations: 53.39 MB / 380.8 MB, free: 56.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009503/0.3999, allocations: 2.841 MB / 383.6 MB, free: 55.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.4012, allocations: 0.7133 MB / 384.3 MB, free: 55.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.412, allocations: 5.076 MB / 389.4 MB, free: 53.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.4121, allocations: 56.98 kB / 389.4 MB, free: 53.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=183): time 5.08e-06/0.4121, allocations: 0 / 389.4 MB, free: 53.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=205): time 0.03526/0.4473, allocations: 12.52 MB / 402 MB, free: 43.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001147/0.4485, allocations: 2.07 MB / 404 MB, free: 40.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005334/0.4538, allocations: 4.698 MB / 408.7 MB, free: 36.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003641/0.4542, allocations: 57.22 kB / 408.8 MB, free: 36.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.4559, allocations: 3.905 MB / 412.7 MB, free: 32.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008003/0.4567, allocations: 0.9175 MB / 413.6 MB, free: 31.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/0.4585, allocations: 1.694 MB / 415.3 MB, free: 29.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.4585, allocations: 480.7 kB / 415.8 MB, free: 29.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.4602, allocations: 0.8644 MB / 416.6 MB, free: 28.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003914/0.4642, allocations: 7.173 MB / 423.8 MB, free: 18.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0069/0.4711, allocations: 8.876 MB / 432.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.385e-05/0.4711, allocations: 44 kB / 432.7 MB, free: 6.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01824/0.4894, allocations: 7.406 MB / 440.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.4895, allocations: 68 kB / 440.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01076/0.5003, allocations: 2.421 MB / 442.6 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01103/0.5113, allocations: 1.765 MB / 444.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006047/0.5173, allocations: 1.591 MB / 446 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008399/0.5257, allocations: 4.737 MB / 450.7 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005995/0.5317, allocations: 0.5219 MB / 451.2 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/0.5328, allocations: 416 kB / 451.7 MB, free: 3.723 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002432/0.5352, allocations: 0.8249 MB / 452.5 MB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/0.5363, allocations: 413.4 kB / 452.9 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00582/0.5421, allocations: 1.935 MB / 454.8 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004372/0.5465, allocations: 1.456 MB / 456.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/0.5465, allocations: 4 kB / 456.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.5465, allocations: 7.969 kB / 456.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02297/0.5695, allocations: 8.848 MB / 465.1 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.021e-05/0.5695, allocations: 19.94 kB / 465.2 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.5712, allocations: 363.5 kB / 465.5 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/0.574, allocations: 0.5798 MB / 466.1 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/0.5742, allocations: 59.97 kB / 466.1 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005135/0.5793, allocations: 4.209 MB / 470.4 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00161/0.5809, allocations: 1.944 MB / 472.3 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008199/0.5891, allocations: 3.716 MB / 476 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/0.5918, allocations: 0.5676 MB / 476.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007069/0.5925, allocations: 63.97 kB / 476.6 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/0.5945, allocations: 203.7 kB / 476.8 MB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004035/0.5949, allocations: 176.4 kB / 477 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/0.5951, allocations: 75.97 kB / 477.1 MB, free: 9.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003837/0.5989, allocations: 1.903 MB / 479 MB, free: 7.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5989, allocations: 0 / 479 MB, free: 7.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006455/0.6054, allocations: 1.296 MB / 480.3 MB, free: 6.082 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000704/0.6061, allocations: 242.3 kB / 480.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01012/0.6162, allocations: 4.307 MB / 484.8 MB, free: 1.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/0.6162, allocations: 0 / 484.8 MB, free: 1.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003973/0.6202, allocations: 1.541 MB / 486.4 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/0.6234, allocations: 476.8 kB / 486.8 MB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/0.6406, allocations: 9.141 MB / 496 MB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004016/0.6446, allocations: 2.674 MB / 498.7 MB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004783/0.6494, allocations: 1.731 MB / 0.4887 GB, free: 1.535 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008083/0.6502, allocations: 264.4 kB / 0.4889 GB, free: 1.277 MB / 394.7 MB Notification: Performance of SimCode: time 2.505e-06/0.6502, allocations: 4 kB / 0.4889 GB, free: 1.273 MB / 394.7 MB Notification: Performance of Templates: time 0.1996/0.8498, allocations: 36.99 MB / 0.525 GB, free: 116.5 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.863738517975435]