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.001133/0.001133, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1836/0.1836, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 74.14 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.09253, allocations: 62.44 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002289/0.09485, allocations: 1.533 MB / 481.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.09649, allocations: 1.437 MB / 482.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.09653, allocations: 0 / 482.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.09668, allocations: 19.91 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.09685, allocations: 47.77 kB / 482.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.09727, allocations: 195.7 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.609e-05/0.09736, allocations: 55.73 kB / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.0974, allocations: 4 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.09746, allocations: 31.84 kB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.09751, allocations: 23.86 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.09753, allocations: 4 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.09803, allocations: 331.6 kB / 483.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.09805, allocations: 15.91 kB / 483.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.09809, allocations: 27.81 kB / 483.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.09846, allocations: 279.4 kB / 483.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.09847, allocations: 0 / 483.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09847, allocations: 3.938 kB / 483.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.09849, allocations: 0 / 483.6 MB, free: 1.52 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.0004472/0.09894, allocations: 419.2 kB / 484 MB, free: 1.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.09898, allocations: 8.031 kB / 484 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.09902, allocations: 42.73 kB / 484 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.09905, allocations: 4.844 kB / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.09916, allocations: 168.3 kB / 484.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.09918, allocations: 8.312 kB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.0992, allocations: 4.312 kB / 484.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.09931, allocations: 69.61 kB / 484.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.09933, allocations: 4 kB / 484.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.09934, allocations: 4 kB / 484.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.09935, allocations: 0 / 484.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.003e-05/0.09944, allocations: 55.97 kB / 484.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.09961, allocations: 185.5 kB / 484.5 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.491e-05/0.0997, allocations: 66.48 kB / 484.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.09976, allocations: 40.84 kB / 484.6 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.09981, allocations: 19.92 kB / 484.7 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.09984, allocations: 42.56 kB / 484.7 MB, free: 236 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.09984, allocations: 0 / 484.7 MB, free: 236 kB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.01963/0.1195, allocations: 1.623 MB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.1195, allocations: 51.41 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1197, allocations: 138 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1197, allocations: 25.7 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.1197, allocations: 84.14 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.1198, allocations: 47.38 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1199, allocations: 49.53 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.12, allocations: 326.8 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006077/0.1206, allocations: 203.8 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/0.1212, allocations: 199.9 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.1225, allocations: 384.6 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1225, allocations: 0 / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001337/0.1238, allocations: 456.7 kB / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1238, allocations: 4 kB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1239, allocations: 0 / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1239, allocations: 0 / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.1244, allocations: 63.94 kB / 488.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1244, allocations: 7.938 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/0.1248, allocations: 39.95 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.1249, allocations: 8 kB / 488.4 MB, free: 12.48 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.0001174/0.125, allocations: 121.9 kB / 488.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.125, allocations: 11.89 kB / 488.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.1265, allocations: 358.1 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1265, allocations: 0 / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1265, allocations: 3.938 kB / 488.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1265, allocations: 4 kB / 488.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/0.1293, allocations: 0.7778 MB / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1293, allocations: 0 / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.1298, allocations: 63.92 kB / 489.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1298, allocations: 4 kB / 489.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.1299, allocations: 16.03 kB / 489.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.1299, allocations: 3.938 kB / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1299, allocations: 3.984 kB / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.1311, allocations: 417.8 kB / 490.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.189e-05/0.1312, allocations: 112.9 kB / 490.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.1313, allocations: 3.984 kB / 490.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.1317, allocations: 47.91 kB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.1317, allocations: 7.984 kB / 490.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.1318, allocations: 11.92 kB / 490.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.602e-05/0.1318, allocations: 105.5 kB / 490.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1318, allocations: 0 / 490.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005443/0.1324, allocations: 171.9 kB / 490.6 MB, free: 10.14 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.002073/0.1345, allocations: 1.094 MB / 491.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.1358, allocations: 387.6 kB / 492.1 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1358, allocations: 0 / 492.1 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005626/0.1363, allocations: 152.1 kB / 492.2 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1367, allocations: 15.98 kB / 492.2 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006424/0.1431, allocations: 2.769 MB / 495 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1434, allocations: 0.6963 MB / 495.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002373/0.1437, allocations: 40.73 kB / 495.7 MB, free: 4.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.1438, allocations: 35.41 kB / 495.8 MB, free: 4.805 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1438, allocations: 0 / 495.8 MB, free: 4.805 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8975/1.041, allocations: 9.807 MB / 0.4937 GB, free: 11.14 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/1.042, allocations: 229.8 kB / 0.4939 GB, free: 10.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/3.219, allocations: 0 / 0.4939 GB, free: 10.89 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