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/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.001707/0.001707, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001628/0.001628, allocations: 215 kB / 21.45 MB, free: 1.641 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.506/1.506, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2201/0.2201, allocations: 44.91 MB / 355.8 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] 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 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_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 71.91 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1206, allocations: 65.41 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002768/0.1234, allocations: 1.483 MB / 0.5539 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1256, allocations: 1.454 MB / 0.5553 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.1257, allocations: 0 / 0.5553 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.1259, allocations: 48.03 kB / 0.5553 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1261, allocations: 47.64 kB / 0.5554 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.1266, allocations: 215.1 kB / 0.5556 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.1267, allocations: 63.66 kB / 0.5557 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.1268, allocations: 4 kB / 0.5557 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.1268, allocations: 31.91 kB / 0.5557 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.1269, allocations: 23.86 kB / 0.5557 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1269, allocations: 4 kB / 0.5557 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000622/0.1275, allocations: 331.6 kB / 0.556 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.1275, allocations: 19.84 kB / 0.5561 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.1276, allocations: 27.81 kB / 0.5561 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.1281, allocations: 279.2 kB / 0.5563 GB, free: 6.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1281, allocations: 0 / 0.5563 GB, free: 6.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1281, allocations: 0 / 0.5563 GB, free: 6.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1281, allocations: 4 kB / 0.5564 GB, free: 6.105 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.0005954/0.1287, allocations: 418.7 kB / 0.5568 GB, free: 5.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1287, allocations: 8.031 kB / 0.5568 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.246e-05/0.1287, allocations: 4.188 kB / 0.5568 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.1288, allocations: 42.67 kB / 0.5568 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.1288, allocations: 12.83 kB / 0.5568 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1289, allocations: 168.3 kB / 0.557 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.129, allocations: 384 / 0.557 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.129, allocations: 16.12 kB / 0.557 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1291, allocations: 61.67 kB / 0.5571 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1291, allocations: 0 / 0.5571 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1291, allocations: 4 kB / 0.5571 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1291, allocations: 0 / 0.5571 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.612e-05/0.1292, allocations: 55.91 kB / 0.5571 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.1295, allocations: 189.6 kB / 0.5573 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.675e-05/0.1296, allocations: 54.55 kB / 0.5573 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.1296, allocations: 48.78 kB / 0.5574 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.1297, allocations: 16 kB / 0.5574 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1297, allocations: 38.55 kB / 0.5574 GB, free: 4.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1297, allocations: 0 / 0.5574 GB, free: 4.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02115/0.1509, allocations: 1.623 MB / 0.559 GB, free: 3.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.1509, allocations: 51.41 kB / 0.5591 GB, free: 3.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1511, allocations: 143.3 kB / 0.5592 GB, free: 2.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.1511, allocations: 33.64 kB / 0.5592 GB, free: 2.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.1512, allocations: 88.12 kB / 0.5593 GB, free: 2.824 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.588e-05/0.1512, allocations: 47.62 kB / 0.5594 GB, free: 2.777 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1513, allocations: 45.69 kB / 0.5594 GB, free: 2.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1515, allocations: 326.8 kB / 0.5597 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006871/0.1522, allocations: 195.9 kB / 0.5599 GB, free: 2.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006837/0.1528, allocations: 205.2 kB / 0.5601 GB, free: 2.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.1543, allocations: 382.5 kB / 0.5605 GB, free: 1.633 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1543, allocations: 0 / 0.5605 GB, free: 1.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001526/0.1558, allocations: 449.4 kB / 0.5609 GB, free: 1.188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1558, allocations: 14.17 kB / 0.5609 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1558, allocations: 0 / 0.5609 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1558, allocations: 3.938 kB / 0.5609 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.1564, allocations: 67.94 kB / 0.561 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1564, allocations: 0 / 0.561 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.1569, allocations: 39.95 kB / 0.561 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.1569, allocations: 8 kB / 0.561 GB, free: 1.059 MB / 414.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.0001237/0.157, allocations: 116 kB / 0.5611 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.1571, allocations: 15.92 kB / 0.5612 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.1586, allocations: 370 kB / 0.5615 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1586, allocations: 4 kB / 0.5615 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1586, allocations: 0 / 0.5615 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1586, allocations: 0 / 0.5615 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/0.1617, allocations: 0.774 MB / 0.5623 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1617, allocations: 0 / 0.5623 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.1622, allocations: 63.94 kB / 0.5623 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1622, allocations: 8.094 kB / 0.5623 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.1622, allocations: 7.984 kB / 0.5623 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1622, allocations: 7.875 kB / 0.5624 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1622, allocations: 4 kB / 0.5624 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.1636, allocations: 413.9 kB / 0.5627 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1637, allocations: 105 kB / 0.5628 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.1638, allocations: 15.92 kB / 0.5629 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.1643, allocations: 39.91 kB / 0.5629 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.1643, allocations: 11.92 kB / 0.5629 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.1643, allocations: 19.98 kB / 0.5629 GB, free: 14.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.373e-05/0.1644, allocations: 101.7 kB / 0.563 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1644, allocations: 0 / 0.563 GB, free: 14.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006335/0.165, allocations: 167.6 kB / 0.5632 GB, free: 14.72 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.002369/0.1674, allocations: 1.105 MB / 0.5643 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.1688, allocations: 355.7 kB / 0.5646 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1688, allocations: 0 / 0.5646 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006228/0.1694, allocations: 144 kB / 0.5647 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.1698, allocations: 20.53 kB / 0.5648 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007739/0.1775, allocations: 2.748 MB / 0.5674 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.1779, allocations: 0.7001 MB / 0.5681 GB, free: 9.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.1781, allocations: 36.75 kB / 0.5682 GB, free: 9.465 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.1783, allocations: 39.41 kB / 0.5682 GB, free: 9.426 MB / 430.1 MB Notification: Performance of SimCode: time 1.463e-06/0.1783, allocations: 0 / 0.5682 GB, free: 9.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.2089, allocations: 9.997 MB / 0.578 GB, free: 15.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.459/8.668, allocations: 6.609 kB / 0.578 GB, free: 15.58 MB / 446.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 11.819430579023901]