Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009155/0.0009156, allocations: 174 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.6 MB / 222.4 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008299/0.0008298, allocations: 94.8 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3217/0.3217, allocations: 43.67 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 8 kB / 432.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1229, allocations: 58.85 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.0015/0.1244, allocations: 1.155 MB / 492.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1265, allocations: 1.943 MB / 494.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.1265, allocations: 0 / 494.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1267, allocations: 31.83 kB / 494.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.1269, allocations: 44.05 kB / 494.3 MB, free: 6.727 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.1273, allocations: 167.4 kB / 494.5 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.525e-05/0.1274, allocations: 55.72 kB / 494.6 MB, free: 6.508 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.1274, allocations: 11.97 kB / 494.6 MB, free: 6.496 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.53e-05/0.1275, allocations: 23.88 kB / 494.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.1275, allocations: 35.78 kB / 494.6 MB, free: 6.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1276, allocations: 0 / 494.6 MB, free: 6.438 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000488/0.1281, allocations: 315.6 kB / 494.9 MB, free: 6.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.1281, allocations: 8 kB / 494.9 MB, free: 6.121 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.1281, allocations: 57.48 kB / 495 MB, free: 6.059 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.1285, allocations: 263.4 kB / 495.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1285, allocations: 4 kB / 495.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1285, allocations: 0 / 495.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1286, allocations: 0 / 495.3 MB, free: 5.797 MB / 378.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.0005864/0.1291, allocations: 411.1 kB / 495.7 MB, free: 5.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1292, allocations: 11.97 kB / 495.7 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.1292, allocations: 8.844 kB / 495.7 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.1294, allocations: 172.3 kB / 495.9 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1294, allocations: 384 / 495.9 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1295, allocations: 8.375 kB / 495.9 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1296, allocations: 69.8 kB / 495.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1296, allocations: 0 / 495.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1296, allocations: 4 kB / 495.9 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1296, allocations: 0 / 495.9 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.679e-05/0.1297, allocations: 59.95 kB / 496 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.1299, allocations: 185.5 kB / 496.2 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.026e-05/0.13, allocations: 54.56 kB / 496.2 MB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.1301, allocations: 44.84 kB / 496.3 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.462e-05/0.1301, allocations: 15.98 kB / 496.3 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1302, allocations: 42.73 kB / 496.3 MB, free: 4.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.1302, allocations: 0 / 496.3 MB, free: 4.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.02014/0.1503, allocations: 1.693 MB / 498 MB, free: 2.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.1504, allocations: 59.41 kB / 498.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1506, allocations: 134 kB / 498.2 MB, free: 2.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.1506, allocations: 29.7 kB / 498.2 MB, free: 2.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.1506, allocations: 80.14 kB / 498.3 MB, free: 2.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.1507, allocations: 51.28 kB / 498.4 MB, free: 2.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.1507, allocations: 0 / 498.4 MB, free: 2.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1508, allocations: 322.8 kB / 498.7 MB, free: 2.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000684/0.1515, allocations: 207.9 kB / 498.9 MB, free: 1.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.1522, allocations: 215.8 kB / 499.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.1536, allocations: 398.5 kB / 499.5 MB, free: 1.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1536, allocations: 0 / 499.5 MB, free: 1.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001505/0.1551, allocations: 492 kB / 500 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1551, allocations: 4 kB / 500 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1551, allocations: 0 / 500 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1552, allocations: 0 / 500 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.1557, allocations: 83.83 kB / 0.4883 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1558, allocations: 0 / 0.4883 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.1562, allocations: 43.97 kB / 0.4884 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.1563, allocations: 15.95 kB / 0.4884 GB, free: 0.7109 MB / 378.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.1564, allocations: 121.7 kB / 0.4885 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.1564, allocations: 7.906 kB / 0.4885 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.158, allocations: 405.9 kB / 0.4889 GB, free: 176 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.158, allocations: 4 kB / 0.4889 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.158, allocations: 4 kB / 0.4889 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.158, allocations: 0 / 0.4889 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2134/0.3714, allocations: 0.8057 MB / 0.4897 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3714, allocations: 1.156 kB / 0.4897 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.372, allocations: 78.06 kB / 0.4898 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.372, allocations: 4.969 kB / 0.4898 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.372, allocations: 14.08 kB / 0.4898 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.372, allocations: 8.672 kB / 0.4898 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.3721, allocations: 1.188 kB / 0.4898 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.3735, allocations: 455.4 kB / 0.4902 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.149e-05/0.3736, allocations: 109.1 kB / 0.4903 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.3736, allocations: 4.172 kB / 0.4903 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.3741, allocations: 44.61 kB / 0.4904 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.3741, allocations: 6.391 kB / 0.4904 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3742, allocations: 16.06 kB / 0.4904 GB, free: 42.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.394e-05/0.3742, allocations: 97.7 kB / 0.4905 GB, free: 42.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3743, allocations: 0 / 0.4905 GB, free: 42.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006303/0.3749, allocations: 169.5 kB / 0.4907 GB, free: 42.83 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006215/0.3755, allocations: 261 kB / 0.4909 GB, free: 42.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.377, allocations: 397.9 kB / 0.4913 GB, free: 42.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.377, allocations: 5.219 kB / 0.4913 GB, free: 42.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006575/0.3777, allocations: 166.8 kB / 0.4914 GB, free: 42.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.378, allocations: 16.69 kB / 0.4915 GB, free: 42.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.3809, allocations: 0.578 MB / 0.492 GB, free: 42.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.3811, allocations: 0.6938 MB / 0.4927 GB, free: 41.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002564/0.3813, allocations: 49.64 kB / 0.4928 GB, free: 41.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.3815, allocations: 48.02 kB / 0.4928 GB, free: 41.83 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3815, allocations: 1.219 kB / 0.4928 GB, free: 41.83 MB / 378.7 MB Notification: Performance of Templates: time 0.01281/0.3944, allocations: 8.457 MB / 0.5011 GB, free: 41.37 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