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.001353/0.001353, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 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.002568/0.002568, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.506/1.506, allocations: 177 MB / 204.1 MB, free: 9.152 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.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 2.555e-06/2.555e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.595e-05, allocations: 2.281 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01424/0.01427, allocations: 10.48 MB / 335.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009247/0.02351, allocations: 4.029 MB / 339.5 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.02537, allocations: 84.38 kB / 339.6 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005968/0.03134, allocations: 2.823 MB / 342.4 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005655/0.037, allocations: 2.049 MB / 344.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.03908, allocations: 0.8887 MB / 345.4 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008025/0.0471, allocations: 5.387 MB / 350.8 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005718/0.05282, allocations: 3.425 MB / 354.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006038/0.05886, allocations: 2.604 MB / 356.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004625/0.06348, allocations: 2.603 MB / 359.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00129/0.06477, allocations: 367.9 kB / 359.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003514/0.06829, allocations: 1.221 MB / 361 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002909/0.07119, allocations: 2.24 MB / 363.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003061/0.07426, allocations: 1.406 MB / 364.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009347/0.0836, allocations: 7.565 MB / 372.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.08361, allocations: 0 / 372.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08361, allocations: 0 / 372.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001215/0.08373, allocations: 0 / 372.2 MB, free: 5.738 MB / 334.1 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.0102/0.09392, allocations: 5.366 MB / 377.5 MB, free: 320 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.09396, allocations: 15.98 kB / 377.6 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009588/0.1035, allocations: 2.366 MB / 379.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004657/0.1082, allocations: 2.409 MB / 382.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.1085, allocations: 270.8 kB / 382.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.1095, allocations: 427.7 kB / 383 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02476/0.1342, allocations: 12.36 MB / 395.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.1343, allocations: 51.58 kB / 395.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00049/0.1348, allocations: 171.8 kB / 395.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003679/0.1385, allocations: 2.162 MB / 397.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0235/0.162, allocations: 10.26 MB / 408 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05356/0.2156, allocations: 41.61 MB / 449.6 MB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/0.2279, allocations: 3.983 MB / 453.6 MB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002503/0.2304, allocations: 1.625 MB / 455.2 MB, free: 452 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01193/0.2424, allocations: 6.633 MB / 461.9 MB, free: 9.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.2424, allocations: 51.88 kB / 461.9 MB, free: 9.703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=183): time 3.837e-06/0.2424, allocations: 4 kB / 461.9 MB, free: 9.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=205): time 0.2176/0.4601, allocations: 16.57 MB / 478.5 MB, free: 124.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009902/0.4611, allocations: 1.564 MB / 480.1 MB, free: 123.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005441/0.4665, allocations: 4.129 MB / 484.2 MB, free: 121.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002736/0.4668, allocations: 54.23 kB / 484.2 MB, free: 121.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001502/0.4683, allocations: 3.533 MB / 487.8 MB, free: 119.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006397/0.4689, allocations: 0.8363 MB / 488.6 MB, free: 118.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/0.4705, allocations: 1.355 MB / 490 MB, free: 117.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.583e-05/0.4705, allocations: 303.6 kB / 490.3 MB, free: 117.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003375/0.4739, allocations: 2.323 MB / 492.6 MB, free: 116.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004316/0.4782, allocations: 6.458 MB / 499 MB, free: 110.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007654/0.4858, allocations: 9.395 MB / 0.4965 GB, free: 102.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.724e-05/0.4859, allocations: 42.31 kB / 0.4966 GB, free: 102.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02048/0.5064, allocations: 10.22 MB / 0.5065 GB, free: 93.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.006e-05/0.5065, allocations: 70.81 kB / 0.5066 GB, free: 93.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01084/0.5173, allocations: 3.943 MB / 0.5105 GB, free: 89.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/0.5276, allocations: 2.265 MB / 0.5127 GB, free: 87.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004813/0.5324, allocations: 1.61 MB / 0.5142 GB, free: 85.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007666/0.5401, allocations: 6.307 MB / 0.5204 GB, free: 79.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005969/0.5461, allocations: 0.5571 MB / 0.5209 GB, free: 78.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007844/0.5469, allocations: 416 kB / 0.5213 GB, free: 78.21 MB / 430.1 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.003022/0.5499, allocations: 2.208 MB / 0.5235 GB, free: 76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007373/0.5506, allocations: 357.6 kB / 0.5238 GB, free: 75.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005988/0.5566, allocations: 3.274 MB / 0.527 GB, free: 72.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004884/0.5615, allocations: 2.773 MB / 0.5297 GB, free: 69.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.5615, allocations: 4.062 kB / 0.5297 GB, free: 69.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.5615, allocations: 11.97 kB / 0.5298 GB, free: 69.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.5776, allocations: 9.065 MB / 0.5386 GB, free: 60.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.5776, allocations: 16 kB / 0.5386 GB, free: 60.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/0.5791, allocations: 375.4 kB / 0.539 GB, free: 59.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/0.5821, allocations: 0.9906 MB / 0.5399 GB, free: 58.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/0.5823, allocations: 59.97 kB / 0.54 GB, free: 58.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004331/0.5867, allocations: 4.644 MB / 0.5445 GB, free: 53.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007986/0.5875, allocations: 1.444 MB / 0.546 GB, free: 52.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008377/0.5958, allocations: 5.917 MB / 0.5517 GB, free: 46.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.5971, allocations: 369.5 kB / 0.5521 GB, free: 45.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007192/0.5978, allocations: 59.98 kB / 0.5521 GB, free: 45.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/0.6001, allocations: 219.7 kB / 0.5523 GB, free: 45.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/0.6004, allocations: 176.3 kB / 0.5525 GB, free: 45.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.6006, allocations: 79.81 kB / 0.5526 GB, free: 45.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003214/0.6038, allocations: 2.379 MB / 0.5549 GB, free: 43.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6038, allocations: 0 / 0.5549 GB, free: 43.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005921/0.6097, allocations: 1.262 MB / 0.5561 GB, free: 41.79 MB / 430.1 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.0005535/0.6103, allocations: 222.6 kB / 0.5564 GB, free: 41.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008875/0.6192, allocations: 5.713 MB / 0.5619 GB, free: 35.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/0.6192, allocations: 4 kB / 0.5619 GB, free: 35.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003553/0.6227, allocations: 1.972 MB / 0.5639 GB, free: 33.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/0.6257, allocations: 448.5 kB / 0.5643 GB, free: 33.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.6388, allocations: 10.57 MB / 0.5746 GB, free: 22.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002648/0.6414, allocations: 2.923 MB / 0.5775 GB, free: 19.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00374/0.6451, allocations: 1.992 MB / 0.5794 GB, free: 17.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006386/0.6458, allocations: 264.4 kB / 0.5797 GB, free: 17.41 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6458, allocations: 0 / 0.5797 GB, free: 17.41 MB / 430.1 MB Notification: Performance of Templates: time 0.06834/0.7141, allocations: 35.89 MB / 0.6147 GB, free: 14.05 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 480] 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.974548380821943]