Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008341/0.0008342, allocations: 97.42 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1762/0.1762, allocations: 44.83 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002288/0.0002288, allocations: 8 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09072/0.09096, allocations: 62.96 MB / 0.5153 GB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2584/0.3494, allocations: 78.36 MB / 0.5918 GB, free: 15.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03307/0.3825, allocations: 15.83 MB / 0.6073 GB, free: 15.31 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01301/0.3956, allocations: 363.2 kB / 0.6077 GB, free: 14.95 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.4065, allocations: 4.148 MB / 0.6117 GB, free: 10.79 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02725/0.4338, allocations: 11.96 MB / 0.6234 GB, free: 14.79 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005156/0.439, allocations: 1.065 MB / 0.6244 GB, free: 13.72 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009541/0.4485, allocations: 7.904 MB / 0.6321 GB, free: 5.801 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0119/0.4605, allocations: 8.385 MB / 0.6403 GB, free: 13.35 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.464, allocations: 2.032 MB / 0.6423 GB, free: 11.31 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004426/0.4685, allocations: 3.342 MB / 0.6456 GB, free: 7.961 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.4697, allocations: 252 kB / 0.6458 GB, free: 7.715 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.4721, allocations: 0.8583 MB / 0.6467 GB, free: 6.855 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003048/0.4751, allocations: 2.871 MB / 0.6495 GB, free: 3.977 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.477, allocations: 1.341 MB / 0.6508 GB, free: 2.625 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008039/0.4851, allocations: 8.783 MB / 0.6593 GB, free: 9.82 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4851, allocations: 0 / 0.6593 GB, free: 9.82 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4851, allocations: 0 / 0.6593 GB, free: 9.82 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002606/0.4853, allocations: 0 / 0.6593 GB, free: 9.82 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01063/0.496, allocations: 6.39 MB / 0.6656 GB, free: 3.348 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.496, allocations: 11.97 kB / 0.6656 GB, free: 3.336 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009296/0.5053, allocations: 2.732 MB / 0.6683 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005948/0.5113, allocations: 3.514 MB / 0.6717 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/0.5116, allocations: 439.1 kB / 0.6721 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/0.5128, allocations: 0.566 MB / 0.6727 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03531/0.5481, allocations: 20.29 MB / 0.6925 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001747/0.5483, allocations: 71.39 kB / 0.6925 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000683/0.549, allocations: 271.8 kB / 0.6928 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004785/0.5538, allocations: 3.333 MB / 0.6961 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03452/0.5883, allocations: 16.28 MB / 0.712 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4209/1.009, allocations: 65.28 MB / 0.7757 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01504/1.024, allocations: 6.294 MB / 0.7819 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/1.028, allocations: 2.055 MB / 0.7839 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/1.042, allocations: 9.135 MB / 0.7928 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/1.042, allocations: 68.48 kB / 0.7928 GB, free: 104 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=257): time 7.023e-06/1.042, allocations: 0 / 0.7928 GB, free: 104 MB / 0.5105 GB Notification: Performance of matching and sorting (n=291): time 0.04524/1.087, allocations: 21.33 MB / 0.8137 GB, free: 82.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/1.087, allocations: 162.5 kB / 0.8138 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005862/1.093, allocations: 5.81 MB / 0.8195 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003294/1.094, allocations: 74.95 kB / 0.8196 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002443/1.096, allocations: 4.957 MB / 0.8244 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001052/1.097, allocations: 1.114 MB / 0.8255 GB, free: 70.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/1.097, allocations: 188 kB / 0.8257 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003616/1.098, allocations: 0.6948 MB / 0.8264 GB, free: 69.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/1.101, allocations: 2.591 MB / 0.8289 GB, free: 66.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005773/1.107, allocations: 8.205 MB / 0.8369 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005312/1.112, allocations: 4.472 MB / 0.8413 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.244e-05/1.112, allocations: 56 kB / 0.8413 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.0137/1.126, allocations: 10.5 MB / 0.8516 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/1.126, allocations: 88.22 kB / 0.8517 GB, free: 40.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/1.126, allocations: 204 kB / 0.8519 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/1.127, allocations: 292 kB / 0.8521 GB, free: 40.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005542/1.132, allocations: 2.215 MB / 0.8543 GB, free: 38.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002039/1.132, allocations: 398.4 kB / 0.8547 GB, free: 37.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004848/1.137, allocations: 447.4 kB / 0.8551 GB, free: 37.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005162/1.138, allocations: 0.5553 MB / 0.8556 GB, free: 36.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.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 (1192): * Single equations (assignments): 1189 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003899/1.142, allocations: 3.236 MB / 0.8588 GB, free: 33.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/1.142, allocations: 0.5129 MB / 0.8593 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/1.146, allocations: 2.957 MB / 0.8622 GB, free: 30.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/1.146, allocations: 32 kB / 0.8622 GB, free: 30 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.146, allocations: 0 / 0.8622 GB, free: 30 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/1.146, allocations: 23.89 kB / 0.8623 GB, free: 29.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/1.161, allocations: 12.44 MB / 0.8744 GB, free: 17.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.861e-05/1.161, allocations: 32 kB / 0.8744 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.163, allocations: 0.5422 MB / 0.875 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.134e-05/1.163, allocations: 48 kB / 0.875 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/1.163, allocations: 87.98 kB / 0.8751 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.097e-05/1.163, allocations: 67.72 kB / 0.8752 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-05/1.163, allocations: 47.81 kB / 0.8752 GB, free: 16.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/1.168, allocations: 5.525 MB / 0.8806 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.169, allocations: 0.5956 MB / 0.8812 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004437/1.17, allocations: 91.95 kB / 0.8813 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.172, allocations: 151.5 kB / 0.8814 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.172, allocations: 264.1 kB / 0.8817 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.172, allocations: 120.4 kB / 0.8818 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004196/1.176, allocations: 3.595 MB / 0.8853 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/1.176, allocations: 4 kB / 0.8853 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005808/1.182, allocations: 1.462 MB / 0.8867 GB, free: 3.891 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004511/1.182, allocations: 272.9 kB / 0.887 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008116/1.191, allocations: 5.923 MB / 0.8928 GB, free: 13.73 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/1.191, allocations: 8 kB / 0.8928 GB, free: 13.73 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/1.192, allocations: 1.336 MB / 0.8941 GB, free: 12.4 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003926/1.196, allocations: 0.7542 MB / 0.8948 GB, free: 11.64 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/1.22, allocations: 18.23 MB / 0.9126 GB, free: 8.945 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005148/1.225, allocations: 4.886 MB / 0.9174 GB, free: 4.035 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/1.226, allocations: 451.4 kB / 0.9178 GB, free: 3.594 MB / 0.5418 GB Notification: Performance of SimCode: time 7.11e-07/1.226, allocations: 0 / 0.9178 GB, free: 3.594 MB / 0.5418 GB Notification: Performance of Templates: time 0.3125/1.539, allocations: 84.06 MB / 0.9999 GB, free: 122.4 MB / 0.5418 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches