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.001648/0.001648, allocations: 106.4 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001953, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 87.59 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1025, allocations: 62.43 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002773/0.1053, allocations: 1.527 MB / 480.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1074, allocations: 1.484 MB / 482.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.1074, allocations: 0 / 482.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.1077, allocations: 31.83 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.1079, allocations: 39.77 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.1084, allocations: 171.7 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.1085, allocations: 55.72 kB / 482.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.1086, allocations: 7.938 kB / 482.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.861e-05/0.1086, allocations: 23.88 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.1087, allocations: 31.84 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.1087, allocations: 0 / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006213/0.1093, allocations: 339.5 kB / 483.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.1094, allocations: 4 kB / 483.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.1094, allocations: 31.8 kB / 483.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.1099, allocations: 275.4 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1099, allocations: 0 / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1099, allocations: 0 / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1099, allocations: 3.938 kB / 483.4 MB, free: 1.594 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.0005332/0.1105, allocations: 415.2 kB / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1105, allocations: 12.86 kB / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.1106, allocations: 34.75 kB / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.1106, allocations: 4.844 kB / 483.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1107, allocations: 172.3 kB / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1108, allocations: 8.375 kB / 484 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.1108, allocations: 384 / 484 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1109, allocations: 73.55 kB / 484.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1109, allocations: 0 / 484.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1109, allocations: 4 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.111, allocations: 0 / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.1111, allocations: 59.97 kB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.1113, allocations: 193.5 kB / 484.3 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/0.1114, allocations: 58.56 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.1114, allocations: 36.84 kB / 484.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.873e-05/0.1115, allocations: 24.16 kB / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1115, allocations: 42.5 kB / 484.5 MB, free: 316 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.1115, allocations: 0 / 484.5 MB, free: 316 kB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02134/0.1329, allocations: 1.622 MB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.1329, allocations: 55.39 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1331, allocations: 136.7 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.1331, allocations: 29.7 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.1332, allocations: 80.14 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.1332, allocations: 43.45 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1334, allocations: 45.59 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.1335, allocations: 322.8 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/0.1341, allocations: 203.8 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006187/0.1347, allocations: 210.9 kB / 487.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.136, allocations: 372.7 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.136, allocations: 0 / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001379/0.1374, allocations: 465.2 kB / 488 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1375, allocations: 4 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1375, allocations: 0 / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1375, allocations: 0 / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.138, allocations: 63.94 kB / 488.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.138, allocations: 4 kB / 488.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.1384, allocations: 35.95 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.1385, allocations: 7.984 kB / 488.2 MB, free: 12.57 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.0001315/0.1386, allocations: 129.7 kB / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.1387, allocations: 7.906 kB / 488.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.1401, allocations: 369.9 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1401, allocations: 0 / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1402, allocations: 0 / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1402, allocations: 0 / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00287/0.143, allocations: 0.7778 MB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1431, allocations: 4.094 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.1436, allocations: 71.86 kB / 489.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1436, allocations: 0 / 489.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.1436, allocations: 4 kB / 489.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1436, allocations: 15.92 kB / 489.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1436, allocations: 0 / 489.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.1449, allocations: 421.7 kB / 489.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1451, allocations: 112.9 kB / 490 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.1451, allocations: 0 / 490 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.1456, allocations: 47.89 kB / 490.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.1456, allocations: 8 kB / 490.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.1456, allocations: 7.984 kB / 490.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.285e-05/0.1457, allocations: 95.27 kB / 490.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1457, allocations: 4 kB / 490.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005955/0.1463, allocations: 172 kB / 490.4 MB, free: 10.22 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.002296/0.1486, allocations: 1.098 MB / 491.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.1499, allocations: 375.7 kB / 491.8 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.15, allocations: 0 / 491.8 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.1506, allocations: 148.1 kB / 492 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.151, allocations: 27.3 kB / 492 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/0.1578, allocations: 2.768 MB / 494.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.158, allocations: 0.7004 MB / 495.5 MB, free: 4.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.1583, allocations: 36.73 kB / 495.5 MB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.1585, allocations: 35.41 kB / 495.6 MB, free: 4.898 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1585, allocations: 0 / 495.6 MB, free: 4.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4317/0.5902, allocations: 9.603 MB / 0.4933 GB, free: 11.42 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003331/0.5905, allocations: 237.2 kB / 0.4935 GB, free: 11.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/2.911, allocations: 0 / 0.4935 GB, free: 11.16 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