Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000913/0.000913, allocations: 192.8 kB / 7.807 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.013/1.013, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008943/0.0008943, allocations: 98.22 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1483/0.1483, allocations: 43.49 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.74e-06/5.761e-06, allocations: 0 / 417.7 MB, free: 40.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2228, allocations: 58.84 MB / 476.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.3241, allocations: 88.62 MB / 0.552 GB, free: 10.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.3244, allocations: 87.94 kB / 0.552 GB, free: 10.22 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd: time 0.02065/0.3451, allocations: 7.404 MB / 0.5593 GB, free: 2.789 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.3451, allocations: 4 kB / 0.5593 GB, free: 2.785 MB / 394.7 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.000433/0.3456, allocations: 457.2 kB / 0.5597 GB, free: 2.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.3456, allocations: 8.031 kB / 0.5597 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006834/0.3463, allocations: 95.64 kB / 0.5598 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.3465, allocations: 222.8 kB / 0.56 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3465, allocations: 4 kB / 0.56 GB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.3466, allocations: 11.94 kB / 0.56 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003977/0.347, allocations: 291.8 kB / 0.5603 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.3473, allocations: 269.4 kB / 0.5606 GB, free: 1.367 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3474, allocations: 4 kB / 0.5606 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.3474, allocations: 0 / 0.5606 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.3474, allocations: 23.98 kB / 0.5606 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.3488, allocations: 0.7952 MB / 0.5614 GB, free: 476 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.349, allocations: 202.4 kB / 0.5616 GB, free: 264 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3492, allocations: 68.84 kB / 0.5616 GB, free: 192 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.3492, allocations: 12 kB / 0.5616 GB, free: 180 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.3492, allocations: 34.55 kB / 0.5617 GB, free: 136 kB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.3492, allocations: 0 / 0.5617 GB, free: 136 kB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003696/0.3496, allocations: 185.7 kB / 0.5619 GB, free: 15.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.3496, allocations: 51.41 kB / 0.5619 GB, free: 15.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.3497, allocations: 129 kB / 0.562 GB, free: 15.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3498, allocations: 25.7 kB / 0.5621 GB, free: 15.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.3498, allocations: 143.8 kB / 0.5622 GB, free: 15.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.3499, allocations: 35.56 kB / 0.5622 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.3499, allocations: 0 / 0.5622 GB, free: 15.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.35, allocations: 322.7 kB / 0.5625 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.3501, allocations: 67.94 kB / 0.5626 GB, free: 15.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.3502, allocations: 126.7 kB / 0.5627 GB, free: 15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3504, allocations: 79.92 kB / 0.5628 GB, free: 14.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3504, allocations: 0 / 0.5628 GB, free: 14.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003506/0.3507, allocations: 233.3 kB / 0.563 GB, free: 14.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3508, allocations: 12.22 kB / 0.563 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3508, allocations: 0 / 0.563 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.3508, allocations: 4 kB / 0.563 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.3513, allocations: 75.91 kB / 0.5631 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008222/0.3521, allocations: 1.805 MB / 0.5649 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.3523, allocations: 28.14 kB / 0.5649 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.3524, allocations: 19.92 kB / 0.5649 GB, free: 12.68 MB / 410.7 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 () * 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 9.089e-05/0.3525, allocations: 104.9 kB / 0.565 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.3525, allocations: 11.91 kB / 0.565 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.353, allocations: 241.8 kB / 0.5653 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.353, allocations: 4 kB / 0.5653 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.353, allocations: 0 / 0.5653 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.353, allocations: 7.984 kB / 0.5653 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.3533, allocations: 222 kB / 0.5655 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3533, allocations: 0 / 0.5655 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.3537, allocations: 75.91 kB / 0.5655 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3537, allocations: 0 / 0.5655 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.3537, allocations: 11.92 kB / 0.5656 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008255/0.3545, allocations: 1.797 MB / 0.5673 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3546, allocations: 8 kB / 0.5673 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003166/0.3549, allocations: 287.2 kB / 0.5676 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.3549, allocations: 88.95 kB / 0.5677 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.355, allocations: 0 / 0.5677 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.3552, allocations: 11.98 kB / 0.5677 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.3552, allocations: 15.97 kB / 0.5677 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.3553, allocations: 7.984 kB / 0.5677 GB, free: 9.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.659e-05/0.3553, allocations: 107.2 kB / 0.5678 GB, free: 9.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.3557, allocations: 67.75 kB / 0.5679 GB, free: 9.484 MB / 410.7 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 () * 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.0002586/0.356, allocations: 151.3 kB / 0.568 GB, free: 9.324 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005034/0.3565, allocations: 207.7 kB / 0.5682 GB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3565, allocations: 0 / 0.5682 GB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.3568, allocations: 119.9 kB / 0.5683 GB, free: 9.004 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.357, allocations: 7.859 kB / 0.5683 GB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.3575, allocations: 259.6 kB / 0.5686 GB, free: 8.715 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/0.3579, allocations: 0.7854 MB / 0.5694 GB, free: 7.902 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3579, allocations: 0 / 0.5694 GB, free: 7.902 MB / 410.7 MB Notification: Performance of Templates: time 0.005466/0.3634, allocations: 3.216 MB / 0.5725 GB, free: 4.695 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches