Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002438/0.002438, allocations: 171 kB / 8.144 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 88.86 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2619/0.2619, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.616e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.278, allocations: 58.84 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.4523, allocations: 86.34 MB / 0.5497 GB, free: 12.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.4527, allocations: 75.89 kB / 0.5498 GB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02489/0.4776, allocations: 4.978 MB / 0.5546 GB, free: 7.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.4777, allocations: 0 / 0.5546 GB, free: 7.691 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005532/0.4782, allocations: 406.1 kB / 0.555 GB, free: 7.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4783, allocations: 8.031 kB / 0.555 GB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.4783, allocations: 11.81 kB / 0.555 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.4785, allocations: 172.7 kB / 0.5552 GB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4786, allocations: 7.906 kB / 0.5552 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.4786, allocations: 4 kB / 0.5552 GB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001719/0.4788, allocations: 51.98 kB / 0.5553 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.4789, allocations: 69.55 kB / 0.5553 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4789, allocations: 0 / 0.5553 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.479, allocations: 0 / 0.5553 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.479, allocations: 0 / 0.5553 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.4792, allocations: 174.1 kB / 0.5555 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.4793, allocations: 50.56 kB / 0.5555 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.764e-05/0.4794, allocations: 40.86 kB / 0.5556 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.33e-05/0.4795, allocations: 28.19 kB / 0.5556 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.4796, allocations: 30.56 kB / 0.5556 GB, free: 6.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.4796, allocations: 3.938 kB / 0.5556 GB, free: 6.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.04447/0.5241, allocations: 1.915 MB / 0.5575 GB, free: 4.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.5241, allocations: 51.41 kB / 0.5575 GB, free: 4.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.5243, allocations: 114.7 kB / 0.5577 GB, free: 4.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.5243, allocations: 25.7 kB / 0.5577 GB, free: 4.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.5244, allocations: 154.8 kB / 0.5578 GB, free: 4.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.417e-05/0.5245, allocations: 39.39 kB / 0.5579 GB, free: 4.152 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.5246, allocations: 0 / 0.5579 GB, free: 4.152 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5247, allocations: 314.8 kB / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.525, allocations: 75.98 kB / 0.5582 GB, free: 3.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.5253, allocations: 79.92 kB / 0.5583 GB, free: 3.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/0.5281, allocations: 255.7 kB / 0.5586 GB, free: 3.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5282, allocations: 0 / 0.5586 GB, free: 3.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.003281/0.5315, allocations: 393.2 kB / 0.5589 GB, free: 3.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.5315, allocations: 4 kB / 0.5589 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.5315, allocations: 4 kB / 0.5589 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5316, allocations: 0 / 0.5589 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.5327, allocations: 63.94 kB / 0.559 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.5327, allocations: 240 / 0.559 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008794/0.5336, allocations: 43.95 kB / 0.559 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.5337, allocations: 4 kB / 0.5591 GB, free: 2.926 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.5338, allocations: 31.02 kB / 0.5591 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.5338, allocations: 19.84 kB / 0.5591 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/0.5376, allocations: 449.6 kB / 0.5595 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.5377, allocations: 8 kB / 0.5595 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5377, allocations: 0 / 0.5595 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.5377, allocations: 0 / 0.5595 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006691/0.5444, allocations: 0.8878 MB / 0.5604 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.5445, allocations: 0 / 0.5604 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.5455, allocations: 64.03 kB / 0.5605 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.5456, allocations: 4 kB / 0.5605 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.5456, allocations: 11.98 kB / 0.5605 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.5456, allocations: 3.984 kB / 0.5605 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5456, allocations: 0 / 0.5605 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00338/0.549, allocations: 0.5221 MB / 0.561 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.5493, allocations: 109 kB / 0.5611 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.5493, allocations: 4 kB / 0.5611 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009415/0.5503, allocations: 43.86 kB / 0.5611 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.5503, allocations: 8 kB / 0.5611 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.557e-05/0.5504, allocations: 15.98 kB / 0.5612 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001033/0.5505, allocations: 88.41 kB / 0.5612 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008466/0.5514, allocations: 179.8 kB / 0.5614 GB, free: 380 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009948/0.5524, allocations: 262.8 kB / 0.5617 GB, free: 108 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006725/0.5531, allocations: 172 kB / 0.5618 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5531, allocations: 0 / 0.5618 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.5534, allocations: 91.91 kB / 0.5619 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.5538, allocations: 21.08 kB / 0.5619 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.5582, allocations: 443.3 kB / 0.5624 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006265/0.5589, allocations: 0.7464 MB / 0.5631 GB, free: 14.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5589, allocations: 0 / 0.5631 GB, free: 14.59 MB / 410.7 MB Notification: Performance of Templates: time 0.01198/0.5709, allocations: 4.493 MB / 0.5675 GB, free: 10.08 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches