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.001064/0.001064, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 77.62 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1433, allocations: 62.44 MB / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003673/0.147, allocations: 1.659 MB / 481.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1485, allocations: 0.9074 MB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.1486, allocations: 4 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.1488, allocations: 35.83 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.149, allocations: 47.73 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.1495, allocations: 139.5 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1496, allocations: 135.4 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.1497, allocations: 13.39 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.224e-05/0.1498, allocations: 63.7 kB / 483 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1499, allocations: 67.69 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1499, allocations: 4 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.1503, allocations: 215.6 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.1504, allocations: 35.83 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.361e-05/0.1505, allocations: 67.55 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.1508, allocations: 231.6 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1509, allocations: 3.938 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1509, allocations: 0 / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1509, allocations: 4 kB / 483.7 MB, free: 1.629 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.0006285/0.1515, allocations: 474.9 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1516, allocations: 8.031 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.1527, allocations: 116.5 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.153, allocations: 228 kB / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.153, allocations: 8.375 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.153, allocations: 16.36 kB / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.1537, allocations: 318.8 kB / 484.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1537, allocations: 4 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.1538, allocations: 7.984 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.1538, allocations: 19.98 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00075/0.1546, allocations: 327.6 kB / 485.2 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.156, allocations: 0.8259 MB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.1567, allocations: 210.3 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.157, allocations: 84.81 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.1571, allocations: 8 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.1571, allocations: 38.58 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1571, allocations: 0 / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.00103/0.1581, allocations: 297.1 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1582, allocations: 51.41 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1584, allocations: 187.3 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.1584, allocations: 33.7 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.1585, allocations: 135.5 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.1586, allocations: 51.38 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.1587, allocations: 49.61 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1588, allocations: 326.8 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.1591, allocations: 79.91 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.1595, allocations: 141 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006123/0.1601, allocations: 222.6 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1601, allocations: 0 / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007399/0.1608, allocations: 273.1 kB / 488.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1609, allocations: 8 kB / 488.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1609, allocations: 0 / 488.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1609, allocations: 7.938 kB / 488.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.1613, allocations: 79.86 kB / 488.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009572/0.1623, allocations: 1.786 MB / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.1625, allocations: 23.86 kB / 490 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.1626, allocations: 16.45 kB / 490 MB, free: 10.86 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.1627, allocations: 145.9 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.1628, allocations: 23.75 kB / 490.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007894/0.1636, allocations: 262.6 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1636, allocations: 4 kB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1636, allocations: 0 / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1636, allocations: 3.984 kB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.1639, allocations: 249.5 kB / 490.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1639, allocations: 0 / 490.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.1643, allocations: 67.92 kB / 490.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1643, allocations: 3.938 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.1643, allocations: 15.92 kB / 490.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009148/0.1653, allocations: 1.781 MB / 492.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1653, allocations: 3.984 kB / 492.6 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/0.166, allocations: 323.3 kB / 492.9 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.1661, allocations: 85.02 kB / 493 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.1661, allocations: 4 kB / 493 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.1663, allocations: 11.98 kB / 493 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.1664, allocations: 11.97 kB / 493 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.1664, allocations: 11.98 kB / 493 MB, free: 7.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1665, allocations: 139.9 kB / 493.2 MB, free: 7.574 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1665, allocations: 4 kB / 493.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.1669, allocations: 63.84 kB / 493.2 MB, free: 7.508 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002413/0.1671, allocations: 127.4 kB / 493.3 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008334/0.168, allocations: 251.6 kB / 493.6 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.168, allocations: 0 / 493.6 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004757/0.1685, allocations: 131.8 kB / 493.7 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.1688, allocations: 11.94 kB / 493.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007306/0.1695, allocations: 388.5 kB / 494.1 MB, free: 6.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1698, allocations: 0.7358 MB / 494.8 MB, free: 5.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.17, allocations: 65.03 kB / 494.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.1701, allocations: 27.41 kB / 494.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1701, allocations: 384 / 494.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of Templates: time 0.005965/0.1761, allocations: 2.803 MB / 497.7 MB, free: 2.969 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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