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.001079/0.001079, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.312/1.312, allocations: 221.4 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009023/0.0009025, allocations: 98.88 kB / 287 MB, free: 272 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 44.15 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.359e-05/2.368e-05, allocations: 8.203 kB / 451.8 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1235, allocations: 61.91 MB / 0.5017 GB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.5371, allocations: 88.24 MB / 0.5879 GB, free: 1.133 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.5373, allocations: 75.95 kB / 0.588 GB, free: 1.059 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01436/0.5517, allocations: 5.478 MB / 0.5933 GB, free: 11.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5517, allocations: 0 / 0.5933 GB, free: 11.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.5518, allocations: 4 kB / 0.5933 GB, free: 11.59 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.0003691/0.5521, allocations: 410.1 kB / 0.5937 GB, free: 11.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5522, allocations: 12.03 kB / 0.5937 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.5522, allocations: 4 kB / 0.5937 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.5524, allocations: 176.5 kB / 0.5939 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.5524, allocations: 7.953 kB / 0.5939 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.5524, allocations: 8 kB / 0.5939 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.5525, allocations: 65.66 kB / 0.594 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5526, allocations: 0 / 0.594 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.5526, allocations: 0 / 0.594 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5526, allocations: 4 kB / 0.594 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.27e-05/0.5527, allocations: 59.97 kB / 0.594 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.5529, allocations: 193.5 kB / 0.5942 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.316e-05/0.553, allocations: 62.45 kB / 0.5943 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.553, allocations: 45.09 kB / 0.5943 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.5531, allocations: 19.97 kB / 0.5943 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.5531, allocations: 34.56 kB / 0.5944 GB, free: 10.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.5531, allocations: 0 / 0.5944 GB, free: 10.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.01814/0.5713, allocations: 1.412 MB / 0.5957 GB, free: 8.906 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.5713, allocations: 55.41 kB / 0.5958 GB, free: 8.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.5714, allocations: 114 kB / 0.5959 GB, free: 8.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.5715, allocations: 29.64 kB / 0.5959 GB, free: 8.684 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.5715, allocations: 92.38 kB / 0.596 GB, free: 8.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.5716, allocations: 39.39 kB / 0.5961 GB, free: 8.547 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/0.5716, allocations: 7.938 kB / 0.5961 GB, free: 8.539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5717, allocations: 322.8 kB / 0.5964 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.5719, allocations: 75.98 kB / 0.5964 GB, free: 8.141 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.572, allocations: 78.61 kB / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.5722, allocations: 75.86 kB / 0.5966 GB, free: 7.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.5722, allocations: 0 / 0.5966 GB, free: 7.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004086/0.5727, allocations: 213.5 kB / 0.5968 GB, free: 7.777 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5727, allocations: 4 kB / 0.5968 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5727, allocations: 0 / 0.5968 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5727, allocations: 3.984 kB / 0.5968 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.5732, allocations: 63.94 kB / 0.5969 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5732, allocations: 4 kB / 0.5969 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.5736, allocations: 39.97 kB / 0.5969 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.5737, allocations: 7.984 kB / 0.5969 GB, free: 7.656 MB / 410.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 8.919e-05/0.5738, allocations: 116.9 kB / 0.597 GB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.5738, allocations: 11.91 kB / 0.597 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005695/0.5744, allocations: 258.6 kB / 0.5973 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5744, allocations: 0 / 0.5973 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5744, allocations: 0 / 0.5973 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5744, allocations: 3.984 kB / 0.5973 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.5764, allocations: 0.7355 MB / 0.598 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5765, allocations: 0 / 0.598 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/0.5769, allocations: 71.97 kB / 0.5981 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.5769, allocations: 4 kB / 0.5981 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.577, allocations: 11.98 kB / 0.5981 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.577, allocations: 0 / 0.5981 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.577, allocations: 4.094 kB / 0.5981 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.5775, allocations: 355.5 kB / 0.5984 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.5776, allocations: 101 kB / 0.5985 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.5776, allocations: 11.95 kB / 0.5985 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.578, allocations: 39.95 kB / 0.5986 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.5781, allocations: 12 kB / 0.5986 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.5781, allocations: 7.984 kB / 0.5986 GB, free: 5.801 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.284e-05/0.5782, allocations: 97.52 kB / 0.5987 GB, free: 5.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.573e-06/0.5782, allocations: 0 / 0.5987 GB, free: 5.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005488/0.5787, allocations: 187.7 kB / 0.5989 GB, free: 5.523 MB / 410.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.0005981/0.5793, allocations: 262.9 kB / 0.5991 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003473/0.5797, allocations: 179.9 kB / 0.5993 GB, free: 5.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5797, allocations: 0 / 0.5993 GB, free: 5.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.5799, allocations: 99.97 kB / 0.5994 GB, free: 4.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.5801, allocations: 17.88 kB / 0.5994 GB, free: 4.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.582, allocations: 379.5 kB / 0.5998 GB, free: 4.566 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.5823, allocations: 0.7004 MB / 0.6004 GB, free: 3.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.5825, allocations: 44.53 kB / 0.6005 GB, free: 3.797 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.5827, allocations: 27.41 kB / 0.6005 GB, free: 3.77 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5827, allocations: 0 / 0.6005 GB, free: 3.77 MB / 410.7 MB Notification: Performance of Templates: time 0.008626/0.5913, allocations: 5.679 MB / 0.6061 GB, free: 14.1 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