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.001399/0.001399, allocations: 105.1 kB / 18.45 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001628/0.001628, allocations: 210.8 kB / 19.41 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.387, allocations: 62.43 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01797/0.405, allocations: 16.1 MB / 0.5474 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.4186, allocations: 4.982 MB / 0.5522 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004276/0.4229, allocations: 99.75 kB / 0.5523 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01026/0.4332, allocations: 5.167 MB / 0.5574 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008222/0.4415, allocations: 2.461 MB / 0.5598 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.4449, allocations: 1.178 MB / 0.5609 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.4555, allocations: 6.658 MB / 0.5674 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.4657, allocations: 6.332 MB / 0.5736 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005275/0.471, allocations: 2.594 MB / 0.5762 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006398/0.4775, allocations: 3.665 MB / 0.5797 GB, free: 496 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002432/0.4799, allocations: 0.5704 MB / 0.5803 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004171/0.4841, allocations: 1.276 MB / 0.5815 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004839/0.489, allocations: 3.222 MB / 0.5847 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007401/0.4964, allocations: 3.655 MB / 0.5883 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01455/0.511, allocations: 11.09 MB / 0.5991 GB, free: 12.6 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.511, allocations: 4 kB / 0.5991 GB, free: 12.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5111, allocations: 0 / 0.5991 GB, free: 12.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000468/0.5115, allocations: 0 / 0.5991 GB, free: 12.59 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.01879/0.5303, allocations: 7.571 MB / 0.6065 GB, free: 4.945 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.5304, allocations: 11.97 kB / 0.6065 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.5416, allocations: 2.589 MB / 0.609 GB, free: 2.332 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008021/0.5497, allocations: 3.584 MB / 0.6125 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004473/0.5502, allocations: 431.3 kB / 0.6129 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002287/0.5525, allocations: 0.5659 MB / 0.6135 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04532/0.5978, allocations: 19.74 MB / 0.6328 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003373/0.5982, allocations: 75.33 kB / 0.6328 GB, free: 8.754 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001982/0.6002, allocations: 271.8 kB / 0.6331 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005301/0.6055, allocations: 3.146 MB / 0.6362 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03789/0.6434, allocations: 15.86 MB / 0.6517 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08547/0.7289, allocations: 63.73 MB / 0.7139 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5669/1.296, allocations: 6.313 MB / 0.7201 GB, free: 162.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003082/1.299, allocations: 2.088 MB / 0.7221 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01289/1.312, allocations: 9.183 MB / 0.7311 GB, free: 157.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/1.312, allocations: 62.12 kB / 0.7311 GB, free: 157.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 5.009e-06/1.312, allocations: 3.844 kB / 0.7311 GB, free: 157.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05492/1.367, allocations: 21.37 MB / 0.752 GB, free: 145.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/1.367, allocations: 158.5 kB / 0.7522 GB, free: 145.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00667/1.374, allocations: 5.755 MB / 0.7578 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000501/1.374, allocations: 73.58 kB / 0.7578 GB, free: 139.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002093/1.376, allocations: 4.833 MB / 0.7626 GB, free: 134.7 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008966/1.377, allocations: 1.108 MB / 0.7636 GB, free: 133.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001709/1.379, allocations: 1.817 MB / 0.7654 GB, free: 131.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/1.379, allocations: 301.1 kB / 0.7657 GB, free: 131.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003477/1.383, allocations: 2.641 MB / 0.7683 GB, free: 128.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005611/1.388, allocations: 8.196 MB / 0.7763 GB, free: 117.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/1.398, allocations: 11.76 MB / 0.7878 GB, free: 103.4 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/1.398, allocations: 56 kB / 0.7878 GB, free: 103.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01684/1.415, allocations: 10.54 MB / 0.7981 GB, free: 92.81 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/1.415, allocations: 88 kB / 0.7982 GB, free: 92.72 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002465/1.416, allocations: 205 kB / 0.7984 GB, free: 92.52 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/1.416, allocations: 260 kB / 0.7987 GB, free: 92.27 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006634/1.423, allocations: 2.215 MB / 0.8008 GB, free: 90.05 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002622/1.423, allocations: 382.5 kB / 0.8012 GB, free: 89.68 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00764/1.431, allocations: 455.5 kB / 0.8016 GB, free: 89.23 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00169/1.432, allocations: 0.543 MB / 0.8021 GB, free: 88.69 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.005806/1.438, allocations: 3.148 MB / 0.8052 GB, free: 85.53 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/1.439, allocations: 0.511 MB / 0.8057 GB, free: 85.01 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005476/1.445, allocations: 2.986 MB / 0.8086 GB, free: 82.01 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-05/1.445, allocations: 43.45 kB / 0.8087 GB, free: 81.97 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/1.445, allocations: 0 / 0.8087 GB, free: 81.97 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/1.445, allocations: 11.95 kB / 0.8087 GB, free: 81.96 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.021/1.466, allocations: 12.25 MB / 0.8206 GB, free: 69.23 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.719e-05/1.466, allocations: 32 kB / 0.8207 GB, free: 69.2 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/1.468, allocations: 0.5504 MB / 0.8212 GB, free: 68.65 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.303e-05/1.468, allocations: 48 kB / 0.8213 GB, free: 68.61 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/1.468, allocations: 91.98 kB / 0.8213 GB, free: 68.52 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.08e-05/1.468, allocations: 63.73 kB / 0.8214 GB, free: 68.45 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.199e-05/1.468, allocations: 51.8 kB / 0.8215 GB, free: 68.4 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006172/1.474, allocations: 5.613 MB / 0.8269 GB, free: 62.25 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.476, allocations: 0.5802 MB / 0.8275 GB, free: 61.64 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00076/1.477, allocations: 91.97 kB / 0.8276 GB, free: 61.55 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002086/1.479, allocations: 135.5 kB / 0.8277 GB, free: 61.43 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/1.479, allocations: 279.8 kB / 0.828 GB, free: 61.16 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.479, allocations: 120 kB / 0.8281 GB, free: 61.04 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005134/1.484, allocations: 3.573 MB / 0.8316 GB, free: 57.5 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.21e-07/1.484, allocations: 0 / 0.8316 GB, free: 57.5 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007305/1.492, allocations: 1.41 MB / 0.833 GB, free: 56.09 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.0006457/1.492, allocations: 263.5 kB / 0.8332 GB, free: 55.83 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0091/1.501, allocations: 6.072 MB / 0.8392 GB, free: 49.81 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.969e-05/1.502, allocations: 8 kB / 0.8392 GB, free: 49.8 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/1.504, allocations: 1.372 MB / 0.8405 GB, free: 48.44 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004719/1.508, allocations: 0.7562 MB / 0.8412 GB, free: 47.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/1.532, allocations: 14.95 MB / 0.8558 GB, free: 32.29 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005107/1.537, allocations: 4.756 MB / 0.8605 GB, free: 27.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.538, allocations: 447.4 kB / 0.8609 GB, free: 27.06 MB / 0.5607 GB Notification: Performance of SimCode: time 9.01e-07/1.538, allocations: 0 / 0.8609 GB, free: 27.06 MB / 0.5607 GB Notification: Performance of Templates: time 0.1234/1.662, allocations: 83.8 MB / 0.9428 GB, free: 7.352 MB / 0.6232 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 -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