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.002621/0.002621, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.003297/0.003297, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.551/1.551, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 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.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_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.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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.598e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01607/0.0161, allocations: 11.57 MB / 283.8 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009411/0.02551, allocations: 4.12 MB / 287.9 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.027, allocations: 87.56 kB / 288 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1147/0.1417, allocations: 2.941 MB / 290.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00487/0.1466, allocations: 2.062 MB / 293 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.1483, allocations: 0.8985 MB / 293.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006253/0.1546, allocations: 5.381 MB / 299.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00404/0.1586, allocations: 3.533 MB / 302.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.1626, allocations: 2.611 MB / 305.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003481/0.1661, allocations: 2.662 MB / 308.1 MB, free: 9.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008189/0.1669, allocations: 359.4 kB / 308.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.169, allocations: 1.226 MB / 309.7 MB, free: 9.461 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.1704, allocations: 2.253 MB / 311.9 MB, free: 7.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.172, allocations: 1.417 MB / 313.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007355/0.1794, allocations: 7.582 MB / 320.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1794, allocations: 0 / 320.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1794, allocations: 0 / 320.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001797/0.1796, allocations: 0 / 320.9 MB, free: 15.24 MB / 282.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.0131/0.1927, allocations: 6.209 MB / 327.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1927, allocations: 11.98 kB / 327.1 MB, free: 9.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.2028, allocations: 2.797 MB / 329.9 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005824/0.2086, allocations: 2.255 MB / 332.2 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.2088, allocations: 268.5 kB / 332.4 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.2099, allocations: 431.9 kB / 332.9 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/0.2308, allocations: 8.547 MB / 341.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/0.2309, allocations: 51.84 kB / 341.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004765/0.2314, allocations: 175.8 kB / 341.6 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003618/0.235, allocations: 2.169 MB / 343.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.2525, allocations: 5.223 MB / 349 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06738/0.3199, allocations: 53.35 MB / 402.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.3309, allocations: 2.867 MB / 405.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.3324, allocations: 0.7006 MB / 405.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01174/0.3442, allocations: 5.068 MB / 411 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.782e-05/0.3442, allocations: 58.69 kB / 411.1 MB, free: 3.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=183): time 3.717e-06/0.3442, allocations: 0 / 411.1 MB, free: 3.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=205): time 0.04072/0.3849, allocations: 12.56 MB / 423.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001809/0.3867, allocations: 2.063 MB / 425.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007215/0.394, allocations: 4.589 MB / 430.3 MB, free: 4 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.1087/0.5027, allocations: 51.73 kB / 430.3 MB, free: 117.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/0.5051, allocations: 3.906 MB / 434.2 MB, free: 116.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000896/0.506, allocations: 0.9149 MB / 435.2 MB, free: 116.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002015/0.508, allocations: 1.696 MB / 436.9 MB, free: 116.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.5081, allocations: 483.2 kB / 437.3 MB, free: 115.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.5101, allocations: 0.8768 MB / 438.2 MB, free: 115.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003863/0.514, allocations: 7.187 MB / 445.4 MB, free: 107.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006457/0.5204, allocations: 8.898 MB / 454.3 MB, free: 98.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001539/0.5206, allocations: 44.89 kB / 454.3 MB, free: 98.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01732/0.5379, allocations: 7.485 MB / 461.8 MB, free: 96.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.626e-05/0.538, allocations: 69.84 kB / 461.9 MB, free: 96.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009059/0.547, allocations: 2.522 MB / 464.4 MB, free: 96.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009429/0.5565, allocations: 1.853 MB / 466.3 MB, free: 96.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004617/0.5611, allocations: 1.602 MB / 467.9 MB, free: 95.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005672/0.5668, allocations: 4.751 MB / 472.6 MB, free: 90.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005139/0.5719, allocations: 0.5174 MB / 473.1 MB, free: 89.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009983/0.5729, allocations: 412 kB / 473.5 MB, free: 89.41 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.002386/0.5753, allocations: 0.8195 MB / 474.4 MB, free: 88.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007894/0.5761, allocations: 415.7 kB / 474.8 MB, free: 88.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00479/0.5809, allocations: 1.948 MB / 476.7 MB, free: 86.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003698/0.5846, allocations: 1.468 MB / 478.2 MB, free: 84.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.5846, allocations: 4 kB / 478.2 MB, free: 84.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.5846, allocations: 7.969 kB / 478.2 MB, free: 84.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/0.6015, allocations: 8.818 MB / 487 MB, free: 75.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.6015, allocations: 12 kB / 487 MB, free: 75.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.6029, allocations: 375.4 kB / 487.4 MB, free: 75.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002472/0.6054, allocations: 0.5736 MB / 488 MB, free: 74.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/0.6056, allocations: 63.97 kB / 488 MB, free: 74.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/0.6087, allocations: 4.203 MB / 492.2 MB, free: 70.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006592/0.6093, allocations: 1.944 MB / 494.2 MB, free: 68.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006305/0.6157, allocations: 3.743 MB / 497.9 MB, free: 64.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.6167, allocations: 375.4 kB / 498.3 MB, free: 63.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004167/0.6171, allocations: 51.98 kB / 498.3 MB, free: 63.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.6189, allocations: 203.6 kB / 498.5 MB, free: 63.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/0.6192, allocations: 180.4 kB / 498.7 MB, free: 63.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.6193, allocations: 81.5 kB / 498.8 MB, free: 63.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002434/0.6217, allocations: 1.871 MB / 0.4889 GB, free: 61.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6217, allocations: 0 / 0.4889 GB, free: 61.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005078/0.6268, allocations: 1.265 MB / 0.4902 GB, free: 60.17 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.0004525/0.6273, allocations: 223.2 kB / 0.4904 GB, free: 59.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007898/0.6352, allocations: 4.328 MB / 0.4946 GB, free: 55.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/0.6352, allocations: 0 / 0.4946 GB, free: 55.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003036/0.6382, allocations: 1.561 MB / 0.4961 GB, free: 53.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.6409, allocations: 476.4 kB / 0.4966 GB, free: 53.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.6524, allocations: 9.129 MB / 0.5055 GB, free: 44.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/0.6548, allocations: 2.659 MB / 0.5081 GB, free: 41.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003476/0.6583, allocations: 1.731 MB / 0.5098 GB, free: 39.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/0.6589, allocations: 260.4 kB / 0.51 GB, free: 39.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.853e-06/0.6589, allocations: 0 / 0.51 GB, free: 39.41 MB / 378.7 MB Notification: Performance of Templates: time 0.05956/0.7185, allocations: 36.38 MB / 0.5456 GB, free: 3.617 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.890406414982863]