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.001216/0.001217, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1785/0.1785, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 76.03 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1027, allocations: 62.45 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002536/0.1052, allocations: 1.454 MB / 481.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1071, allocations: 1.456 MB / 483 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.1072, allocations: 0 / 483 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.1074, allocations: 27.84 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1076, allocations: 47.69 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.1081, allocations: 235.3 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.39e-05/0.1082, allocations: 47.73 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.1083, allocations: 11.98 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.1083, allocations: 23.92 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.1084, allocations: 31.8 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.1084, allocations: 0 / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005667/0.109, allocations: 343.5 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.109, allocations: 11.94 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.1091, allocations: 23.81 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004691/0.1095, allocations: 279.4 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1095, allocations: 4 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1096, allocations: 0 / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1096, allocations: 4 kB / 484.1 MB, free: 1.156 MB / 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.0005381/0.1101, allocations: 411.2 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1102, allocations: 8.031 kB / 484.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.1102, allocations: 34.73 kB / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.1102, allocations: 8.844 kB / 484.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1104, allocations: 170.9 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1104, allocations: 8.375 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1104, allocations: 384 / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1106, allocations: 77.55 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1106, allocations: 3.938 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1106, allocations: 0 / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1106, allocations: 0 / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-05/0.1107, allocations: 59.97 kB / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.1109, allocations: 189.5 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.451e-05/0.111, allocations: 50.56 kB / 485.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.111, allocations: 44.84 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.559e-05/0.1111, allocations: 27.92 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1111, allocations: 34.56 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1111, allocations: 3.938 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.01948/0.1306, allocations: 1.611 MB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.1307, allocations: 55.41 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.1308, allocations: 138 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1308, allocations: 29.7 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.1308, allocations: 80.14 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.1309, allocations: 51.38 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/0.131, allocations: 49.59 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.1311, allocations: 318.8 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005846/0.1317, allocations: 207.8 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.1323, allocations: 211 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.1334, allocations: 376.7 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1335, allocations: 0 / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001275/0.1347, allocations: 465.2 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1348, allocations: 6.5 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1348, allocations: 0 / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1348, allocations: 0 / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.1353, allocations: 63.94 kB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1353, allocations: 0 / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.1357, allocations: 43.95 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.1357, allocations: 11.98 kB / 488.9 MB, free: 12.12 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 9.876e-05/0.1358, allocations: 125.7 kB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.1359, allocations: 7.906 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.1372, allocations: 362.2 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1372, allocations: 0 / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1372, allocations: 0 / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1372, allocations: 0 / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/0.1399, allocations: 0.7817 MB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1399, allocations: 0 / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004655/0.1404, allocations: 67.86 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.1404, allocations: 0 / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.1404, allocations: 8.094 kB / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.1404, allocations: 7.938 kB / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.1404, allocations: 3.984 kB / 490.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.1416, allocations: 421.8 kB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.1417, allocations: 112.9 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.1418, allocations: 0 / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.1422, allocations: 47.89 kB / 490.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.1422, allocations: 8 kB / 490.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.1423, allocations: 7.984 kB / 490.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.304e-05/0.1423, allocations: 101.8 kB / 490.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1423, allocations: 3.938 kB / 490.9 MB, free: 9.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004992/0.1428, allocations: 167.9 kB / 491.1 MB, free: 9.797 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.001967/0.1448, allocations: 1.097 MB / 492.2 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.146, allocations: 383.7 kB / 492.6 MB, free: 8.289 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.146, allocations: 0 / 492.6 MB, free: 8.289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000542/0.1466, allocations: 152 kB / 492.7 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1469, allocations: 22.64 kB / 492.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/0.1531, allocations: 2.737 MB / 495.5 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1533, allocations: 0.7002 MB / 496.2 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.1535, allocations: 40.72 kB / 496.2 MB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.1537, allocations: 39.41 kB / 496.3 MB, free: 4.484 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1537, allocations: 0 / 496.3 MB, free: 4.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.093/2.247, allocations: 9.89 MB / 0.4943 GB, free: 10.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/9.945, allocations: 4.062 kB / 0.4943 GB, free: 10.69 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