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.001141/0.001141, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001708/0.002849, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000927/0.000927, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001968, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9703/0.9703, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09298/1.063, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|body.v_0.[0-9,]+.|body.w_a.[0-9,]+.",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.[0-9,]+.|body.v_0.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.225e-05, allocations: 6.25 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.00727/0.007292, allocations: 7.148 MB / 252.2 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005301/0.01259, allocations: 3.284 MB / 255.5 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005422/0.01314, allocations: 43.81 kB / 255.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.01452, allocations: 1.058 MB / 256.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.01687, allocations: 1.404 MB / 258 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006998/0.01757, allocations: 450.9 kB / 258.4 MB, free: 200 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.02004, allocations: 2.948 MB / 261.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.02136, allocations: 1.426 MB / 262.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.02286, allocations: 1.367 MB / 264.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.02485, allocations: 1.337 MB / 265.5 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003037/0.02515, allocations: 176 kB / 265.6 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.02677, allocations: 0.9983 MB / 266.6 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009194/0.02769, allocations: 1.052 MB / 267.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007632/0.02845, allocations: 0.584 MB / 268.3 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.03192, allocations: 2.736 MB / 271 MB, free: 3.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.594e-05/0.03194, allocations: 0 / 271 MB, free: 3.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.03194, allocations: 0 / 271 MB, free: 3.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.492e-05/0.03201, allocations: 0 / 271 MB, free: 3.52 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.005731/0.03774, allocations: 3.333 MB / 274.4 MB, free: 132 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.0378, allocations: 16.56 kB / 274.4 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1239/0.1617, allocations: 0.918 MB / 275.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.1639, allocations: 1.039 MB / 276.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.164, allocations: 130.8 kB / 276.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005496/0.1646, allocations: 251.2 kB / 276.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/0.1692, allocations: 3.267 MB / 280 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.397e-05/0.1692, allocations: 24.12 kB / 280 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.1694, allocations: 85.59 kB / 280.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001313/0.1707, allocations: 1.207 MB / 281.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003863/0.1746, allocations: 1.848 MB / 283.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.1874, allocations: 20.12 MB / 303.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.1894, allocations: 1.078 MB / 304.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.1897, allocations: 251.5 kB / 304.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002456/0.1922, allocations: 2.207 MB / 306.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.1922, allocations: 58.72 kB / 306.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=112): time 4.378e-06/0.1922, allocations: 0 / 306.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=125): time 0.008403/0.2006, allocations: 4.001 MB / 310.8 MB, free: 7.109 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007171/0.2013, allocations: 1.472 MB / 312.3 MB, free: 5.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.203, allocations: 2.161 MB / 314.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.203, allocations: 42.25 kB / 314.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.2041, allocations: 2.075 MB / 316.6 MB, free: 1.699 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.2044, allocations: 0.5238 MB / 317.1 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000674/0.2051, allocations: 0.8573 MB / 318 MB, free: 444 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.2052, allocations: 356.2 kB / 318.3 MB, free: 108 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009206/0.2061, allocations: 0.6284 MB / 318.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.2082, allocations: 3.313 MB / 322.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003262/0.2115, allocations: 4.391 MB / 326.7 MB, free: 5.477 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-05/0.2115, allocations: 29.64 kB / 326.7 MB, free: 5.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.006518/0.218, allocations: 3.766 MB / 330.4 MB, free: 1.664 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.2181, allocations: 44 kB / 330.5 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003335/0.2214, allocations: 1.088 MB / 331.6 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003956/0.2254, allocations: 0.85 MB / 332.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.2272, allocations: 1.08 MB / 333.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004719/0.2319, allocations: 4.053 MB / 337.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.2336, allocations: 211.9 kB / 337.8 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/0.2339, allocations: 250.8 kB / 338 MB, free: 9.945 MB / 314.7 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.000793/0.2346, allocations: 484.1 kB / 338.5 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.2349, allocations: 140.9 kB / 338.6 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.2352, allocations: 263.7 kB / 338.9 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001937/0.2371, allocations: 0.8413 MB / 339.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.2371, allocations: 4 kB / 339.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2371, allocations: 7.984 kB / 339.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007067/0.2442, allocations: 3.185 MB / 342.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.2442, allocations: 0 / 342.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007422/0.2449, allocations: 167.8 kB / 343.1 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/0.2454, allocations: 206.3 kB / 343.3 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/0.2485, allocations: 0.7812 MB / 344.1 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-05/0.2486, allocations: 31.97 kB / 344.1 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003475/0.2521, allocations: 3.779 MB / 347.9 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006385/0.2527, allocations: 1.335 MB / 349.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.2554, allocations: 1.945 MB / 351.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/0.2557, allocations: 27.98 kB / 351.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/0.2563, allocations: 22.66 kB / 351.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.2565, allocations: 80.48 kB / 351.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/0.2565, allocations: 27.98 kB / 351.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007381/0.2573, allocations: 0.7473 MB / 352.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2573, allocations: 0 / 352.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002603/0.2599, allocations: 0.8553 MB / 352.9 MB, free: 10.92 MB / 330.7 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.0003563/0.2602, allocations: 162.5 kB / 353.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003095/0.2633, allocations: 2.313 MB / 355.4 MB, free: 8.484 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001418/0.2635, allocations: 67.22 kB / 355.5 MB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.2646, allocations: 0.7802 MB / 356.2 MB, free: 7.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.2658, allocations: 0.5377 MB / 356.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/0.2728, allocations: 5.05 MB / 361.8 MB, free: 2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.2736, allocations: 0.7897 MB / 362.6 MB, free: 1.191 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008979/0.2744, allocations: 337.8 kB / 362.9 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/0.275, allocations: 380.9 kB / 363.3 MB, free: 496 kB / 330.7 MB Notification: Performance of SimCode: time 1.884e-06/0.275, allocations: 0 / 363.3 MB, free: 496 kB / 330.7 MB Notification: Performance of Templates: time 0.03787/0.3129, allocations: 30.98 MB / 394.3 MB, free: 1.738 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.5157069275155663]