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.001131/0.001131, allocations: 108.5 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.001438/0.001438, 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.399/1.399, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 85.05 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1344, allocations: 62.44 MB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003705/0.1381, allocations: 1.876 MB / 481.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1398, allocations: 0.8258 MB / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.14, allocations: 0 / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.1402, allocations: 35.83 kB / 482.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.1406, allocations: 71.66 kB / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.1408, allocations: 63.73 kB / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.1411, allocations: 203.4 kB / 482.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.75e-05/0.1412, allocations: 8 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.1414, allocations: 67.77 kB / 482.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.1416, allocations: 71.73 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1416, allocations: 4 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.1418, allocations: 67.89 kB / 482.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1419, allocations: 39.88 kB / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.142, allocations: 43.67 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.1422, allocations: 135.9 kB / 482.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1422, allocations: 0 / 482.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1422, allocations: 0 / 482.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1423, allocations: 0 / 482.9 MB, free: 2.078 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.0007713/0.143, allocations: 415.1 kB / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.1431, allocations: 8.031 kB / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.1432, allocations: 46.75 kB / 483.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004446/0.1437, allocations: 28.81 kB / 483.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.1439, allocations: 192.2 kB / 483.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.144, allocations: 12.36 kB / 483.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.144, allocations: 11.94 kB / 483.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.1444, allocations: 176.1 kB / 483.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1444, allocations: 3.984 kB / 483.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.1445, allocations: 8 kB / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.1445, allocations: 11.94 kB / 483.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.1448, allocations: 135.8 kB / 483.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000954/0.1458, allocations: 0.6444 MB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.1462, allocations: 106.7 kB / 484.7 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1463, allocations: 40.83 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1463, allocations: 0 / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1464, allocations: 34.56 kB / 484.7 MB, free: 28 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1464, allocations: 4 kB / 484.8 MB, free: 24 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004964/0.1469, allocations: 141.6 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1469, allocations: 55.41 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1471, allocations: 129.9 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1471, allocations: 25.7 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.1472, allocations: 119.9 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.1472, allocations: 27.66 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.1473, allocations: 37.61 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.1475, allocations: 318.8 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1476, allocations: 39.95 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.1478, allocations: 95.64 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1481, allocations: 147.5 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1481, allocations: 0 / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003539/0.1485, allocations: 157.9 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1485, allocations: 8 kB / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1485, allocations: 3.984 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1485, allocations: 4 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.1487, allocations: 43.97 kB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1487, allocations: 4.062 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1488, allocations: 23.77 kB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.1489, allocations: 8 kB / 486.1 MB, free: 14.54 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.0001068/0.149, allocations: 133.9 kB / 486.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.149, allocations: 7.906 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.1493, allocations: 117.9 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.1494, allocations: 3.984 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1494, allocations: 0 / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1494, allocations: 4 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.1496, allocations: 197.6 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1496, allocations: 4 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.1498, allocations: 31.97 kB / 486.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1498, allocations: 0 / 486.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1498, allocations: 0 / 486.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1498, allocations: 0 / 486.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1498, allocations: 0 / 486.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.1501, allocations: 223.2 kB / 486.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.1502, allocations: 88.94 kB / 486.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1502, allocations: 4 kB / 486.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.78e-05/0.1503, allocations: 4 kB / 486.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.1504, allocations: 7.984 kB / 486.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1504, allocations: 4 kB / 486.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.1505, allocations: 91.27 kB / 487 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1505, allocations: 4 kB / 487 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1508, allocations: 27.91 kB / 487 MB, free: 13.51 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.0008844/0.1517, allocations: 0.7436 MB / 487.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.1522, allocations: 99.8 kB / 487.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1522, allocations: 0 / 487.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.1523, allocations: 43.91 kB / 487.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.1526, allocations: 12.44 kB / 487.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1546, allocations: 1.702 MB / 489.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.1552, allocations: 0.7121 MB / 490.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.1554, allocations: 24.53 kB / 490.4 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.1554, allocations: 31.42 kB / 490.4 MB, free: 9.969 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1554, allocations: 0 / 490.4 MB, free: 9.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.1694, allocations: 2.076 MB / 492.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/0.1697, allocations: 257.8 kB / 492.7 MB, free: 7.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/1.946, allocations: 2.5 kB / 492.7 MB, free: 7.82 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