Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009256/0.0009256, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2093/0.2093, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 64.73 kB / 408.5 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1179, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002845/0.1208, allocations: 1.646 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1221, allocations: 0.8763 MB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.1222, allocations: 0 / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.1224, allocations: 31.83 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.1226, allocations: 47.75 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.123, allocations: 134.7 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1232, allocations: 143.3 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.1232, allocations: 17.44 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.742e-05/0.1233, allocations: 63.7 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1234, allocations: 63.75 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1234, allocations: 4 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.1238, allocations: 211.6 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.1239, allocations: 39.83 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.1239, allocations: 59.61 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.1243, allocations: 243.4 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1243, allocations: 0 / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1243, allocations: 0 / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1243, allocations: 0 / 472.8 MB, free: 10.77 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.0005634/0.1248, allocations: 467 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1249, allocations: 12.03 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.126, allocations: 124.5 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1262, allocations: 228 kB / 473.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1262, allocations: 12.38 kB / 473.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.1263, allocations: 8.375 kB / 473.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006285/0.1269, allocations: 333.6 kB / 474 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1269, allocations: 3.938 kB / 474 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.127, allocations: 0 / 474 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.127, allocations: 23.98 kB / 474 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007521/0.1278, allocations: 319.7 kB / 474.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.1291, allocations: 0.8259 MB / 475.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.1299, allocations: 214.3 kB / 475.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.1301, allocations: 84.81 kB / 475.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1302, allocations: 7.984 kB / 475.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1302, allocations: 38.55 kB / 475.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1302, allocations: 0 / 475.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001024/0.1312, allocations: 289.3 kB / 475.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1313, allocations: 51.41 kB / 475.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.1315, allocations: 197.1 kB / 476 MB, free: 7.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1315, allocations: 29.7 kB / 476 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.1316, allocations: 143.5 kB / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.1316, allocations: 39.39 kB / 476.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.1317, allocations: 50.05 kB / 476.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1318, allocations: 322.8 kB / 476.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.1321, allocations: 83.91 kB / 476.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.1325, allocations: 134.8 kB / 476.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000596/0.1331, allocations: 226.5 kB / 477 MB, free: 6.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1331, allocations: 0 / 477 MB, free: 6.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007391/0.1338, allocations: 273.1 kB / 477.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1339, allocations: 8 kB / 477.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1339, allocations: 3.938 kB / 477.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1339, allocations: 7.938 kB / 477.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.1344, allocations: 83.86 kB / 477.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008886/0.1353, allocations: 1.785 MB / 479.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.1355, allocations: 19.86 kB / 479.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.1355, allocations: 15.98 kB / 479.2 MB, free: 4.004 MB / 350.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.0001407/0.1357, allocations: 149.9 kB / 479.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.1357, allocations: 15.75 kB / 479.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007683/0.1365, allocations: 262.8 kB / 479.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1365, allocations: 4 kB / 479.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.1365, allocations: 0 / 479.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1365, allocations: 4.078 kB / 479.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.1368, allocations: 261.4 kB / 479.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1368, allocations: 0 / 479.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.1372, allocations: 67.92 kB / 480 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1372, allocations: 7.938 kB / 480 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1372, allocations: 7.984 kB / 480 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.1382, allocations: 1.789 MB / 481.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1382, allocations: 0 / 481.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.1393, allocations: 319.3 kB / 482.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.1394, allocations: 85.02 kB / 482.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.949e-05/0.1395, allocations: 8 kB / 482.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.1398, allocations: 7.984 kB / 482.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.1399, allocations: 15.97 kB / 482.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.14, allocations: 7.984 kB / 482.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.1402, allocations: 147.9 kB / 482.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1402, allocations: 4 kB / 482.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006229/0.1408, allocations: 59.84 kB / 482.4 MB, free: 0.6445 MB / 350.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.0002891/0.1411, allocations: 111.2 kB / 482.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.1424, allocations: 259.6 kB / 482.8 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1425, allocations: 0 / 482.8 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007012/0.1432, allocations: 131.8 kB / 482.9 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.1437, allocations: 16.53 kB / 482.9 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1448, allocations: 381.4 kB / 483.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.1453, allocations: 0.7319 MB / 484 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003484/0.1456, allocations: 65.03 kB / 484.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.1458, allocations: 27.41 kB / 484.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1458, allocations: 0 / 484.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Templates: time 0.008849/0.1547, allocations: 2.809 MB / 486.9 MB, free: 12.11 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches