Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.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_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_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.518/1.518, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008216/0.0008218, allocations: 86.62 kB / 261.7 MB, free: 1.676 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.1799/0.1799, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.362e-05/1.356e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09254, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3313/0.4239, allocations: 86.41 MB / 0.5503 GB, free: 8.391 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.4242, allocations: 85 kB / 0.5504 GB, free: 8.344 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01293/0.4371, allocations: 5.261 MB / 0.5555 GB, free: 4.348 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4372, allocations: 0 / 0.5555 GB, free: 4.348 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.4372, allocations: 3.938 kB / 0.5555 GB, free: 4.344 MB / 362.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.000401/0.4376, allocations: 404.9 kB / 0.5559 GB, free: 3.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4376, allocations: 8.031 kB / 0.5559 GB, free: 3.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.4377, allocations: 11.86 kB / 0.5559 GB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.4378, allocations: 176.4 kB / 0.5561 GB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4378, allocations: 4 kB / 0.5561 GB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.4379, allocations: 0 / 0.5561 GB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001204/0.438, allocations: 57.72 kB / 0.5562 GB, free: 3.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.313e-05/0.4381, allocations: 68.05 kB / 0.5562 GB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4381, allocations: 0 / 0.5562 GB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4381, allocations: 0 / 0.5562 GB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4381, allocations: 0 / 0.5562 GB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.4383, allocations: 175.9 kB / 0.5564 GB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.487e-05/0.4384, allocations: 56.88 kB / 0.5565 GB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.4385, allocations: 39.22 kB / 0.5565 GB, free: 3.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.655e-05/0.4385, allocations: 15.56 kB / 0.5565 GB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.4385, allocations: 34.44 kB / 0.5565 GB, free: 3.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.4385, allocations: 0 / 0.5565 GB, free: 3.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0207/0.4593, allocations: 1.849 MB / 0.5583 GB, free: 1.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.4593, allocations: 55.41 kB / 0.5584 GB, free: 1.438 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/0.4594, allocations: 114.3 kB / 0.5585 GB, free: 1.324 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.4595, allocations: 29.64 kB / 0.5585 GB, free: 1.289 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.4595, allocations: 87.8 kB / 0.5586 GB, free: 1.199 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.4596, allocations: 39.03 kB / 0.5587 GB, free: 1.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.4596, allocations: 4 kB / 0.5587 GB, free: 1.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.4596, allocations: 326 kB / 0.559 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.4598, allocations: 75.86 kB / 0.559 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.4599, allocations: 78.05 kB / 0.5591 GB, free: 0.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.4612, allocations: 245.4 kB / 0.5594 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4612, allocations: 0 / 0.5594 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00146/0.4627, allocations: 372.8 kB / 0.5597 GB, free: 252 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4627, allocations: 4 kB / 0.5597 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4627, allocations: 0 / 0.5597 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4627, allocations: 4 kB / 0.5597 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.4632, allocations: 75.19 kB / 0.5598 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4633, allocations: 3.984 kB / 0.5598 GB, free: 168 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.4637, allocations: 35.97 kB / 0.5598 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.4637, allocations: 11.92 kB / 0.5598 GB, free: 120 kB / 362.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 7.626e-05/0.4638, allocations: 108.9 kB / 0.5599 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.4639, allocations: 11.86 kB / 0.56 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.4656, allocations: 418.1 kB / 0.5603 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4657, allocations: 4 kB / 0.5604 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4657, allocations: 0 / 0.5604 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4657, allocations: 0 / 0.5604 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.4689, allocations: 0.8682 MB / 0.5612 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.469, allocations: 0 / 0.5612 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.4694, allocations: 67.97 kB / 0.5613 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.4695, allocations: 4 kB / 0.5613 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.4695, allocations: 7.984 kB / 0.5613 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4695, allocations: 0 / 0.5613 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.4695, allocations: 4 kB / 0.5613 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.4711, allocations: 0.5156 MB / 0.5618 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4713, allocations: 115.3 kB / 0.5619 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.4713, allocations: 0 / 0.5619 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.4717, allocations: 39.97 kB / 0.5619 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.4718, allocations: 7.984 kB / 0.5619 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.4718, allocations: 11.17 kB / 0.562 GB, free: 14.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.694e-05/0.4719, allocations: 90.53 kB / 0.562 GB, free: 14.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4719, allocations: 4 kB / 0.562 GB, free: 14.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006402/0.4725, allocations: 175 kB / 0.5622 GB, free: 13.84 MB / 378.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.00073/0.4733, allocations: 259.7 kB / 0.5625 GB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003295/0.4736, allocations: 177.9 kB / 0.5626 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4736, allocations: 4 kB / 0.5626 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.4738, allocations: 91.59 kB / 0.5627 GB, free: 13.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.474, allocations: 19.88 kB / 0.5627 GB, free: 13.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.476, allocations: 368.2 kB / 0.5631 GB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.4763, allocations: 0.7002 MB / 0.5638 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.4765, allocations: 48.61 kB / 0.5638 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.4767, allocations: 27.41 kB / 0.5638 GB, free: 12.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4767, allocations: 0 / 0.5638 GB, free: 12.25 MB / 378.7 MB Notification: Performance of Templates: time 0.009472/0.4862, allocations: 5.369 MB / 0.5691 GB, free: 6.891 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches