Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 165.7 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 177.1 MB / 204.7 MB, free: 8.883 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 62 kB / 325.5 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09312/0.09499, allocations: 53.38 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008552/0.1035, allocations: 6.591 MB / 385.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006029/0.1096, allocations: 3.075 MB / 388.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005521/0.1101, allocations: 39.81 kB / 388.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.1122, allocations: 1.016 MB / 389.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.1149, allocations: 1.37 MB / 391 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009118/0.1158, allocations: 463.1 kB / 391.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003212/0.119, allocations: 2.668 MB / 394.1 MB, free: 240 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.1206, allocations: 1.324 MB / 395.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.1216, allocations: 0.8524 MB / 396.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.1233, allocations: 1.281 MB / 397.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003242/0.1237, allocations: 168 kB / 397.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.1253, allocations: 0.9243 MB / 398.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.1264, allocations: 1.114 MB / 399.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.1275, allocations: 0.9392 MB / 400.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004783/0.1322, allocations: 4.334 MB / 405.1 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1322, allocations: 0 / 405.1 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1322, allocations: 0 / 405.1 MB, free: 5.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.512e-05/0.1323, allocations: 0 / 405.1 MB, free: 5.238 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.005829/0.1381, allocations: 3.041 MB / 408.1 MB, free: 2.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1382, allocations: 15.98 kB / 408.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007321/0.1455, allocations: 1.918 MB / 410 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/0.1486, allocations: 1.333 MB / 411.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.1487, allocations: 135.2 kB / 411.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006914/0.1494, allocations: 255.8 kB / 411.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.1611, allocations: 6.712 MB / 418.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.048e-05/0.1612, allocations: 31.7 kB / 418.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/0.1614, allocations: 87.89 kB / 418.6 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002274/0.1637, allocations: 1.363 MB / 419.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.1757, allocations: 6.064 MB / 426 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03076/0.2065, allocations: 24.11 MB / 450.1 MB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007279/0.2137, allocations: 2.216 MB / 452.3 MB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.2152, allocations: 0.9968 MB / 453.3 MB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005353/0.2206, allocations: 2.743 MB / 456.1 MB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.2206, allocations: 47.06 kB / 456.1 MB, free: 0.7812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 2.895e-06/0.2206, allocations: 0 / 456.1 MB, free: 0.7812 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02757/0.2482, allocations: 10.24 MB / 466.3 MB, free: 6.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001416/0.2496, allocations: 1.553 MB / 467.9 MB, free: 4.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003477/0.2531, allocations: 2.605 MB / 470.5 MB, free: 2.129 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.2532, allocations: 41.7 kB / 470.5 MB, free: 2.082 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1887/0.4419, allocations: 2.175 MB / 472.7 MB, free: 83.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006662/0.4425, allocations: 0.5271 MB / 473.2 MB, free: 83.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00144/0.444, allocations: 0.9239 MB / 474.2 MB, free: 83.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4441, allocations: 353.7 kB / 474.5 MB, free: 82.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.4465, allocations: 1.666 MB / 476.2 MB, free: 82.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/0.4498, allocations: 4.473 MB / 480.7 MB, free: 78.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005771/0.4556, allocations: 6.561 MB / 487.2 MB, free: 73.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-05/0.4556, allocations: 28 kB / 487.2 MB, free: 73.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0169/0.4725, allocations: 8.083 MB / 495.3 MB, free: 70.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.022e-05/0.4726, allocations: 45 kB / 495.4 MB, free: 70.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01036/0.4829, allocations: 3.558 MB / 498.9 MB, free: 70.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/0.4938, allocations: 2.673 MB / 0.4898 GB, free: 67.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/0.4964, allocations: 1.022 MB / 0.4908 GB, free: 66.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.5076, allocations: 9.349 MB / 0.5 GB, free: 57.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/0.511, allocations: 368.8 kB / 0.5003 GB, free: 56.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/0.5112, allocations: 280 kB / 0.5006 GB, free: 56.46 MB / 430.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.0015/0.5127, allocations: 1.418 MB / 0.502 GB, free: 55.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.513, allocations: 222.5 kB / 0.5022 GB, free: 54.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.5134, allocations: 311.7 kB / 0.5025 GB, free: 54.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005162/0.5186, allocations: 2.505 MB / 0.5049 GB, free: 52.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5186, allocations: 11.98 kB / 0.5049 GB, free: 52.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.5186, allocations: 5.234 kB / 0.505 GB, free: 52.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009713/0.5283, allocations: 6.221 MB / 0.511 GB, free: 45.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5283, allocations: 0 / 0.511 GB, free: 45.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007446/0.5291, allocations: 179.7 kB / 0.5112 GB, free: 45.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004379/0.5334, allocations: 1.433 MB / 0.5126 GB, free: 44.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-05/0.5335, allocations: 31.97 kB / 0.5126 GB, free: 44.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007997/0.5415, allocations: 7.606 MB / 0.5201 GB, free: 36.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006257/0.5421, allocations: 1.417 MB / 0.5214 GB, free: 34.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007117/0.5493, allocations: 4.839 MB / 0.5262 GB, free: 29.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/0.5497, allocations: 207.6 kB / 0.5264 GB, free: 29.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.5499, allocations: 25.06 kB / 0.5264 GB, free: 29.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.551, allocations: 115.8 kB / 0.5265 GB, free: 29.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.5512, allocations: 91.59 kB / 0.5266 GB, free: 29.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-05/0.5513, allocations: 35.98 kB / 0.5266 GB, free: 29.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001751/0.553, allocations: 1.483 MB / 0.5281 GB, free: 28 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.553, allocations: 4 kB / 0.5281 GB, free: 28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003339/0.5564, allocations: 0.7699 MB / 0.5288 GB, free: 27.23 MB / 430.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.0002861/0.5567, allocations: 151.5 kB / 0.529 GB, free: 27.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006219/0.5629, allocations: 4.215 MB / 0.5331 GB, free: 22.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5629, allocations: 0 / 0.5331 GB, free: 22.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.5654, allocations: 1.583 MB / 0.5346 GB, free: 21.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.5667, allocations: 243.3 kB / 0.5349 GB, free: 21.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00762/0.5743, allocations: 6.623 MB / 0.5413 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/0.5761, allocations: 1.724 MB / 0.543 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002375/0.5785, allocations: 1.379 MB / 0.5444 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.5789, allocations: 160.5 kB / 0.5445 GB, free: 11.08 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5789, allocations: 0 / 0.5445 GB, free: 11.08 MB / 430.1 MB Notification: Performance of Templates: time 0.04705/0.6259, allocations: 26.63 MB / 0.5705 GB, free: 0.7461 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.969494468998164]