Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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.001591/0.001591, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002294/0.002294, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.505/1.505, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.89 MB / 361.3 MB, free: 4.449 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 83.86 kB / 0.4971 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3473, allocations: 66.03 MB / 0.5615 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01906/0.3663, allocations: 16.19 MB / 0.5774 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.3777, allocations: 5.04 MB / 0.5823 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.3807, allocations: 111.5 kB / 0.5824 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.3919, allocations: 5.237 MB / 0.5875 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009788/0.4017, allocations: 2.555 MB / 0.59 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.4054, allocations: 1.182 MB / 0.5911 GB, free: 6.215 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01127/0.4166, allocations: 6.662 MB / 0.5977 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007233/0.4239, allocations: 4.693 MB / 0.6022 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.4287, allocations: 2.629 MB / 0.6048 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006594/0.4353, allocations: 3.941 MB / 0.6087 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002178/0.4375, allocations: 0.5703 MB / 0.6092 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.4412, allocations: 1.307 MB / 0.6105 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004723/0.4459, allocations: 3.292 MB / 0.6137 GB, free: 15 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006009/0.4519, allocations: 3.655 MB / 0.6173 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01804/0.47, allocations: 11.14 MB / 0.6281 GB, free: 136 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.47, allocations: 4 kB / 0.6282 GB, free: 132 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.47, allocations: 0 / 0.6282 GB, free: 132 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004856/0.4705, allocations: 0 / 0.6282 GB, free: 132 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01817/0.4887, allocations: 7.698 MB / 0.6357 GB, free: 8.359 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4887, allocations: 11.97 kB / 0.6357 GB, free: 8.348 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.4995, allocations: 2.633 MB / 0.6383 GB, free: 5.707 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009429/0.5089, allocations: 3.509 MB / 0.6417 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004576/0.5094, allocations: 435.3 kB / 0.6421 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002241/0.5116, allocations: 0.5543 MB / 0.6426 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04351/0.5551, allocations: 19.75 MB / 0.6619 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/0.5553, allocations: 71.38 kB / 0.662 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008622/0.5562, allocations: 275.8 kB / 0.6623 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005094/0.5613, allocations: 3.149 MB / 0.6653 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03782/0.5991, allocations: 15.86 MB / 0.6808 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5658/1.165, allocations: 63.91 MB / 0.7432 GB, free: 110.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01514/1.18, allocations: 5.673 MB / 0.7488 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002485/1.183, allocations: 1.89 MB / 0.7506 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/1.194, allocations: 8 MB / 0.7584 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/1.194, allocations: 66.86 kB / 0.7585 GB, free: 109.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 4.058e-06/1.194, allocations: 0 / 0.7585 GB, free: 109.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.04862/1.243, allocations: 21.59 MB / 0.7796 GB, free: 93.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/1.243, allocations: 160.9 kB / 0.7797 GB, free: 93.41 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005577/1.248, allocations: 5.767 MB / 0.7854 GB, free: 87.79 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000333/1.249, allocations: 72.17 kB / 0.7854 GB, free: 87.71 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/1.25, allocations: 5.029 MB / 0.7903 GB, free: 82.92 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007485/1.251, allocations: 1.164 MB / 0.7915 GB, free: 81.77 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/1.253, allocations: 1.826 MB / 0.7933 GB, free: 79.93 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.85e-05/1.253, allocations: 301.1 kB / 0.7935 GB, free: 79.63 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/1.256, allocations: 2.641 MB / 0.7961 GB, free: 76.99 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005229/1.261, allocations: 8.198 MB / 0.8041 GB, free: 66.23 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009284/1.27, allocations: 11.76 MB / 0.8156 GB, free: 52.05 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/1.27, allocations: 56 kB / 0.8157 GB, free: 51.99 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.0151/1.286, allocations: 10.58 MB / 0.826 GB, free: 41.41 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/1.286, allocations: 90.34 kB / 0.8261 GB, free: 41.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/1.286, allocations: 196 kB / 0.8263 GB, free: 41.13 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/1.286, allocations: 264 kB / 0.8265 GB, free: 40.88 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005719/1.292, allocations: 2.211 MB / 0.8287 GB, free: 38.66 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001813/1.292, allocations: 386.5 kB / 0.829 GB, free: 38.28 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004909/1.297, allocations: 464 kB / 0.8295 GB, free: 37.83 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005118/1.297, allocations: 0.539 MB / 0.83 GB, free: 37.29 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1183): * Single equations (assignments): 1180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0032/1.3, allocations: 3.151 MB / 0.8331 GB, free: 34.13 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006066/1.301, allocations: 0.5393 MB / 0.8336 GB, free: 33.59 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/1.305, allocations: 2.987 MB / 0.8365 GB, free: 30.58 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/1.305, allocations: 35.88 kB / 0.8366 GB, free: 30.54 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.305, allocations: 0 / 0.8366 GB, free: 30.54 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/1.305, allocations: 15.95 kB / 0.8366 GB, free: 30.53 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/1.32, allocations: 12.24 MB / 0.8485 GB, free: 17.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/1.321, allocations: 36.03 kB / 0.8486 GB, free: 17.79 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/1.322, allocations: 0.5499 MB / 0.8491 GB, free: 17.24 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-05/1.322, allocations: 44 kB / 0.8491 GB, free: 17.2 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/1.322, allocations: 87.98 kB / 0.8492 GB, free: 17.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.939e-05/1.323, allocations: 59.8 kB / 0.8493 GB, free: 17.05 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-05/1.323, allocations: 51.75 kB / 0.8493 GB, free: 17 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/1.328, allocations: 5.636 MB / 0.8548 GB, free: 10.83 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.329, allocations: 0.5314 MB / 0.8554 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005263/1.33, allocations: 91.97 kB / 0.8554 GB, free: 10.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/1.332, allocations: 147.1 kB / 0.8556 GB, free: 10.06 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/1.332, allocations: 279.8 kB / 0.8559 GB, free: 9.789 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/1.332, allocations: 122.9 kB / 0.856 GB, free: 9.672 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004472/1.336, allocations: 3.573 MB / 0.8595 GB, free: 6.129 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.21e-07/1.336, allocations: 0 / 0.8595 GB, free: 6.129 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0064/1.343, allocations: 1.414 MB / 0.8608 GB, free: 4.715 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.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 (275): * Single equations (assignments): 272 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004825/1.343, allocations: 254 kB / 0.8611 GB, free: 4.457 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.008557/1.352, allocations: 5.817 MB / 0.8668 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.436e-05/1.352, allocations: 12.06 kB / 0.8668 GB, free: 14.66 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002398/1.354, allocations: 1.293 MB / 0.868 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/1.359, allocations: 0.747 MB / 0.8688 GB, free: 12.65 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02539/1.384, allocations: 14.5 MB / 0.8829 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006639/1.391, allocations: 4.756 MB / 0.8876 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006965/1.398, allocations: 2.571 MB / 0.8901 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.399, allocations: 383.4 kB / 0.8904 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of SimCode: time 1.253e-06/1.399, allocations: 0 / 0.8904 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of Templates: time 0.09604/1.495, allocations: 43.98 MB / 0.9334 GB, free: 10.27 MB / 0.6388 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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: 8.245827997103333]