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.001076/0.001076, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.004133/0.004133, allocations: 157.3 kB / 24.99 MB, free: 8.797 MB / 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.9287/0.9287, allocations: 177 MB / 205.2 MB, free: 5.562 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.193e-06/1.193e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.497e-05, allocations: 5.266 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.00885/0.008865, allocations: 11.61 MB / 284.6 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006514/0.01538, allocations: 4.129 MB / 288.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009586/0.01634, allocations: 79.62 kB / 288.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1085/0.1248, allocations: 2.943 MB / 291.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.1286, allocations: 2.068 MB / 293.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.1298, allocations: 0.8836 MB / 294.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004109/0.1339, allocations: 5.388 MB / 300.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002704/0.1366, allocations: 3.536 MB / 303.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.1389, allocations: 2.61 MB / 306.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.1407, allocations: 2.658 MB / 308.9 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003839/0.1411, allocations: 357.8 kB / 309.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.1423, allocations: 1.232 MB / 310.5 MB, free: 9.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009212/0.1432, allocations: 2.251 MB / 312.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008945/0.1441, allocations: 1.417 MB / 314.2 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.147, allocations: 5.025 MB / 319.2 MB, free: 1.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.147, allocations: 4 kB / 319.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.147, allocations: 0 / 319.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.89e-05/0.147, allocations: 0 / 319.2 MB, free: 1.676 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.005504/0.1525, allocations: 5.754 MB / 325 MB, free: 11.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1526, allocations: 8.031 kB / 325 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.1574, allocations: 2.801 MB / 327.8 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.1598, allocations: 2.243 MB / 330 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.1599, allocations: 270.6 kB / 330.3 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005508/0.1604, allocations: 420.6 kB / 330.7 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009601/0.17, allocations: 8.093 MB / 338.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.304e-05/0.1701, allocations: 46.53 kB / 338.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003166/0.1704, allocations: 176.5 kB / 339 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001851/0.1723, allocations: 2.161 MB / 341.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008886/0.1812, allocations: 4.839 MB / 346 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02756/0.2087, allocations: 49.48 MB / 395.5 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005748/0.2145, allocations: 2.874 MB / 398.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008494/0.2153, allocations: 0.677 MB / 399 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00532/0.2207, allocations: 4.953 MB / 404 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.2207, allocations: 62.58 kB / 404 MB, free: 11.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=183): time 3.376e-06/0.2207, allocations: 0 / 404 MB, free: 11.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=205): time 0.02108/0.2418, allocations: 12.31 MB / 416.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008465/0.2426, allocations: 2.052 MB / 418.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003133/0.2458, allocations: 3.687 MB / 422.1 MB, free: 8.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.414e-05/0.2458, allocations: 55.81 kB / 422.1 MB, free: 8.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/0.2474, allocations: 3.701 MB / 425.8 MB, free: 5.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006011/0.248, allocations: 0.8669 MB / 426.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/0.2492, allocations: 1.447 MB / 428.1 MB, free: 2.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.2493, allocations: 480.8 kB / 428.6 MB, free: 2.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.2504, allocations: 0.7901 MB / 429.4 MB, free: 1.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1199/0.3703, allocations: 6.885 MB / 436.3 MB, free: 111.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005997/0.3763, allocations: 8.483 MB / 444.8 MB, free: 102.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-05/0.3764, allocations: 41.72 kB / 444.8 MB, free: 102.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01167/0.3881, allocations: 7.32 MB / 452.1 MB, free: 101.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/0.3881, allocations: 67.94 kB / 452.2 MB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004644/0.3928, allocations: 2.441 MB / 454.6 MB, free: 101.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004706/0.3975, allocations: 1.852 MB / 456.5 MB, free: 101.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/0.3999, allocations: 1.599 MB / 458.1 MB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003269/0.4031, allocations: 4.723 MB / 462.8 MB, free: 97.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/0.4057, allocations: 0.506 MB / 463.3 MB, free: 97.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/0.406, allocations: 415.4 kB / 463.7 MB, free: 97.82 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.001127/0.4072, allocations: 0.7272 MB / 464.5 MB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003872/0.4076, allocations: 409.7 kB / 464.9 MB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.41, allocations: 1.886 MB / 466.7 MB, free: 96.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002004/0.412, allocations: 1.396 MB / 468.1 MB, free: 95.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4121, allocations: 8 kB / 468.1 MB, free: 95.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.4121, allocations: 7.969 kB / 468.2 MB, free: 95.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008231/0.4203, allocations: 7.785 MB / 475.9 MB, free: 87.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.4203, allocations: 12 kB / 476 MB, free: 87.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/0.4211, allocations: 371.4 kB / 476.3 MB, free: 86.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.4223, allocations: 0.5725 MB / 476.9 MB, free: 86.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.4224, allocations: 59.97 kB / 476.9 MB, free: 86.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.4242, allocations: 4.174 MB / 481.1 MB, free: 81.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003892/0.4246, allocations: 1.928 MB / 483 MB, free: 79.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/0.4279, allocations: 3.556 MB / 486.6 MB, free: 76.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.4282, allocations: 364.6 kB / 487 MB, free: 76.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.4284, allocations: 59.97 kB / 487 MB, free: 76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009072/0.4293, allocations: 199.7 kB / 487.2 MB, free: 75.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.4295, allocations: 176.4 kB / 487.4 MB, free: 75.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.961e-05/0.4296, allocations: 83.97 kB / 487.5 MB, free: 75.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001301/0.4309, allocations: 1.566 MB / 489 MB, free: 74 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4309, allocations: 0 / 489 MB, free: 74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003129/0.434, allocations: 1.259 MB / 490.3 MB, free: 72.75 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.0003379/0.4344, allocations: 231.5 kB / 490.5 MB, free: 72.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004428/0.4388, allocations: 3.968 MB / 494.5 MB, free: 68.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4388, allocations: 4 kB / 494.5 MB, free: 68.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.4403, allocations: 1.465 MB / 496 MB, free: 67.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.4418, allocations: 479.9 kB / 496.4 MB, free: 66.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00812/0.4499, allocations: 9.02 MB / 0.4936 GB, free: 57.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008842/0.4508, allocations: 1.335 MB / 0.4949 GB, free: 55.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002175/0.4529, allocations: 1.725 MB / 0.4966 GB, free: 54.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/0.4534, allocations: 260.4 kB / 0.4968 GB, free: 53.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.4534, allocations: 0 / 0.4968 GB, free: 53.91 MB / 378.7 MB Notification: Performance of Templates: time 0.04029/0.4937, allocations: 36.41 MB / 0.5324 GB, free: 18.09 MB / 378.7 MB " [Timeout remaining time 660] 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: 4.077480086823925]