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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008917/0.0008917, allocations: 98.14 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.00106, allocations: 206.3 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1865/0.1865, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002384/0.0002385, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09844, allocations: 63.55 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001427/0.09991, allocations: 1.192 MB / 484.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1019, allocations: 1.457 MB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.1019, allocations: 4 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.1021, allocations: 23.84 kB / 485.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1023, allocations: 39.75 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.1028, allocations: 175.7 kB / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1029, allocations: 55.66 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.103, allocations: 7.938 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.481e-05/0.103, allocations: 19.94 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.1031, allocations: 27.86 kB / 486.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.1031, allocations: 0 / 486.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000591/0.1037, allocations: 343.5 kB / 486.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.1037, allocations: 3.938 kB / 486.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.1038, allocations: 65.5 kB / 486.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.1042, allocations: 267.4 kB / 486.8 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1042, allocations: 0 / 486.8 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1043, allocations: 0 / 486.8 MB, free: 392 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1043, allocations: 0 / 486.8 MB, free: 392 kB / 350.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.0004825/0.1047, allocations: 403.3 kB / 487.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1048, allocations: 8.875 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.1048, allocations: 34.69 kB / 487.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.1049, allocations: 8.844 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.105, allocations: 184.3 kB / 487.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.105, allocations: 4.375 kB / 487.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.105, allocations: 4.359 kB / 487.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.1052, allocations: 69.61 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1052, allocations: 3.938 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1052, allocations: 0 / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1052, allocations: 0 / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.928e-05/0.1053, allocations: 63.91 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.1055, allocations: 185.5 kB / 487.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.131e-05/0.1056, allocations: 58.56 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.1056, allocations: 44.83 kB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.739e-05/0.1057, allocations: 19.94 kB / 487.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.1057, allocations: 30.56 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.1057, allocations: 4 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.02294/0.1287, allocations: 1.689 MB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1287, allocations: 51.41 kB / 489.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1289, allocations: 138 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.1289, allocations: 25.7 kB / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.129, allocations: 92.12 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.129, allocations: 35.47 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.1291, allocations: 25.7 kB / 490 MB, free: 12.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.1292, allocations: 318.8 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007515/0.1299, allocations: 223.7 kB / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007434/0.1307, allocations: 210.4 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.1322, allocations: 400.6 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1322, allocations: 0 / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001631/0.1338, allocations: 484.6 kB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1339, allocations: 4 kB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1339, allocations: 4 kB / 491.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1339, allocations: 7.938 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/0.1346, allocations: 79.89 kB / 491.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1346, allocations: 8 kB / 491.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/0.1351, allocations: 35.95 kB / 491.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.1352, allocations: 19.91 kB / 491.7 MB, free: 11.22 MB / 366.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.0001169/0.1353, allocations: 125.9 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.1353, allocations: 7.906 kB / 491.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.137, allocations: 397.9 kB / 492.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.137, allocations: 4 kB / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.137, allocations: 0 / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.137, allocations: 3.984 kB / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/0.1404, allocations: 0.8284 MB / 493.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1404, allocations: 0 / 493.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.141, allocations: 83.98 kB / 493.2 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.141, allocations: 4 kB / 493.2 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.1411, allocations: 11.97 kB / 493.2 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1411, allocations: 7.875 kB / 493.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.1411, allocations: 4 kB / 493.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.1426, allocations: 445.8 kB / 493.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1427, allocations: 113 kB / 493.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.1428, allocations: 0 / 493.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.1433, allocations: 43.91 kB / 493.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.1433, allocations: 15.92 kB / 493.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.1434, allocations: 15.97 kB / 493.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.686e-05/0.1435, allocations: 97.94 kB / 493.9 MB, free: 8.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1435, allocations: 3.938 kB / 493.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006236/0.1441, allocations: 168 kB / 494.1 MB, free: 8.75 MB / 366.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.002437/0.1465, allocations: 1.133 MB / 495.2 MB, free: 7.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.1481, allocations: 404 kB / 495.6 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1481, allocations: 0 / 495.6 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006833/0.1488, allocations: 164 kB / 495.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1491, allocations: 12 kB / 495.8 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007721/0.1569, allocations: 2.881 MB / 498.7 MB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.1571, allocations: 0.7004 MB / 499.4 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.1574, allocations: 40.73 kB / 499.4 MB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.1575, allocations: 59.34 kB / 499.5 MB, free: 3.211 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1576, allocations: 192 / 499.5 MB, free: 3.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.1782, allocations: 9.645 MB / 0.4972 GB, free: 9.723 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.1784, allocations: 235.8 kB / 0.4974 GB, free: 9.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.099, allocations: 4 kB / 0.4974 GB, free: 9.461 MB / 382.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches