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.001404/0.001404, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002415/0.002415, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 74.86 kB / 418.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1256, allocations: 62.45 MB / 480.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01716/0.1428, allocations: 16.07 MB / 496.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.1543, allocations: 4.991 MB / 0.49 GB, free: 164 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/0.1576, allocations: 99.75 kB / 0.4901 GB, free: 64 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009818/0.1675, allocations: 5.171 MB / 0.4951 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007505/0.175, allocations: 2.462 MB / 0.4975 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.1784, allocations: 1.182 MB / 0.4987 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00976/0.1882, allocations: 6.662 MB / 0.5052 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.257/0.4452, allocations: 6.33 MB / 0.5114 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0056/0.4509, allocations: 2.586 MB / 0.5139 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008571/0.4595, allocations: 3.66 MB / 0.5175 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003813/0.4634, allocations: 0.5734 MB / 0.518 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004544/0.4679, allocations: 1.275 MB / 0.5193 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005426/0.4734, allocations: 3.205 MB / 0.5224 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008091/0.4815, allocations: 3.66 MB / 0.526 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.4959, allocations: 10.72 MB / 0.5365 GB, free: 4.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.496, allocations: 0 / 0.5365 GB, free: 4.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.496, allocations: 0 / 0.5365 GB, free: 4.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005727/0.4966, allocations: 0 / 0.5365 GB, free: 4.242 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.0232/0.5198, allocations: 7.576 MB / 0.5439 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.5199, allocations: 9.438 kB / 0.5439 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.5321, allocations: 2.588 MB / 0.5464 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008814/0.5409, allocations: 3.524 MB / 0.5498 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005024/0.5415, allocations: 429.3 kB / 0.5502 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002516/0.544, allocations: 0.5579 MB / 0.5508 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04954/0.5936, allocations: 19.74 MB / 0.5701 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004609/0.5941, allocations: 75.23 kB / 0.5701 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002312/0.5964, allocations: 272.2 kB / 0.5704 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005636/0.6021, allocations: 3.143 MB / 0.5735 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0408/0.6429, allocations: 15.86 MB / 0.589 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0959/0.7389, allocations: 64.02 MB / 0.6515 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01925/0.7582, allocations: 6.326 MB / 0.6577 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003975/0.7622, allocations: 2.046 MB / 0.6597 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01826/0.7805, allocations: 9.175 MB / 0.6686 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/0.7806, allocations: 59.09 kB / 0.6687 GB, free: 108 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=257): time 6.142e-06/0.7806, allocations: 4 kB / 0.6687 GB, free: 104 kB / 0.4981 GB Notification: Performance of matching and sorting (n=291): time 0.06516/0.8458, allocations: 21.38 MB / 0.6896 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.8459, allocations: 155.5 kB / 0.6897 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01152/0.8574, allocations: 5.752 MB / 0.6953 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005084/0.858, allocations: 67.42 kB / 0.6954 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004269/0.8623, allocations: 4.836 MB / 0.7001 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001534/0.8638, allocations: 1.113 MB / 0.7012 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004816/0.8687, allocations: 1.816 MB / 0.703 GB, free: 12.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.8688, allocations: 306.2 kB / 0.7033 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005691/0.8745, allocations: 2.634 MB / 0.7058 GB, free: 9.988 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2437/1.118, allocations: 8.199 MB / 0.7138 GB, free: 181.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/1.132, allocations: 11.76 MB / 0.7253 GB, free: 173 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002089/1.132, allocations: 55.34 kB / 0.7254 GB, free: 173 MB / 0.545 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02474/1.157, allocations: 10.55 MB / 0.7357 GB, free: 169.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/1.157, allocations: 89.7 kB / 0.7358 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003347/1.158, allocations: 195.4 kB / 0.7359 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003893/1.158, allocations: 272.4 kB / 0.7362 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007564/1.166, allocations: 2.212 MB / 0.7384 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003738/1.166, allocations: 383 kB / 0.7387 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006669/1.173, allocations: 458.7 kB / 0.7392 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.174, allocations: 0.5432 MB / 0.7397 GB, free: 168.7 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.006149/1.18, allocations: 3.149 MB / 0.7428 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.181, allocations: 0.506 MB / 0.7433 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005087/1.186, allocations: 2.99 MB / 0.7462 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/1.186, allocations: 31.34 kB / 0.7462 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/1.186, allocations: 1.75 kB / 0.7462 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/1.186, allocations: 13.59 kB / 0.7462 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01969/1.206, allocations: 12.28 MB / 0.7582 GB, free: 160.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.614e-05/1.206, allocations: 32 kB / 0.7583 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/1.208, allocations: 0.5451 MB / 0.7588 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.37e-05/1.208, allocations: 48 kB / 0.7588 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/1.208, allocations: 97.25 kB / 0.7589 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.851e-05/1.208, allocations: 70.95 kB / 0.759 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.132e-05/1.208, allocations: 47.81 kB / 0.759 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005786/1.214, allocations: 5.599 MB / 0.7645 GB, free: 154.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.216, allocations: 0.586 MB / 0.7651 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007045/1.216, allocations: 100.4 kB / 0.7652 GB, free: 153.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/1.218, allocations: 136.8 kB / 0.7653 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/1.219, allocations: 272.5 kB / 0.7656 GB, free: 153.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/1.219, allocations: 121.1 kB / 0.7657 GB, free: 153.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006327/1.225, allocations: 3.576 MB / 0.7692 GB, free: 150.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.81e-07/1.225, allocations: 1.859 kB / 0.7692 GB, free: 150.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007944/1.233, allocations: 1.408 MB / 0.7705 GB, free: 149.1 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.0006725/1.234, allocations: 259.7 kB / 0.7708 GB, free: 148.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.244, allocations: 6.58 MB / 0.7772 GB, free: 143 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.446e-05/1.245, allocations: 4 kB / 0.7772 GB, free: 143 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/1.246, allocations: 1.38 MB / 0.7786 GB, free: 141.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004783/1.251, allocations: 0.7513 MB / 0.7793 GB, free: 141.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/1.277, allocations: 15.14 MB / 0.7941 GB, free: 126.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005632/1.282, allocations: 4.74 MB / 0.7987 GB, free: 121.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/1.284, allocations: 447.4 kB / 0.7991 GB, free: 121.2 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/1.284, allocations: 0 / 0.7991 GB, free: 121.2 MB / 0.545 GB Notification: Performance of Templates: time 0.1027/1.386, allocations: 82.83 MB / 0.88 GB, free: 38.51 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 -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