Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 116.1 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 219 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2592/0.2592, allocations: 46.92 MB / 357.8 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 59.91 kB / 0.4916 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1242, allocations: 66 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002544/0.1267, allocations: 1.475 MB / 0.5575 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.1288, allocations: 1.458 MB / 0.5589 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.1288, allocations: 0 / 0.5589 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.129, allocations: 35.77 kB / 0.559 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.1292, allocations: 51.64 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.1298, allocations: 223.1 kB / 0.5592 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1299, allocations: 47.8 kB / 0.5593 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.831e-05/0.13, allocations: 11.92 kB / 0.5593 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.254e-05/0.1301, allocations: 27.81 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.1301, allocations: 35.84 kB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.1301, allocations: 0 / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006042/0.1307, allocations: 335.6 kB / 0.5597 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.1308, allocations: 7.922 kB / 0.5597 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.1308, allocations: 35.8 kB / 0.5597 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.1312, allocations: 263.3 kB / 0.56 GB, free: 1.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1312, allocations: 0 / 0.56 GB, free: 1.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1312, allocations: 0 / 0.56 GB, free: 1.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1312, allocations: 4 kB / 0.56 GB, free: 1.84 MB / 414.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.0005715/0.1318, allocations: 434.6 kB / 0.5604 GB, free: 1.367 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1319, allocations: 8.031 kB / 0.5604 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.147e-05/0.1319, allocations: 4.188 kB / 0.5604 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.1319, allocations: 38.75 kB / 0.5604 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.1319, allocations: 4.891 kB / 0.5604 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1321, allocations: 172.3 kB / 0.5606 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1321, allocations: 4.375 kB / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1321, allocations: 8.125 kB / 0.5606 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1322, allocations: 65.67 kB / 0.5607 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1323, allocations: 0 / 0.5607 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1323, allocations: 7.984 kB / 0.5607 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1323, allocations: 0 / 0.5607 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.1324, allocations: 55.97 kB / 0.5607 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.1326, allocations: 197.5 kB / 0.5609 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.199e-05/0.1327, allocations: 54.5 kB / 0.561 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/0.1328, allocations: 36.78 kB / 0.561 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.787e-05/0.1328, allocations: 27.92 kB / 0.561 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.1329, allocations: 42.56 kB / 0.5611 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1329, allocations: 0 / 0.5611 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02101/0.1539, allocations: 1.623 MB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.1539, allocations: 51.41 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1541, allocations: 136.3 kB / 0.5628 GB, free: 14.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.1541, allocations: 25.7 kB / 0.5629 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.1542, allocations: 84.14 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.1542, allocations: 47.62 kB / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1543, allocations: 53.56 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1545, allocations: 330.8 kB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006956/0.1552, allocations: 195.9 kB / 0.5635 GB, free: 13.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.1559, allocations: 208.8 kB / 0.5637 GB, free: 13.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.1573, allocations: 375.3 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1573, allocations: 0 / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001505/0.1588, allocations: 457.4 kB / 0.5645 GB, free: 12.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1588, allocations: 4 kB / 0.5645 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1588, allocations: 0 / 0.5645 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1588, allocations: 0 / 0.5645 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.1594, allocations: 71.88 kB / 0.5646 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.1594, allocations: 4 kB / 0.5646 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.1598, allocations: 39.95 kB / 0.5646 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.1599, allocations: 7.984 kB / 0.5647 GB, free: 12.78 MB / 430.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.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * 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.0001379/0.16, allocations: 124 kB / 0.5648 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.1601, allocations: 7.953 kB / 0.5648 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.1616, allocations: 366 kB / 0.5651 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1616, allocations: 0 / 0.5651 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1616, allocations: 0 / 0.5651 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1616, allocations: 4 kB / 0.5651 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.1646, allocations: 0.7778 MB / 0.5659 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1646, allocations: 0 / 0.5659 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.1651, allocations: 68.03 kB / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.1652, allocations: 4 kB / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.1652, allocations: 7.984 kB / 0.566 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1652, allocations: 3.938 kB / 0.566 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1652, allocations: 8.031 kB / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.1666, allocations: 421.7 kB / 0.5664 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1667, allocations: 109 kB / 0.5665 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.1667, allocations: 4 kB / 0.5665 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.1672, allocations: 47.89 kB / 0.5665 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.1672, allocations: 4 kB / 0.5665 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.1672, allocations: 11.98 kB / 0.5665 GB, free: 10.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.444e-05/0.1673, allocations: 99.2 kB / 0.5666 GB, free: 10.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1673, allocations: 0 / 0.5666 GB, free: 10.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006294/0.1679, allocations: 179.6 kB / 0.5668 GB, free: 10.44 MB / 430.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 (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.002358/0.1703, allocations: 1.097 MB / 0.5679 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.1717, allocations: 351.7 kB / 0.5682 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1717, allocations: 0 / 0.5682 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.1723, allocations: 140 kB / 0.5684 GB, free: 8.824 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.1727, allocations: 21.86 kB / 0.5684 GB, free: 8.805 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007548/0.1803, allocations: 2.751 MB / 0.5711 GB, free: 5.953 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.1806, allocations: 0.6962 MB / 0.5717 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001924/0.1808, allocations: 48.84 kB / 0.5718 GB, free: 5.184 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.181, allocations: 39.41 kB / 0.5718 GB, free: 5.145 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.181, allocations: 0 / 0.5718 GB, free: 5.145 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.2114, allocations: 10 MB / 0.5816 GB, free: 11.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/8.819, allocations: 11.3 kB / 0.5816 GB, free: 11.29 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.293225155968685]