Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009887/0.0009888, allocations: 95.77 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3956/0.3956, allocations: 44.21 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 12 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4216, allocations: 61.9 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.5529, allocations: 88.33 MB / 0.5958 GB, free: 6.797 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.5533, allocations: 79.95 kB / 0.5959 GB, free: 6.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01519/0.5685, allocations: 5.507 MB / 0.6013 GB, free: 1.207 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5685, allocations: 0 / 0.6013 GB, free: 1.207 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.5685, allocations: 0 / 0.6013 GB, free: 1.207 MB / 410.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.000456/0.569, allocations: 418.9 kB / 0.6017 GB, free: 0.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5691, allocations: 12.03 kB / 0.6017 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.5691, allocations: 3.906 kB / 0.6017 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.5692, allocations: 181.1 kB / 0.6019 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5693, allocations: 3.953 kB / 0.6019 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.5693, allocations: 4 kB / 0.6019 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.5694, allocations: 69.61 kB / 0.6019 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.5695, allocations: 0 / 0.6019 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.5695, allocations: 0 / 0.6019 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5695, allocations: 0 / 0.6019 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.501e-05/0.5696, allocations: 59.97 kB / 0.602 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.5698, allocations: 193.5 kB / 0.6022 GB, free: 144 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.57, allocations: 54.52 kB / 0.6022 GB, free: 80 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.118e-05/0.57, allocations: 19.98 kB / 0.6022 GB, free: 60 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.5701, allocations: 42.56 kB / 0.6023 GB, free: 8 kB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.5701, allocations: 3.938 kB / 0.6023 GB, free: 4 kB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.01971/0.5898, allocations: 1.615 MB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.5899, allocations: 51.41 kB / 0.6039 GB, free: 14.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.59, allocations: 117.2 kB / 0.604 GB, free: 14.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.5901, allocations: 29.7 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.5901, allocations: 88.38 kB / 0.6041 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.5902, allocations: 43.36 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.5902, allocations: 0 / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5903, allocations: 322.8 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.5909, allocations: 131.9 kB / 0.6046 GB, free: 13.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/0.5914, allocations: 131.9 kB / 0.6047 GB, free: 13.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005685/0.592, allocations: 127.9 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.592, allocations: 7.953 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001146/0.5931, allocations: 321.4 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.5932, allocations: 13.34 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.5932, allocations: 3.984 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5932, allocations: 0 / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.5937, allocations: 63.94 kB / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5937, allocations: 0 / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.5941, allocations: 43.95 kB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.5942, allocations: 11.98 kB / 0.6053 GB, free: 12.83 MB / 426.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 () * Number of clocked 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.0001221/0.5943, allocations: 114.4 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.5943, allocations: 11.86 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.5957, allocations: 370 kB / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5957, allocations: 0 / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.5957, allocations: 0 / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5958, allocations: 4 kB / 0.6058 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.5986, allocations: 0.8332 MB / 0.6066 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.5986, allocations: 0 / 0.6066 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/0.5991, allocations: 72.02 kB / 0.6067 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.5991, allocations: 0 / 0.6067 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.5991, allocations: 7.938 kB / 0.6067 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5991, allocations: 0 / 0.6067 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5991, allocations: 11.97 kB / 0.6067 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.6004, allocations: 466.8 kB / 0.6071 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.6005, allocations: 109 kB / 0.6072 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.6006, allocations: 11.95 kB / 0.6072 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.601, allocations: 39.95 kB / 0.6073 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.601, allocations: 8.031 kB / 0.6073 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.6011, allocations: 19.92 kB / 0.6073 GB, free: 10.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.374e-05/0.6011, allocations: 105.2 kB / 0.6074 GB, free: 10.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6012, allocations: 0 / 0.6074 GB, free: 10.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006759/0.6018, allocations: 183.8 kB / 0.6076 GB, free: 10.36 MB / 426.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 () * Number of clocked 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.0006503/0.6025, allocations: 253.3 kB / 0.6078 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.6036, allocations: 300.3 kB / 0.6081 GB, free: 9.816 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6037, allocations: 0 / 0.6081 GB, free: 9.816 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005391/0.6042, allocations: 148 kB / 0.6083 GB, free: 9.672 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.6045, allocations: 20.14 kB / 0.6083 GB, free: 9.652 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.6069, allocations: 0.5403 MB / 0.6088 GB, free: 9.078 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.6072, allocations: 0.6965 MB / 0.6095 GB, free: 8.355 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000241/0.6075, allocations: 40.34 kB / 0.6095 GB, free: 8.316 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.6076, allocations: 31.41 kB / 0.6096 GB, free: 8.285 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6076, allocations: 192 / 0.6096 GB, free: 8.285 MB / 426.7 MB Notification: Performance of Templates: time 0.009008/0.6166, allocations: 5.648 MB / 0.6151 GB, free: 2.641 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches