Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.002638/0.002638, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.002972/0.002972, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 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 1.545/1.545, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.358e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01659/0.01663, allocations: 11.61 MB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.02689, allocations: 4.11 MB / 283.1 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.02879, allocations: 79.62 kB / 283.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006817/0.03561, allocations: 2.951 MB / 286.1 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006009/0.04162, allocations: 2.111 MB / 288.2 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.04372, allocations: 0.8888 MB / 289.1 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.135/0.1787, allocations: 5.233 MB / 294.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00551/0.1842, allocations: 3.549 MB / 297.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004976/0.1892, allocations: 2.629 MB / 300.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003669/0.1929, allocations: 2.667 MB / 303.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00065/0.1935, allocations: 357.5 kB / 303.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.1956, allocations: 1.241 MB / 304.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001624/0.1972, allocations: 2.282 MB / 307 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.1989, allocations: 1.447 MB / 308.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007507/0.2064, allocations: 7.631 MB / 316.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2065, allocations: 0 / 316.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2065, allocations: 0 / 316.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0003389/0.2068, allocations: 4 kB / 316.1 MB, free: 6.586 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01103/0.2178, allocations: 6.246 MB / 322.4 MB, free: 400 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.2179, allocations: 16.86 kB / 322.4 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009948/0.2278, allocations: 2.74 MB / 325.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006536/0.2344, allocations: 2.236 MB / 327.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.2346, allocations: 272.8 kB / 327.6 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.2358, allocations: 427.9 kB / 328 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02276/0.2586, allocations: 8.532 MB / 336.6 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.2587, allocations: 48.61 kB / 336.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005474/0.2593, allocations: 174.7 kB / 336.8 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004025/0.2633, allocations: 2.166 MB / 339 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/0.2827, allocations: 5.195 MB / 344.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07284/0.3555, allocations: 53.43 MB / 397.6 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.3666, allocations: 2.84 MB / 400.4 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.3683, allocations: 0.7153 MB / 401.1 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01322/0.3816, allocations: 5.051 MB / 406.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/0.3816, allocations: 58.7 kB / 406.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=183): time 5.22e-06/0.3816, allocations: 0 / 406.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=205): time 0.04196/0.4236, allocations: 12.47 MB / 418.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001897/0.4255, allocations: 2.054 MB / 420.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007546/0.433, allocations: 4.605 MB / 425.4 MB, free: 7.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003658/0.4334, allocations: 59.19 kB / 425.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003822/0.4372, allocations: 3.908 MB / 429.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001329/0.4385, allocations: 0.9198 MB / 430.3 MB, free: 2.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002619/0.4412, allocations: 1.686 MB / 432 MB, free: 1.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.4414, allocations: 484.7 kB / 432.4 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1396/0.581, allocations: 0.8602 MB / 433.3 MB, free: 118.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005809/0.5869, allocations: 7.175 MB / 440.5 MB, free: 110.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007661/0.5945, allocations: 8.88 MB / 449.3 MB, free: 102.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002136/0.5947, allocations: 41.03 kB / 449.4 MB, free: 102.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02096/0.6157, allocations: 7.4 MB / 456.8 MB, free: 100.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.6158, allocations: 67.94 kB / 456.8 MB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009514/0.6253, allocations: 2.423 MB / 459.3 MB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009913/0.6352, allocations: 1.767 MB / 461 MB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004785/0.64, allocations: 1.593 MB / 462.6 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006159/0.6462, allocations: 4.739 MB / 467.4 MB, free: 96.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005733/0.6519, allocations: 0.5028 MB / 467.9 MB, free: 96.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/0.6531, allocations: 415.6 kB / 468.3 MB, free: 96.96 MB / 378.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.002481/0.6556, allocations: 0.8285 MB / 469.1 MB, free: 96.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007401/0.6564, allocations: 408.8 kB / 469.5 MB, free: 96.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/0.6611, allocations: 1.937 MB / 471.4 MB, free: 96.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003508/0.6646, allocations: 1.456 MB / 472.9 MB, free: 95.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6646, allocations: 0 / 472.9 MB, free: 95.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.6647, allocations: 15.95 kB / 472.9 MB, free: 95.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.6802, allocations: 8.807 MB / 481.7 MB, free: 86.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/0.6802, allocations: 16 kB / 481.7 MB, free: 86.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.6816, allocations: 367.4 kB / 482.1 MB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/0.6841, allocations: 0.5793 MB / 482.7 MB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.6842, allocations: 59.42 kB / 482.7 MB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.6873, allocations: 4.208 MB / 486.9 MB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006967/0.688, allocations: 1.934 MB / 488.9 MB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005771/0.6938, allocations: 3.719 MB / 492.6 MB, free: 75.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.6948, allocations: 367 kB / 493 MB, free: 74.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004255/0.6952, allocations: 63.97 kB / 493 MB, free: 74.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/0.697, allocations: 187.7 kB / 493.2 MB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.6973, allocations: 180.3 kB / 493.4 MB, free: 74.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.6975, allocations: 75.98 kB / 493.4 MB, free: 74.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002636/0.7001, allocations: 1.879 MB / 495.3 MB, free: 72.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7001, allocations: 0 / 495.3 MB, free: 72.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005332/0.7054, allocations: 1.288 MB / 496.6 MB, free: 71.12 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.0004838/0.7059, allocations: 253.8 kB / 496.9 MB, free: 70.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007891/0.7138, allocations: 4.301 MB / 0.4894 GB, free: 66.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.7138, allocations: 4 kB / 0.4894 GB, free: 66.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003031/0.7168, allocations: 1.545 MB / 0.4909 GB, free: 64.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.7195, allocations: 462.3 kB / 0.4914 GB, free: 64.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.7311, allocations: 9.141 MB / 0.5003 GB, free: 55.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002461/0.7336, allocations: 2.665 MB / 0.5029 GB, free: 52.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003329/0.7369, allocations: 1.719 MB / 0.5046 GB, free: 50.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005972/0.7375, allocations: 268.4 kB / 0.5048 GB, free: 50.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7375, allocations: 0 / 0.5048 GB, free: 50.4 MB / 378.7 MB Notification: Performance of Templates: time 0.05825/0.7957, allocations: 36.59 MB / 0.5406 GB, free: 14.38 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.732979328953661]