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.001325/0.001325, allocations: 117 kB / 19.12 MB, free: 3.93 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.001451/0.001451, allocations: 210.6 kB / 22.08 MB, free: 0.9766 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.485/1.485, allocations: 227.4 MB / 252.3 MB, free: 56 kB / 190.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.2299/0.2299, allocations: 46.17 MB / 351.8 MB, free: 14.27 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.002258/0.002258, allocations: 82.16 kB / 490.9 MB, free: 27.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1196, allocations: 62.44 MB / 0.5404 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01864/0.1383, allocations: 16.1 MB / 0.5561 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.1497, allocations: 4.98 MB / 0.5609 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.1528, allocations: 99.75 kB / 0.561 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0105/0.1633, allocations: 5.159 MB / 0.5661 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006978/0.1704, allocations: 2.458 MB / 0.5685 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.1735, allocations: 1.178 MB / 0.5696 GB, free: 6.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01086/0.1844, allocations: 6.663 MB / 0.5761 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009312/0.1938, allocations: 6.332 MB / 0.5823 GB, free: 9.043 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/0.1989, allocations: 2.59 MB / 0.5848 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006178/0.2051, allocations: 3.669 MB / 0.5884 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002227/0.2073, allocations: 0.5703 MB / 0.589 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003938/0.2113, allocations: 1.264 MB / 0.5902 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004953/0.2163, allocations: 3.207 MB / 0.5934 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006062/0.2224, allocations: 3.663 MB / 0.5969 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5446/0.767, allocations: 11.13 MB / 0.6078 GB, free: 24.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.767, allocations: 4.375 kB / 0.6078 GB, free: 24.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.767, allocations: 0 / 0.6078 GB, free: 24.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000395/0.7674, allocations: 0.6875 kB / 0.6078 GB, free: 24.82 MB / 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.01956/0.787, allocations: 7.779 MB / 0.6154 GB, free: 21.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.7871, allocations: 9.094 kB / 0.6154 GB, free: 21.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.7992, allocations: 2.632 MB / 0.618 GB, free: 21.35 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009219/0.8085, allocations: 3.598 MB / 0.6215 GB, free: 20.58 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005038/0.809, allocations: 432.4 kB / 0.6219 GB, free: 20.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002641/0.8117, allocations: 0.5499 MB / 0.6224 GB, free: 20.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04106/0.8528, allocations: 19.75 MB / 0.6417 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002386/0.8531, allocations: 74.8 kB / 0.6418 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001364/0.8544, allocations: 269.5 kB / 0.6421 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004011/0.8585, allocations: 3.151 MB / 0.6451 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03249/0.891, allocations: 15.86 MB / 0.6606 GB, free: 452 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.088/0.979, allocations: 63.85 MB / 0.723 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/0.9974, allocations: 6.334 MB / 0.7292 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003986/1.001, allocations: 2.086 MB / 0.7312 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01699/1.019, allocations: 9.206 MB / 0.7402 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.573e-05/1.019, allocations: 64.56 kB / 0.7402 GB, free: 13.83 MB / 0.545 GB Notification: Performance of pre-optimization done (n=257): time 5.47e-06/1.019, allocations: 2.297 kB / 0.7402 GB, free: 13.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=291): time 0.06502/1.084, allocations: 21.73 MB / 0.7615 GB, free: 8.109 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/1.084, allocations: 158.5 kB / 0.7616 GB, free: 7.922 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/1.095, allocations: 5.772 MB / 0.7673 GB, free: 2.18 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004614/1.095, allocations: 69.55 kB / 0.7673 GB, free: 2.109 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004527/1.1, allocations: 5.029 MB / 0.7722 GB, free: 13.12 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00159/1.101, allocations: 1.157 MB / 0.7734 GB, free: 11.98 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004292/1.106, allocations: 1.833 MB / 0.7752 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.106, allocations: 301.1 kB / 0.7754 GB, free: 9.84 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005058/1.111, allocations: 2.641 MB / 0.778 GB, free: 7.195 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/1.121, allocations: 8.195 MB / 0.786 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01656/1.138, allocations: 11.76 MB / 0.7975 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/1.138, allocations: 56 kB / 0.7976 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02201/1.16, allocations: 10.57 MB / 0.8079 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002335/1.16, allocations: 92.22 kB / 0.808 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003423/1.161, allocations: 202 kB / 0.8082 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003004/1.161, allocations: 263.9 kB / 0.8084 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007583/1.168, allocations: 2.211 MB / 0.8106 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003909/1.169, allocations: 390.4 kB / 0.8109 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006367/1.175, allocations: 455.5 kB / 0.8114 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/1.177, allocations: 0.5455 MB / 0.8119 GB, free: 15.92 MB / 0.6232 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.006891/1.184, allocations: 3.14 MB / 0.815 GB, free: 12.77 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/1.185, allocations: 0.5355 MB / 0.8155 GB, free: 12.23 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006251/1.192, allocations: 2.995 MB / 0.8184 GB, free: 9.219 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.766e-05/1.192, allocations: 36 kB / 0.8185 GB, free: 9.184 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.192, allocations: 0 / 0.8185 GB, free: 9.184 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/1.192, allocations: 11.95 kB / 0.8185 GB, free: 9.172 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02386/1.216, allocations: 12.27 MB / 0.8305 GB, free: 12.42 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.931e-05/1.216, allocations: 32 kB / 0.8305 GB, free: 12.39 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/1.218, allocations: 0.5388 MB / 0.831 GB, free: 11.85 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-05/1.218, allocations: 52 kB / 0.8311 GB, free: 11.8 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.218, allocations: 95.98 kB / 0.8312 GB, free: 11.71 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-05/1.218, allocations: 63.78 kB / 0.8312 GB, free: 11.64 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.813e-05/1.218, allocations: 51.75 kB / 0.8313 GB, free: 11.59 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008162/1.226, allocations: 5.629 MB / 0.8368 GB, free: 5.434 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.228, allocations: 0.6105 MB / 0.8374 GB, free: 4.801 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006369/1.229, allocations: 87.98 kB / 0.8374 GB, free: 4.715 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.231, allocations: 139.9 kB / 0.8376 GB, free: 4.578 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/1.231, allocations: 279.1 kB / 0.8378 GB, free: 4.309 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/1.231, allocations: 124 kB / 0.838 GB, free: 4.188 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.006675/1.238, allocations: 3.569 MB / 0.8414 GB, free: 0.6484 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.164e-06/1.238, allocations: 0 / 0.8414 GB, free: 0.6484 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.008064/1.246, allocations: 1.413 MB / 0.8428 GB, free: 15.23 MB / 0.6544 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.0007669/1.247, allocations: 261.2 kB / 0.8431 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01134/1.258, allocations: 6.071 MB / 0.849 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-05/1.258, allocations: 8 kB / 0.849 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/1.261, allocations: 1.371 MB / 0.8504 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00589/1.267, allocations: 0.7525 MB / 0.8511 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2772/1.544, allocations: 15.18 MB / 0.8659 GB, free: 236.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008456/1.552, allocations: 4.748 MB / 0.8705 GB, free: 235.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001616/1.554, allocations: 451.9 kB / 0.871 GB, free: 235.3 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/1.554, allocations: 1.312 kB / 0.871 GB, free: 235.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.1064/1.661, allocations: 83.81 MB / 0.9528 GB, free: 168.8 MB / 0.6544 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.311307835043408]