Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001699/0.001699, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002145/0.002145, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2854/0.2854, allocations: 46.9 MB / 357.4 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 83.84 kB / 0.4912 GB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1226, allocations: 65.99 MB / 0.5557 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00263/0.1253, allocations: 1.474 MB / 0.5571 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1274, allocations: 1.462 MB / 0.5586 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.1274, allocations: 0 / 0.5586 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1276, allocations: 31.78 kB / 0.5586 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.1278, allocations: 51.62 kB / 0.5586 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.1283, allocations: 227.1 kB / 0.5589 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1284, allocations: 51.77 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.1285, allocations: 0 / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.397e-05/0.1285, allocations: 27.86 kB / 0.5589 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.1286, allocations: 27.86 kB / 0.559 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.1286, allocations: 0 / 0.559 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00058/0.1292, allocations: 339.5 kB / 0.5593 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.1292, allocations: 12 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.1292, allocations: 27.8 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.1297, allocations: 283.1 kB / 0.5596 GB, free: 2.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1297, allocations: 0 / 0.5596 GB, free: 2.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1297, allocations: 0 / 0.5596 GB, free: 2.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1297, allocations: 0 / 0.5596 GB, free: 2.199 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.0006565/0.1303, allocations: 422.6 kB / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1304, allocations: 8.031 kB / 0.56 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.1304, allocations: 38.75 kB / 0.56 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.1305, allocations: 8.891 kB / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.1306, allocations: 176.3 kB / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1306, allocations: 8.312 kB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.1307, allocations: 4.375 kB / 0.5602 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1308, allocations: 69.61 kB / 0.5603 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1308, allocations: 3.984 kB / 0.5603 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1308, allocations: 0 / 0.5603 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1308, allocations: 0 / 0.5603 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1309, allocations: 55.97 kB / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.1312, allocations: 193.5 kB / 0.5605 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1313, allocations: 58.44 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.1314, allocations: 36.84 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.271e-05/0.1314, allocations: 23.92 kB / 0.5606 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.1315, allocations: 38.56 kB / 0.5607 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1315, allocations: 0 / 0.5607 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.01956/0.151, allocations: 1.626 MB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.1511, allocations: 51.41 kB / 0.5623 GB, free: 15.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1512, allocations: 139.8 kB / 0.5625 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.1513, allocations: 25.7 kB / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.1513, allocations: 96.05 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.1514, allocations: 39.66 kB / 0.5626 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.1515, allocations: 49.67 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1516, allocations: 318.8 kB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006388/0.1523, allocations: 203.8 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.1529, allocations: 206.3 kB / 0.5634 GB, free: 14.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.1542, allocations: 380.6 kB / 0.5637 GB, free: 13.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1542, allocations: 0 / 0.5637 GB, free: 13.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001375/0.1556, allocations: 456.4 kB / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1556, allocations: 4 kB / 0.5642 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1556, allocations: 0 / 0.5642 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1556, allocations: 0 / 0.5642 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.1561, allocations: 71.92 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1561, allocations: 7.938 kB / 0.5642 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.1565, allocations: 35.97 kB / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.1566, allocations: 7.984 kB / 0.5643 GB, free: 13.15 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.0001495/0.1567, allocations: 117.8 kB / 0.5644 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.1568, allocations: 11.94 kB / 0.5644 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.1582, allocations: 366.1 kB / 0.5647 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1582, allocations: 0 / 0.5647 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1582, allocations: 4 kB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1582, allocations: 7.984 kB / 0.5648 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.1611, allocations: 0.7816 MB / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1611, allocations: 0 / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.1615, allocations: 64.03 kB / 0.5656 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1615, allocations: 4 kB / 0.5656 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.1616, allocations: 8.078 kB / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.1616, allocations: 7.875 kB / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1616, allocations: 0 / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.1628, allocations: 421.8 kB / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.163, allocations: 109 kB / 0.5661 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.163, allocations: 11.97 kB / 0.5661 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.1634, allocations: 43.91 kB / 0.5662 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.1635, allocations: 7.984 kB / 0.5662 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.1635, allocations: 8 kB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.343e-05/0.1636, allocations: 104 kB / 0.5663 GB, free: 10.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1636, allocations: 0 / 0.5663 GB, free: 10.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005932/0.1642, allocations: 171.6 kB / 0.5664 GB, free: 10.8 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.002119/0.1663, allocations: 1.093 MB / 0.5675 GB, free: 9.676 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.1675, allocations: 355.7 kB / 0.5678 GB, free: 9.328 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1676, allocations: 0 / 0.5678 GB, free: 9.328 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005575/0.1681, allocations: 148 kB / 0.568 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1685, allocations: 18.25 kB / 0.568 GB, free: 9.168 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006745/0.1752, allocations: 2.748 MB / 0.5707 GB, free: 6.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1755, allocations: 0.6962 MB / 0.5714 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.1757, allocations: 44.86 kB / 0.5714 GB, free: 5.551 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.1759, allocations: 39.41 kB / 0.5714 GB, free: 5.512 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1759, allocations: 0 / 0.5714 GB, free: 5.512 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.209, allocations: 9.951 MB / 0.5812 GB, free: 11.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.308, allocations: 15.12 kB / 0.5812 GB, free: 11.67 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.702505839057267]