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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001461/0.001461, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001741/0.001741, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 78.08 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.0163/0.1371, allocations: 16.08 MB / 497.5 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.1487, allocations: 4.985 MB / 0.4907 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004081/0.1528, allocations: 99.75 kB / 0.4908 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.1637, allocations: 5.163 MB / 0.4959 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009993/0.1738, allocations: 2.458 MB / 0.4983 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.177, allocations: 1.186 MB / 0.4994 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2313/0.4083, allocations: 6.671 MB / 0.5059 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008845/0.4171, allocations: 6.325 MB / 0.5121 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005942/0.4231, allocations: 2.591 MB / 0.5147 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008106/0.4313, allocations: 3.665 MB / 0.5182 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004074/0.4354, allocations: 0.5713 MB / 0.5188 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006193/0.4416, allocations: 1.275 MB / 0.52 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007421/0.449, allocations: 3.204 MB / 0.5232 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008869/0.4579, allocations: 3.656 MB / 0.5267 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01484/0.4728, allocations: 11.08 MB / 0.5376 GB, free: 4.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4729, allocations: 4 kB / 0.5376 GB, free: 4.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.4729, allocations: 4 kB / 0.5376 GB, free: 4.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004435/0.4733, allocations: 0 / 0.5376 GB, free: 4.086 MB / 382.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.01479/0.4881, allocations: 7.574 MB / 0.545 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4882, allocations: 9.438 kB / 0.545 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009406/0.4976, allocations: 2.583 MB / 0.5475 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008326/0.5059, allocations: 3.59 MB / 0.551 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/0.5063, allocations: 435.2 kB / 0.5514 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/0.5076, allocations: 0.5502 MB / 0.552 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04083/0.5485, allocations: 19.75 MB / 0.5712 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002394/0.5487, allocations: 71.58 kB / 0.5713 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00109/0.5499, allocations: 269.3 kB / 0.5716 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004544/0.5544, allocations: 3.153 MB / 0.5746 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03605/0.5905, allocations: 15.85 MB / 0.5901 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07789/0.6684, allocations: 63.74 MB / 0.6524 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/0.6849, allocations: 6.322 MB / 0.6585 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003219/0.6882, allocations: 2.044 MB / 0.6605 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/0.7032, allocations: 9.17 MB / 0.6695 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.16e-05/0.7033, allocations: 62.72 kB / 0.6696 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=257): time 7.043e-06/0.7033, allocations: 0 / 0.6696 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=291): time 0.05518/0.7585, allocations: 21.38 MB / 0.6904 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.7586, allocations: 163.6 kB / 0.6906 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007794/0.7664, allocations: 5.748 MB / 0.6962 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004694/0.7669, allocations: 69.7 kB / 0.6963 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00328/0.7702, allocations: 4.834 MB / 0.701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001333/0.7715, allocations: 1.119 MB / 0.7021 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002367/0.7739, allocations: 1.809 MB / 0.7038 GB, free: 12.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.774, allocations: 305.1 kB / 0.7041 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004303/0.7784, allocations: 2.64 MB / 0.7067 GB, free: 9.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2078/0.9862, allocations: 8.189 MB / 0.7147 GB, free: 181.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/0.9996, allocations: 11.77 MB / 0.7262 GB, free: 172.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002321/0.9999, allocations: 54.91 kB / 0.7263 GB, free: 172.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02176/1.022, allocations: 10.54 MB / 0.7365 GB, free: 168.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000159/1.022, allocations: 90.61 kB / 0.7366 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002793/1.022, allocations: 195.2 kB / 0.7368 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003467/1.023, allocations: 264.7 kB / 0.7371 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00696/1.029, allocations: 2.209 MB / 0.7392 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003065/1.03, allocations: 387.2 kB / 0.7396 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005653/1.035, allocations: 458 kB / 0.74 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000986/1.036, allocations: 0.5449 MB / 0.7406 GB, free: 168.2 MB / 0.545 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.004677/1.041, allocations: 3.146 MB / 0.7436 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008025/1.042, allocations: 0.5041 MB / 0.7441 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/1.046, allocations: 2.994 MB / 0.7471 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.86e-05/1.046, allocations: 34.3 kB / 0.7471 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.046, allocations: 6.875 kB / 0.7471 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/1.046, allocations: 12.33 kB / 0.7471 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/1.062, allocations: 12.25 MB / 0.7591 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.537e-05/1.062, allocations: 32.69 kB / 0.7591 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.063, allocations: 0.5511 MB / 0.7596 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.804e-05/1.063, allocations: 44 kB / 0.7597 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.064, allocations: 97.86 kB / 0.7598 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.91e-05/1.064, allocations: 63.55 kB / 0.7598 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-05/1.064, allocations: 47.81 kB / 0.7599 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005197/1.069, allocations: 5.608 MB / 0.7654 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.07, allocations: 0.5822 MB / 0.7659 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000502/1.071, allocations: 97.11 kB / 0.766 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.072, allocations: 138.7 kB / 0.7662 GB, free: 153.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/1.073, allocations: 277.5 kB / 0.7664 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.073, allocations: 120.4 kB / 0.7665 GB, free: 153.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004528/1.077, allocations: 3.574 MB / 0.77 GB, free: 150.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/1.077, allocations: 0 / 0.77 GB, free: 150.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008167/1.086, allocations: 1.417 MB / 0.7714 GB, free: 149.2 MB / 0.545 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.0007376/1.086, allocations: 252.4 kB / 0.7716 GB, free: 148.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008125/1.094, allocations: 6.071 MB / 0.7776 GB, free: 143.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.932e-05/1.095, allocations: 4 kB / 0.7776 GB, free: 143.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/1.096, allocations: 1.372 MB / 0.7789 GB, free: 142.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/1.1, allocations: 0.7512 MB / 0.7797 GB, free: 141.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/1.117, allocations: 14.26 MB / 0.7936 GB, free: 127.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004115/1.121, allocations: 4.756 MB / 0.7982 GB, free: 123.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004739/1.126, allocations: 2.579 MB / 0.8007 GB, free: 120.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007645/1.127, allocations: 383.2 kB / 0.8011 GB, free: 120.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/1.127, allocations: 4 kB / 0.8011 GB, free: 120.2 MB / 0.545 GB Notification: Performance of Templates: time 0.06613/1.193, allocations: 38.31 MB / 0.8385 GB, free: 82.25 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches