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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 97.06 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 174.2 kB / 16.56 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3039/0.3039, allocations: 43.55 MB / 314.5 MB, free: 9.051 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004619, allocations: 12 kB / 383.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1101, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001408/0.1116, allocations: 1.137 MB / 443.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1132, allocations: 1.287 MB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.1133, allocations: 0 / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.1134, allocations: 31.81 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.1135, allocations: 43.88 kB / 445.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.1139, allocations: 163.5 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.114, allocations: 35.94 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.114, allocations: 7.984 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.743e-05/0.1141, allocations: 27.86 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.1141, allocations: 23.86 kB / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1142, allocations: 8 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.1146, allocations: 307.6 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.1146, allocations: 11.92 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.1147, allocations: 33.7 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.115, allocations: 183.9 kB / 446 MB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.115, allocations: 0 / 446 MB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.115, allocations: 0 / 446 MB, free: 9.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.115, allocations: 3.938 kB / 446 MB, free: 9.984 MB / 382.1 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.0004494/0.1154, allocations: 419 kB / 446.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1155, allocations: 12.03 kB / 446.5 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.1155, allocations: 7.859 kB / 446.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1156, allocations: 175 kB / 446.6 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1157, allocations: 4 kB / 446.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.1157, allocations: 4 kB / 446.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.1158, allocations: 61.69 kB / 446.7 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1158, allocations: 0 / 446.7 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1158, allocations: 0 / 446.7 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.1159, allocations: 7.938 kB / 446.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.902e-05/0.1159, allocations: 59.91 kB / 446.8 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.1161, allocations: 193.5 kB / 447 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.519e-05/0.1162, allocations: 50.56 kB / 447 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/0.1163, allocations: 19.98 kB / 447 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.1163, allocations: 34.56 kB / 447.1 MB, free: 8.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.1163, allocations: 0 / 447.1 MB, free: 8.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02035/0.1367, allocations: 1.704 MB / 448.8 MB, free: 7.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.1367, allocations: 51.41 kB / 448.8 MB, free: 7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1369, allocations: 137.8 kB / 449 MB, free: 6.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1369, allocations: 29.64 kB / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.1369, allocations: 92.14 kB / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.137, allocations: 35.45 kB / 449.1 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.137, allocations: 4 kB / 449.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1371, allocations: 322.8 kB / 449.4 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.1378, allocations: 208 kB / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.1385, allocations: 208.2 kB / 449.8 MB, free: 5.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/0.1392, allocations: 192.6 kB / 450 MB, free: 5.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-06/0.1392, allocations: 0 / 450 MB, free: 5.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001475/0.1407, allocations: 487.3 kB / 450.5 MB, free: 5.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1407, allocations: 4 kB / 450.5 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1407, allocations: 4 kB / 450.5 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1408, allocations: 4 kB / 450.5 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.1413, allocations: 79.78 kB / 450.6 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1414, allocations: 8 kB / 450.6 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.1418, allocations: 39.95 kB / 450.6 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.1419, allocations: 15.97 kB / 450.6 MB, free: 5.141 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001153/0.142, allocations: 126 kB / 450.8 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.142, allocations: 7.812 kB / 450.8 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.1435, allocations: 401.9 kB / 451.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1436, allocations: 4 kB / 451.2 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1436, allocations: 7.891 kB / 451.2 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1436, allocations: 3.984 kB / 451.2 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/0.1466, allocations: 0.8129 MB / 452 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1466, allocations: 0 / 452 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.1472, allocations: 79.98 kB / 452.1 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1472, allocations: 3.953 kB / 452.1 MB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.1472, allocations: 19.97 kB / 452.1 MB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1472, allocations: 0 / 452.1 MB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1472, allocations: 0 / 452.1 MB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.1486, allocations: 490.8 kB / 452.6 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1487, allocations: 109 kB / 452.7 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.1488, allocations: 4 kB / 452.7 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/0.1493, allocations: 43.97 kB / 452.7 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.1493, allocations: 7.984 kB / 452.7 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.1494, allocations: 11.97 kB / 452.8 MB, free: 2.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.929e-05/0.1494, allocations: 107.2 kB / 452.9 MB, free: 2.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1494, allocations: 4 kB / 452.9 MB, free: 2.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005628/0.15, allocations: 167.9 kB / 453 MB, free: 2.621 MB / 382.1 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.0005841/0.1506, allocations: 251 kB / 453.3 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.152, allocations: 407.7 kB / 453.7 MB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.152, allocations: 0 / 453.7 MB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006276/0.1526, allocations: 160 kB / 453.8 MB, free: 1.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.1529, allocations: 8 kB / 453.8 MB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.1557, allocations: 0.5833 MB / 454.4 MB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1559, allocations: 0.7004 MB / 455.1 MB, free: 468 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.1562, allocations: 44.64 kB / 455.2 MB, free: 420 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.1563, allocations: 39.36 kB / 455.2 MB, free: 380 kB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1563, allocations: 4 kB / 455.2 MB, free: 376 kB / 382.1 MB Notification: Performance of Templates: time 0.1708/0.3271, allocations: 8.332 MB / 463.5 MB, free: 45.65 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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