Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.000816/0.000816, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.0008999/0.0008999, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.918/0.918, allocations: 177 MB / 204.8 MB, free: 5.605 MB / 186.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.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 3.938 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.336e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01236/0.01238, allocations: 11.65 MB / 284.6 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007847/0.02023, allocations: 4.13 MB / 288.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009886/0.02121, allocations: 79.62 kB / 288.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1275/0.1488, allocations: 2.955 MB / 291.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004252/0.153, allocations: 2.073 MB / 293.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.1544, allocations: 0.8902 MB / 294.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004794/0.1592, allocations: 5.396 MB / 300.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002981/0.1622, allocations: 3.534 MB / 303.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.1646, allocations: 2.65 MB / 306.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.1663, allocations: 2.617 MB / 308.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003579/0.1667, allocations: 354.2 kB / 309.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.1678, allocations: 1.223 MB / 310.5 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008321/0.1687, allocations: 2.249 MB / 312.7 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008483/0.1695, allocations: 1.41 MB / 314.1 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.1725, allocations: 5.004 MB / 319.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1725, allocations: 4 kB / 319.1 MB, free: 1.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1725, allocations: 3.984 kB / 319.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.204e-05/0.1726, allocations: 0 / 319.1 MB, free: 1.367 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.006829/0.1794, allocations: 5.729 MB / 324.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1795, allocations: 12.03 kB / 324.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006572/0.186, allocations: 2.791 MB / 327.7 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.1889, allocations: 2.236 MB / 329.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.1891, allocations: 264.7 kB / 330.2 MB, free: 6.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007072/0.1898, allocations: 431 kB / 330.6 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/0.2019, allocations: 8.083 MB / 338.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.202, allocations: 50.27 kB / 338.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003857/0.2024, allocations: 173.6 kB / 338.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00261/0.205, allocations: 2.166 MB / 341.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.2166, allocations: 4.843 MB / 345.9 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03868/0.2553, allocations: 49.48 MB / 395.4 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005683/0.261, allocations: 2.876 MB / 398.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000863/0.2619, allocations: 0.6711 MB / 398.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005977/0.2678, allocations: 4.959 MB / 403.9 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.2679, allocations: 62.58 kB / 403.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=183): time 3.707e-06/0.2679, allocations: 0 / 403.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=205): time 0.02127/0.2891, allocations: 12.31 MB / 416.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008943/0.29, allocations: 2.039 MB / 418.3 MB, free: 12.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.2933, allocations: 3.695 MB / 422 MB, free: 8.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.986e-05/0.2934, allocations: 61.64 kB / 422 MB, free: 8.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001677/0.2951, allocations: 3.703 MB / 425.8 MB, free: 4.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005115/0.2956, allocations: 0.8648 MB / 426.6 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.2968, allocations: 1.454 MB / 428.1 MB, free: 2.586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.2969, allocations: 480.7 kB / 428.5 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.2981, allocations: 0.7863 MB / 429.3 MB, free: 1.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1158/0.4139, allocations: 6.894 MB / 436.2 MB, free: 105.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006249/0.4201, allocations: 8.506 MB / 444.7 MB, free: 97.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/0.4203, allocations: 42.12 kB / 444.8 MB, free: 97.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=895) (initialization): time 0.01268/0.4329, allocations: 7.323 MB / 452.1 MB, free: 96.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.433, allocations: 66.34 kB / 452.2 MB, free: 96.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004757/0.4378, allocations: 2.452 MB / 454.6 MB, free: 96.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004644/0.4424, allocations: 1.84 MB / 456.4 MB, free: 96.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.4449, allocations: 1.603 MB / 458 MB, free: 95.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003379/0.4482, allocations: 4.723 MB / 462.8 MB, free: 92.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/0.4514, allocations: 0.5086 MB / 463.3 MB, free: 92.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004178/0.4518, allocations: 419.4 kB / 463.7 MB, free: 92.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * 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 (857): * Single equations (assignments): 848 * 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.001248/0.4531, allocations: 0.7215 MB / 464.4 MB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.4535, allocations: 411.8 kB / 464.8 MB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.456, allocations: 1.881 MB / 466.7 MB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001985/0.458, allocations: 1.399 MB / 468.1 MB, free: 91.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.458, allocations: 0 / 468.1 MB, free: 91.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.458, allocations: 15.28 kB / 468.1 MB, free: 91.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008381/0.4664, allocations: 7.78 MB / 475.9 MB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.4664, allocations: 23.92 kB / 475.9 MB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/0.4672, allocations: 363.5 kB / 476.3 MB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.4685, allocations: 0.5765 MB / 476.8 MB, free: 83.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.4686, allocations: 55.98 kB / 476.9 MB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.4704, allocations: 4.184 MB / 481.1 MB, free: 79.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003953/0.4708, allocations: 1.922 MB / 483 MB, free: 77.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/0.4743, allocations: 3.558 MB / 486.6 MB, free: 73.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/0.4748, allocations: 366.4 kB / 486.9 MB, free: 73.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.4751, allocations: 58.64 kB / 487 MB, free: 73.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009966/0.4761, allocations: 199.7 kB / 487.2 MB, free: 73.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.4763, allocations: 180.3 kB / 487.3 MB, free: 72.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.169e-05/0.4764, allocations: 75.98 kB / 487.4 MB, free: 72.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001586/0.4779, allocations: 1.563 MB / 489 MB, free: 71.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4779, allocations: 4 kB / 489 MB, free: 71.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003986/0.4819, allocations: 1.262 MB / 490.3 MB, free: 69.97 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.0003762/0.4823, allocations: 230.7 kB / 490.5 MB, free: 69.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005786/0.4881, allocations: 3.968 MB / 494.4 MB, free: 65.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.4881, allocations: 4 kB / 494.4 MB, free: 65.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.4902, allocations: 1.478 MB / 495.9 MB, free: 64.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.4924, allocations: 468.7 kB / 496.4 MB, free: 63.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.5031, allocations: 9.029 MB / 0.4936 GB, free: 54.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.5041, allocations: 1.339 MB / 0.4949 GB, free: 53.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00307/0.5072, allocations: 1.728 MB / 0.4966 GB, free: 51.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.5078, allocations: 264.4 kB / 0.4968 GB, free: 51.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.5078, allocations: 0 / 0.4968 GB, free: 51.12 MB / 378.7 MB Notification: Performance of Templates: time 0.05359/0.5614, allocations: 37.64 MB / 0.5336 GB, free: 14.07 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.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.9939722581766546]