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.0008254/0.0008255, allocations: 94 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009658/0.0009658, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.179/1.179, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.17/0.17, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.000252, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08842, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001255/0.08971, allocations: 1.184 MB / 484.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.09139, allocations: 1.464 MB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.09142, allocations: 0 / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.09155, allocations: 27.84 kB / 485.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.09169, allocations: 35.83 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.09205, allocations: 175.3 kB / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.085e-05/0.09214, allocations: 55.67 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.09218, allocations: 19.91 kB / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.09223, allocations: 19.94 kB / 486.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.09228, allocations: 23.86 kB / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.0923, allocations: 4 kB / 486.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/0.09279, allocations: 339.5 kB / 486.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.09281, allocations: 7.938 kB / 486.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.09286, allocations: 49.52 kB / 486.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.0932, allocations: 275.4 kB / 486.8 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.09322, allocations: 0 / 486.8 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09322, allocations: 0 / 486.8 MB, free: 384 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.09323, allocations: 0 / 486.8 MB, free: 384 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.0004038/0.09364, allocations: 407.3 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.09368, allocations: 12.88 kB / 487.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.09372, allocations: 30.75 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.09374, allocations: 8.844 kB / 487.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.09385, allocations: 174.9 kB / 487.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.09387, allocations: 8.359 kB / 487.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.09389, allocations: 4.375 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.094, allocations: 61.62 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.09401, allocations: 4 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.09403, allocations: 0 / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.09403, allocations: 7.938 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.846e-05/0.09413, allocations: 59.95 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.09429, allocations: 193.5 kB / 487.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.31e-05/0.09437, allocations: 58.5 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.09444, allocations: 44.84 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.09448, allocations: 27.92 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.09452, allocations: 30.56 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.09452, allocations: 0 / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.02122/0.1157, allocations: 1.685 MB / 489.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.1158, allocations: 59.41 kB / 489.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.1159, allocations: 130 kB / 489.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.1159, allocations: 29.7 kB / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.116, allocations: 80.14 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.116, allocations: 43.45 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.1161, allocations: 21.7 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1162, allocations: 326.8 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007288/0.117, allocations: 211.8 kB / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007038/0.1177, allocations: 215.9 kB / 490.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.1191, allocations: 408.5 kB / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1191, allocations: 0 / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001562/0.1207, allocations: 480.6 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1207, allocations: 7.984 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1207, allocations: 0 / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1207, allocations: 0 / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.1213, allocations: 87.83 kB / 491.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1214, allocations: 0 / 491.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004962/0.1219, allocations: 39.97 kB / 491.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.1219, allocations: 11.97 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.0001147/0.122, allocations: 125.8 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.1221, allocations: 7.906 kB / 491.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.1237, allocations: 402 kB / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1237, allocations: 0 / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1237, allocations: 4 kB / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1237, allocations: 0 / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.1269, allocations: 0.8283 MB / 493.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1269, allocations: 96 / 493.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.1275, allocations: 83.89 kB / 493.2 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1275, allocations: 0 / 493.2 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.1275, allocations: 11.97 kB / 493.2 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.1275, allocations: 15.94 kB / 493.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1276, allocations: 3.938 kB / 493.2 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.129, allocations: 445.8 kB / 493.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.1291, allocations: 105.1 kB / 493.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.1292, allocations: 15.92 kB / 493.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/0.1297, allocations: 43.91 kB / 493.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.1297, allocations: 15.92 kB / 493.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.1298, allocations: 15.97 kB / 493.8 MB, free: 8.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.917e-05/0.1298, allocations: 97.94 kB / 493.9 MB, free: 8.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1298, allocations: 0 / 493.9 MB, free: 8.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004987/0.1303, allocations: 168 kB / 494.1 MB, free: 8.738 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.002142/0.1325, allocations: 1.125 MB / 495.2 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.1339, allocations: 399.7 kB / 495.6 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1339, allocations: 4 kB / 495.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006728/0.1346, allocations: 171.9 kB / 495.8 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.1349, allocations: 10.58 kB / 495.8 MB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007305/0.1422, allocations: 2.881 MB / 498.7 MB, free: 4.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.1424, allocations: 0.6926 MB / 499.4 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.1427, allocations: 52.84 kB / 499.4 MB, free: 3.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.1429, allocations: 55.34 kB / 499.5 MB, free: 3.203 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1429, allocations: 8 kB / 499.5 MB, free: 3.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.1613, allocations: 9.635 MB / 0.4972 GB, free: 9.715 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.1616, allocations: 240 kB / 0.4974 GB, free: 9.453 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.004, allocations: 4 kB / 0.4974 GB, free: 9.449 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