Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.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.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009955/0.001001, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.2 MB / 245.9 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.2111/0.2111, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 8 kB / 417.9 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1374, allocations: 63.46 MB / 481.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.0021/0.1396, allocations: 1.349 MB / 482.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.141, allocations: 0.8071 MB / 483.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.141, allocations: 0 / 483.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.1413, allocations: 27.84 kB / 483.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.1414, allocations: 35.88 kB / 483.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1418, allocations: 111.2 kB / 483.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.142, allocations: 91.8 kB / 483.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.1421, allocations: 17.38 kB / 483.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.1422, allocations: 43.84 kB / 483.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1423, allocations: 51.77 kB / 483.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1423, allocations: 4 kB / 483.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.1427, allocations: 199.7 kB / 484.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.478e-05/0.1428, allocations: 31.91 kB / 484.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.1429, allocations: 45.64 kB / 484.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.1432, allocations: 147.9 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1432, allocations: 3.938 kB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1432, allocations: 0 / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1432, allocations: 0 / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007186/0.1439, allocations: 462.8 kB / 484.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.144, allocations: 11.97 kB / 484.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.1451, allocations: 115.6 kB / 484.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1454, allocations: 222.8 kB / 485.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1454, allocations: 8 kB / 485.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.1455, allocations: 12 kB / 485.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006569/0.1461, allocations: 321.9 kB / 485.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1461, allocations: 0 / 485.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.1462, allocations: 7.984 kB / 485.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/0.1462, allocations: 19.98 kB / 485.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/0.147, allocations: 331.7 kB / 485.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.1486, allocations: 0.8492 MB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006919/0.1493, allocations: 218.3 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.1493, allocations: 3.938 kB / 486.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1493, allocations: 34.56 kB / 486.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1493, allocations: 4 kB / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009944/0.1503, allocations: 317.4 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1504, allocations: 55.34 kB / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1506, allocations: 180.8 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1506, allocations: 33.7 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.913e-05/0.1507, allocations: 135.5 kB / 487.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1508, allocations: 35.48 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.1508, allocations: 4 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1509, allocations: 322.8 kB / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.1512, allocations: 95.89 kB / 488.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.1516, allocations: 140.9 kB / 488.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.1519, allocations: 103.8 kB / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1519, allocations: 0 / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007202/0.1526, allocations: 281 kB / 488.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1526, allocations: 8 kB / 488.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1526, allocations: 0 / 488.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1527, allocations: 4 kB / 488.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.1532, allocations: 88.11 kB / 488.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.1542, allocations: 1.785 MB / 490.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.1544, allocations: 27.86 kB / 490.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.1545, allocations: 11.98 kB / 490.5 MB, free: 11.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.1546, allocations: 140.4 kB / 490.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.1547, allocations: 23.77 kB / 490.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009274/0.1556, allocations: 275.2 kB / 491 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1556, allocations: 4 kB / 491 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1556, allocations: 0 / 491 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1557, allocations: 3.984 kB / 491 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.156, allocations: 249.5 kB / 491.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.156, allocations: 7.938 kB / 491.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.1563, allocations: 75.86 kB / 491.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1563, allocations: 0 / 491.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.1564, allocations: 11.92 kB / 491.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009287/0.1573, allocations: 1.789 MB / 493.1 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1573, allocations: 4.031 kB / 493.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/0.158, allocations: 323.4 kB / 493.4 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.1581, allocations: 88.97 kB / 493.5 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.1581, allocations: 4 kB / 493.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.1584, allocations: 15.98 kB / 493.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.1584, allocations: 11.97 kB / 493.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.1585, allocations: 15.97 kB / 493.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1586, allocations: 140.9 kB / 493.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1586, allocations: 192 / 493.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.159, allocations: 63.84 kB / 493.7 MB, free: 8.504 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002431/0.1592, allocations: 139.1 kB / 493.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008255/0.1601, allocations: 240.1 kB / 494.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1601, allocations: 0 / 494.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.1606, allocations: 135.8 kB / 494.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1608, allocations: 12 kB / 494.3 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/0.1616, allocations: 435.3 kB / 494.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1619, allocations: 0.7436 MB / 495.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.1621, allocations: 65.36 kB / 495.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.748e-05/0.1622, allocations: 31.39 kB / 495.5 MB, free: 6.672 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1622, allocations: 4 kB / 495.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of Templates: time 0.00556/0.1678, allocations: 2.535 MB / 498.1 MB, free: 4.164 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches