Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 107.1 kB / 17.33 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2522/0.2522, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 73.31 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1175, allocations: 62.44 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003791/0.1213, allocations: 1.875 MB / 481.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1227, allocations: 0.8219 MB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.1228, allocations: 0 / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.123, allocations: 35.83 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.1233, allocations: 75.64 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.1236, allocations: 59.81 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1238, allocations: 139.4 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.1238, allocations: 4 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.124, allocations: 71.77 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1242, allocations: 83.64 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1242, allocations: 4 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1244, allocations: 71.89 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.1244, allocations: 31.89 kB / 482.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.1245, allocations: 39.8 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.1248, allocations: 147.7 kB / 483.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1248, allocations: 0 / 483.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1248, allocations: 0 / 483.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1248, allocations: 0 / 483.1 MB, free: 2.035 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005586/0.1254, allocations: 409.6 kB / 483.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1254, allocations: 8.031 kB / 483.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.1255, allocations: 46.73 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/0.1258, allocations: 40.81 kB / 483.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.126, allocations: 192.2 kB / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1261, allocations: 4.375 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1261, allocations: 15.94 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.1265, allocations: 168.1 kB / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1265, allocations: 0 / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.1265, allocations: 15.92 kB / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.1265, allocations: 15.92 kB / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.1269, allocations: 131.8 kB / 484.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008219/0.1277, allocations: 0.6445 MB / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.128, allocations: 110.6 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.1281, allocations: 44.81 kB / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1282, allocations: 0 / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.1282, allocations: 30.56 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1282, allocations: 0 / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004438/0.1287, allocations: 141.5 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1287, allocations: 51.41 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.1288, allocations: 130 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1288, allocations: 29.7 kB / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.1289, allocations: 120 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1289, allocations: 27.64 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.129, allocations: 37.61 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1291, allocations: 318.8 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1293, allocations: 35.97 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1294, allocations: 91.69 kB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.1297, allocations: 147.5 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1297, allocations: 0 / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003239/0.13, allocations: 157.7 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1301, allocations: 6.656 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1301, allocations: 4 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1301, allocations: 8.25 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.1303, allocations: 43.91 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1303, allocations: 7.938 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1305, allocations: 19.83 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1305, allocations: 4 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.00014/0.1306, allocations: 133.7 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.1307, allocations: 7.906 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.131, allocations: 126 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.131, allocations: 0 / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.131, allocations: 0 / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.131, allocations: 7.922 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1312, allocations: 193.6 kB / 486.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.1313, allocations: 0 / 486.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.1314, allocations: 31.97 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1314, allocations: 8 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1314, allocations: 4 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1314, allocations: 0 / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1314, allocations: 0 / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.1317, allocations: 215.3 kB / 487 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.1318, allocations: 88.94 kB / 487.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1318, allocations: 4 kB / 487.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.1319, allocations: 4 kB / 487.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.132, allocations: 15.92 kB / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.132, allocations: 4 kB / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.278e-05/0.132, allocations: 91.27 kB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.132, allocations: 0 / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1323, allocations: 27.91 kB / 487.2 MB, free: 13.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0006477/0.133, allocations: 0.7358 MB / 487.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003335/0.1333, allocations: 116.1 kB / 488.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1333, allocations: 0 / 488.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.1335, allocations: 43.91 kB / 488.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.1338, allocations: 4 kB / 488.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.136, allocations: 1.711 MB / 489.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1363, allocations: 0.7157 MB / 490.5 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.1365, allocations: 33.14 kB / 490.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.1366, allocations: 31.42 kB / 490.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1366, allocations: 0 / 490.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.1499, allocations: 2.124 MB / 492.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.1502, allocations: 261.1 kB / 493 MB, free: 7.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/1.955, allocations: 4 kB / 493 MB, free: 7.723 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches