Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001557/0.001557, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001806/0.001806, allocations: 211.1 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 47.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3184, allocations: 53.37 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009003/0.3274, allocations: 6.585 MB / 438.2 MB, free: 88 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007087/0.3345, allocations: 3.071 MB / 441.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009583/0.3354, allocations: 39.81 kB / 441.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.3377, allocations: 1.016 MB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.3409, allocations: 1.386 MB / 443.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009958/0.3419, allocations: 455.1 kB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003699/0.3456, allocations: 2.668 MB / 446.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.3473, allocations: 1.328 MB / 448.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.3484, allocations: 0.8485 MB / 449 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.3502, allocations: 1.324 MB / 450.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002976/0.3505, allocations: 179.9 kB / 450.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.3521, allocations: 0.9322 MB / 451.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.3532, allocations: 1.122 MB / 452.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.3542, allocations: 0.9314 MB / 453.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004503/0.3587, allocations: 4.337 MB / 457.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3587, allocations: 3.938 kB / 457.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3587, allocations: 0 / 457.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.427e-05/0.3587, allocations: 0 / 457.8 MB, free: 12.38 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.005655/0.3644, allocations: 3.033 MB / 460.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3644, allocations: 8.031 kB / 460.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007183/0.3716, allocations: 1.809 MB / 462.6 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/0.375, allocations: 1.329 MB / 464 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.3752, allocations: 131.3 kB / 464.1 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007448/0.3759, allocations: 259.7 kB / 464.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.3877, allocations: 6.705 MB / 471.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.305e-05/0.3878, allocations: 27.77 kB / 471.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.3881, allocations: 87.89 kB / 471.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002212/0.3903, allocations: 1.367 MB / 472.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.4024, allocations: 6.029 MB / 478.6 MB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03267/0.435, allocations: 24.05 MB / 0.4908 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007227/0.4423, allocations: 2.153 MB / 0.4929 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.4438, allocations: 0.9848 MB / 0.4939 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006725/0.4505, allocations: 2.722 MB / 0.4966 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/0.4506, allocations: 51 kB / 0.4966 GB, free: 8.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 4.478e-06/0.4506, allocations: 0 / 0.4966 GB, free: 8.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02928/0.4799, allocations: 10.14 MB / 0.5065 GB, free: 14.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001661/0.4815, allocations: 1.541 MB / 0.508 GB, free: 12.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003891/0.4854, allocations: 2.609 MB / 0.5106 GB, free: 9.711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.4857, allocations: 41.7 kB / 0.5106 GB, free: 9.664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/0.4876, allocations: 2.186 MB / 0.5127 GB, free: 7.453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008165/0.4884, allocations: 0.5273 MB / 0.5132 GB, free: 6.922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/0.4897, allocations: 0.9212 MB / 0.5141 GB, free: 5.988 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.4899, allocations: 353.9 kB / 0.5145 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002785/0.4927, allocations: 1.66 MB / 0.5161 GB, free: 3.969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005538/0.4983, allocations: 4.46 MB / 0.5205 GB, free: 14.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0094/0.5077, allocations: 6.556 MB / 0.5269 GB, free: 6.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.802e-05/0.5078, allocations: 32 kB / 0.5269 GB, free: 6.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02213/0.5299, allocations: 8.054 MB / 0.5348 GB, free: 14.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.53, allocations: 48 kB / 0.5348 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01253/0.5425, allocations: 3.558 MB / 0.5383 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01288/0.5554, allocations: 2.674 MB / 0.5409 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003919/0.5593, allocations: 1.014 MB / 0.5419 GB, free: 6.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2363/0.7956, allocations: 9.349 MB / 0.551 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/0.7991, allocations: 334.9 kB / 0.5513 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004734/0.7996, allocations: 283.4 kB / 0.5516 GB, free: 109.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002045/0.8016, allocations: 1.418 MB / 0.553 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000402/0.802, allocations: 221.2 kB / 0.5532 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005432/0.8025, allocations: 310.1 kB / 0.5535 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005881/0.8084, allocations: 2.509 MB / 0.5559 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.8084, allocations: 6.797 kB / 0.5559 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.8085, allocations: 3.984 kB / 0.556 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.8205, allocations: 6.194 MB / 0.562 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.8205, allocations: 3.969 kB / 0.562 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008459/0.8214, allocations: 180.6 kB / 0.5622 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004584/0.8259, allocations: 1.436 MB / 0.5636 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.8261, allocations: 34.52 kB / 0.5636 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008078/0.8342, allocations: 7.599 MB / 0.571 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006658/0.8348, allocations: 1.421 MB / 0.5724 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007313/0.8421, allocations: 4.839 MB / 0.5771 GB, free: 96.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005754/0.8427, allocations: 206 kB / 0.5773 GB, free: 96.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/0.843, allocations: 34.91 kB / 0.5774 GB, free: 96.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.844, allocations: 115.8 kB / 0.5775 GB, free: 96.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.8443, allocations: 84.39 kB / 0.5776 GB, free: 96.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-05/0.8444, allocations: 35.98 kB / 0.5776 GB, free: 96.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001745/0.8461, allocations: 1.483 MB / 0.5791 GB, free: 94.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8461, allocations: 0 / 0.5791 GB, free: 94.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00321/0.8493, allocations: 0.7737 MB / 0.5798 GB, free: 93.76 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003167/0.8496, allocations: 150 kB / 0.5799 GB, free: 93.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005948/0.8556, allocations: 4.204 MB / 0.5841 GB, free: 89.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.8556, allocations: 4 kB / 0.5841 GB, free: 89.47 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002577/0.8582, allocations: 1.581 MB / 0.5856 GB, free: 87.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.8598, allocations: 230.8 kB / 0.5858 GB, free: 87.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009583/0.8693, allocations: 6.638 MB / 0.5923 GB, free: 81.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.8709, allocations: 1.726 MB / 0.594 GB, free: 79.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002312/0.8732, allocations: 1.379 MB / 0.5953 GB, free: 77.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.8735, allocations: 159.4 kB / 0.5955 GB, free: 77.7 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.8736, allocations: 4 kB / 0.5955 GB, free: 77.7 MB / 462.1 MB Notification: Performance of Templates: time 0.04347/0.917, allocations: 31.2 MB / 0.626 GB, free: 46.8 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.238892639055848]