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.001666/0.001666, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002056/0.002056, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.337/2.337, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3921/0.3921, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 69.3 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1855, allocations: 62.45 MB / 480 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.004195/0.1897, allocations: 1.723 MB / 481.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.1919, allocations: 0.9231 MB / 482.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.393e-05/0.192, allocations: 0 / 482.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.1924, allocations: 31.83 kB / 482.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.1927, allocations: 39.81 kB / 482.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.1932, allocations: 123.6 kB / 482.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.1936, allocations: 191.2 kB / 483 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.1937, allocations: 9.453 kB / 483 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1938, allocations: 47.73 kB / 483 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.1939, allocations: 79.66 kB / 483.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.194, allocations: 4 kB / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004774/0.1945, allocations: 199.7 kB / 483.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1946, allocations: 47.77 kB / 483.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.683e-05/0.1947, allocations: 59.59 kB / 483.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.1951, allocations: 163.8 kB / 483.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.1951, allocations: 3.984 kB / 483.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1951, allocations: 0 / 483.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1951, allocations: 0 / 483.6 MB, free: 2.062 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.0008015/0.1959, allocations: 463 kB / 484 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.196, allocations: 12.88 kB / 484.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.1977, allocations: 112.5 kB / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.1981, allocations: 232 kB / 484.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.1981, allocations: 8.375 kB / 484.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.1982, allocations: 16.31 kB / 484.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/0.1991, allocations: 318.7 kB / 484.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1992, allocations: 0 / 484.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.1992, allocations: 8 kB / 484.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/0.1993, allocations: 35.89 kB / 484.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.2004, allocations: 319.7 kB / 485.1 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.2026, allocations: 0.822 MB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.2036, allocations: 218.4 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.204, allocations: 96.73 kB / 486.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.2041, allocations: 7.984 kB / 486.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2041, allocations: 30.56 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 6.011e-06/0.2042, allocations: 4 kB / 486.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.001514/0.2057, allocations: 293.2 kB / 486.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.2057, allocations: 51.41 kB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.206, allocations: 185 kB / 486.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.2061, allocations: 25.7 kB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.2062, allocations: 139.5 kB / 486.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.2063, allocations: 39.39 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.2064, allocations: 57.67 kB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2066, allocations: 322.8 kB / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.207, allocations: 83.89 kB / 487.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.2075, allocations: 138.7 kB / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008663/0.2084, allocations: 222.6 kB / 487.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.2084, allocations: 0 / 487.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00109/0.2095, allocations: 277.3 kB / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.2095, allocations: 6.75 kB / 488.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2095, allocations: 8.156 kB / 488.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.2096, allocations: 11.94 kB / 488.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.2102, allocations: 75.92 kB / 488.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.2117, allocations: 1.789 MB / 489.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.212, allocations: 23.83 kB / 490 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.2121, allocations: 11.98 kB / 490 MB, free: 11.3 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.0002385/0.2123, allocations: 138.3 kB / 490.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.2124, allocations: 19.75 kB / 490.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.2136, allocations: 266.8 kB / 490.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.2136, allocations: 4 kB / 490.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.2137, allocations: 0 / 490.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2137, allocations: 0 / 490.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/0.2142, allocations: 253.5 kB / 490.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2142, allocations: 4 kB / 490.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.2148, allocations: 75.86 kB / 490.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/0.2148, allocations: 3.938 kB / 490.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.2148, allocations: 11.98 kB / 490.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.2164, allocations: 1.781 MB / 492.5 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2164, allocations: 0 / 492.5 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.2174, allocations: 319.1 kB / 492.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.2175, allocations: 93.19 kB / 492.9 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.999e-05/0.2176, allocations: 0 / 492.9 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.218, allocations: 8.172 kB / 492.9 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.2181, allocations: 19.97 kB / 492.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.2182, allocations: 11.92 kB / 493 MB, free: 8.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000227/0.2184, allocations: 137.8 kB / 493.1 MB, free: 8.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2184, allocations: 0 / 493.1 MB, free: 8.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006761/0.2191, allocations: 63.84 kB / 493.2 MB, free: 7.949 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.0005168/0.2196, allocations: 127.2 kB / 493.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.2209, allocations: 232 kB / 493.5 MB, free: 7.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.221, allocations: 4 kB / 493.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006656/0.2216, allocations: 131.8 kB / 493.6 MB, free: 7.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.2221, allocations: 23.86 kB / 493.7 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.2233, allocations: 459.4 kB / 494.1 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.2238, allocations: 0.7397 MB / 494.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.224, allocations: 39.38 kB / 494.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.224, allocations: 0 / 494.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of Templates: time 0.0113/0.2353, allocations: 4.901 MB / 499.8 MB, free: 1.246 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/jenkins1/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/jenkins1/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