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.001071/0.001072, allocations: 187 kB / 18.09 MB, free: 3.723 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.409/1.409, allocations: 223.3 MB / 242.1 MB, free: 9.977 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.00081/0.00081, allocations: 97.22 kB / 293.3 MB, free: 10.57 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.3607/0.3607, allocations: 44.14 MB / 388.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003889, allocations: 12 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4421, allocations: 61.88 MB / 0.5107 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.56, allocations: 88.32 MB / 0.597 GB, free: 6.742 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.5603, allocations: 83.94 kB / 0.5971 GB, free: 6.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.575, allocations: 5.476 MB / 0.6024 GB, free: 1.184 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.575, allocations: 0 / 0.6024 GB, free: 1.184 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.575, allocations: 0 / 0.6024 GB, free: 1.184 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.0005382/0.5756, allocations: 427 kB / 0.6028 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.5756, allocations: 8.031 kB / 0.6028 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.5757, allocations: 8.844 kB / 0.6028 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.5758, allocations: 178.3 kB / 0.603 GB, free: 500 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.5758, allocations: 8.312 kB / 0.603 GB, free: 492 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.5759, allocations: 384 / 0.603 GB, free: 492 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.576, allocations: 66.23 kB / 0.6031 GB, free: 420 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5761, allocations: 192 / 0.6031 GB, free: 420 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.5761, allocations: 7.938 kB / 0.6031 GB, free: 412 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5761, allocations: 0 / 0.6031 GB, free: 412 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.5762, allocations: 59.97 kB / 0.6031 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.5764, allocations: 193.6 kB / 0.6033 GB, free: 108 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.456e-05/0.5765, allocations: 58.5 kB / 0.6034 GB, free: 40 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.346e-05/0.5766, allocations: 40.89 kB / 0.6034 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.444e-05/0.5767, allocations: 19.94 kB / 0.6034 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.5767, allocations: 30.56 kB / 0.6035 GB, free: 15.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 2.775e-06/0.5767, allocations: 4 kB / 0.6035 GB, free: 15.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.01714/0.5939, allocations: 1.627 MB / 0.6051 GB, free: 14.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.594, allocations: 55.39 kB / 0.6051 GB, free: 14.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.5941, allocations: 126.1 kB / 0.6052 GB, free: 14.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.5942, allocations: 25.7 kB / 0.6053 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.5942, allocations: 88.36 kB / 0.6053 GB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.5943, allocations: 43.45 kB / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.5943, allocations: 4 kB / 0.6054 GB, free: 13.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5944, allocations: 314.8 kB / 0.6057 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.5949, allocations: 135.9 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/0.5954, allocations: 131.9 kB / 0.6059 GB, free: 13.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.5965, allocations: 272.8 kB / 0.6062 GB, free: 13.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5965, allocations: 0 / 0.6062 GB, free: 13.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001158/0.5977, allocations: 321.3 kB / 0.6065 GB, free: 12.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5977, allocations: 8 kB / 0.6065 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5977, allocations: 4 kB / 0.6065 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5978, allocations: 0 / 0.6065 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.5983, allocations: 59.94 kB / 0.6066 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.5983, allocations: 7.938 kB / 0.6066 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.5986, allocations: 43.95 kB / 0.6066 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.5987, allocations: 4 kB / 0.6066 GB, free: 12.61 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.0001287/0.5988, allocations: 121.8 kB / 0.6067 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.5989, allocations: 11.84 kB / 0.6068 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.6002, allocations: 374 kB / 0.6071 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.6002, allocations: 0 / 0.6071 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6002, allocations: 0 / 0.6071 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6002, allocations: 0 / 0.6071 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.6029, allocations: 0.8487 MB / 0.6079 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.603, allocations: 0 / 0.6079 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.6034, allocations: 68.03 kB / 0.608 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.6034, allocations: 0 / 0.608 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.6034, allocations: 7.984 kB / 0.608 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6035, allocations: 4 kB / 0.608 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6035, allocations: 0 / 0.608 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.6047, allocations: 437.7 kB / 0.6084 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.6048, allocations: 105 kB / 0.6085 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.6048, allocations: 8 kB / 0.6085 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.6052, allocations: 35.97 kB / 0.6086 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.6053, allocations: 19.92 kB / 0.6086 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.6053, allocations: 7.984 kB / 0.6086 GB, free: 10.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.413e-05/0.6054, allocations: 101.6 kB / 0.6087 GB, free: 10.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6054, allocations: 0 / 0.6087 GB, free: 10.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000669/0.6061, allocations: 175.8 kB / 0.6089 GB, free: 10.2 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.0007997/0.6069, allocations: 272.3 kB / 0.6091 GB, free: 9.922 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.608, allocations: 291.7 kB / 0.6094 GB, free: 9.637 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.608, allocations: 0 / 0.6094 GB, free: 9.637 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005034/0.6085, allocations: 148 kB / 0.6096 GB, free: 9.492 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.6089, allocations: 30.66 kB / 0.6096 GB, free: 9.465 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.6111, allocations: 0.5402 MB / 0.6101 GB, free: 8.891 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.6114, allocations: 0.7005 MB / 0.6108 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002538/0.6117, allocations: 36.41 kB / 0.6108 GB, free: 8.129 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.6118, allocations: 27.41 kB / 0.6109 GB, free: 8.102 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6118, allocations: 0 / 0.6109 GB, free: 8.102 MB / 426.7 MB Notification: Performance of Templates: time 0.01374/0.6256, allocations: 7.751 MB / 0.6184 GB, free: 372 kB / 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/jenkins1/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