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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.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.2255/0.2255, allocations: 44.91 MB / 349.6 MB, free: 1.707 MB / 270.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.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) 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 59.27 kB / 491.8 MB, free: 29.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1177, allocations: 64.27 MB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002653/0.1204, allocations: 1.446 MB / 0.5444 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.1225, allocations: 1.44 MB / 0.5458 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.1225, allocations: 0 / 0.5458 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.1227, allocations: 28.12 kB / 0.5459 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.1229, allocations: 55.61 kB / 0.5459 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.1234, allocations: 227.1 kB / 0.5461 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1235, allocations: 55.67 kB / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.526e-05/0.1236, allocations: 3.984 kB / 0.5462 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.477e-05/0.1236, allocations: 15.94 kB / 0.5462 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.1237, allocations: 27.86 kB / 0.5462 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.1237, allocations: 0 / 0.5462 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005801/0.1243, allocations: 339.5 kB / 0.5466 GB, free: 456 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.1243, allocations: 11.94 kB / 0.5466 GB, free: 444 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.1243, allocations: 27.81 kB / 0.5466 GB, free: 416 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.1249, allocations: 279.2 kB / 0.5469 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1249, allocations: 4 kB / 0.5469 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1249, allocations: 0 / 0.5469 GB, free: 132 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1249, allocations: 3.938 kB / 0.5469 GB, free: 128 kB / 398.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.0005916/0.1255, allocations: 418.7 kB / 0.5473 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1255, allocations: 12.03 kB / 0.5473 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.1256, allocations: 30.75 kB / 0.5473 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.1256, allocations: 12.89 kB / 0.5473 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.1257, allocations: 172.3 kB / 0.5475 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1258, allocations: 4.375 kB / 0.5475 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1258, allocations: 4.375 kB / 0.5475 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1259, allocations: 77.58 kB / 0.5476 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1259, allocations: 0 / 0.5476 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.126, allocations: 0 / 0.5476 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.126, allocations: 4 kB / 0.5476 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.679e-05/0.1261, allocations: 59.91 kB / 0.5476 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.1263, allocations: 189.6 kB / 0.5478 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.1264, allocations: 50.56 kB / 0.5479 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.1264, allocations: 44.78 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.757e-05/0.1265, allocations: 27.86 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.1265, allocations: 30.56 kB / 0.548 GB, free: 14.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 2.825e-06/0.1265, allocations: 3.984 kB / 0.548 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.01956/0.1461, allocations: 1.619 MB / 0.5495 GB, free: 13.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.1462, allocations: 51.41 kB / 0.5496 GB, free: 13.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.1464, allocations: 136.2 kB / 0.5497 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.1464, allocations: 33.7 kB / 0.5497 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.1464, allocations: 92.08 kB / 0.5498 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.1465, allocations: 39.69 kB / 0.5499 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1466, allocations: 45.62 kB / 0.5499 GB, free: 12.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1468, allocations: 322.8 kB / 0.5502 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006379/0.1474, allocations: 199.8 kB / 0.5504 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.148, allocations: 207.9 kB / 0.5506 GB, free: 12.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.1493, allocations: 379.7 kB / 0.551 GB, free: 11.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1493, allocations: 4 kB / 0.551 GB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001378/0.1507, allocations: 461.2 kB / 0.5514 GB, free: 11.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1507, allocations: 4 kB / 0.5514 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1507, allocations: 4 kB / 0.5514 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1507, allocations: 3.938 kB / 0.5514 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.1512, allocations: 63.94 kB / 0.5515 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1512, allocations: 0 / 0.5515 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.1516, allocations: 39.95 kB / 0.5515 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.1516, allocations: 7.984 kB / 0.5515 GB, free: 11.08 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.0001692/0.1518, allocations: 121.8 kB / 0.5517 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.1518, allocations: 7.953 kB / 0.5517 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.1532, allocations: 362.1 kB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1532, allocations: 4 kB / 0.552 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1532, allocations: 0 / 0.552 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1532, allocations: 0 / 0.552 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.156, allocations: 0.7778 MB / 0.5528 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.156, allocations: 3.984 kB / 0.5528 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.1565, allocations: 67.97 kB / 0.5528 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.1565, allocations: 4 kB / 0.5528 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.1565, allocations: 4 kB / 0.5528 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.1565, allocations: 11.86 kB / 0.5529 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1565, allocations: 96 / 0.5529 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.1578, allocations: 429.8 kB / 0.5533 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.1579, allocations: 105 kB / 0.5534 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.1579, allocations: 4 kB / 0.5534 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.1583, allocations: 43.89 kB / 0.5534 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.1584, allocations: 11.94 kB / 0.5534 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.1584, allocations: 11.98 kB / 0.5534 GB, free: 9.012 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.016e-05/0.1585, allocations: 95.27 kB / 0.5535 GB, free: 8.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1585, allocations: 0 / 0.5535 GB, free: 8.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006458/0.1591, allocations: 175.6 kB / 0.5537 GB, free: 8.746 MB / 414.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.002426/0.1615, allocations: 1.097 MB / 0.5548 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.1628, allocations: 352.2 kB / 0.5551 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1628, allocations: 0 / 0.5551 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005487/0.1633, allocations: 148 kB / 0.5552 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.1638, allocations: 15.98 kB / 0.5553 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006875/0.1706, allocations: 2.765 MB / 0.558 GB, free: 4.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.171, allocations: 0.6961 MB / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.1712, allocations: 44.84 kB / 0.5587 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.1714, allocations: 35.5 kB / 0.5587 GB, free: 3.445 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1714, allocations: 3.938 kB / 0.5587 GB, free: 3.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/0.2108, allocations: 9.927 MB / 0.5684 GB, free: 9.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.484, allocations: 7.688 kB / 0.5684 GB, free: 9.637 MB / 430.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.440124542918056]