Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007293/0.0007292, allocations: 97.17 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007801/0.00078, allocations: 172.4 kB / 16.91 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.342/0.342, allocations: 43.58 MB / 315 MB, free: 9.109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000514/0.000514, allocations: 12 kB / 384.7 MB, free: 7.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1248, allocations: 58.87 MB / 443.6 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002149/0.1269, allocations: 1.544 MB / 445.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003974/0.131, allocations: 2.872 MB / 448 MB, free: 8.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.1311, allocations: 4 kB / 448 MB, free: 8.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.1313, allocations: 43.75 kB / 448 MB, free: 8.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.1316, allocations: 71.64 kB / 448.1 MB, free: 8.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.133, allocations: 0.6464 MB / 448.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.1334, allocations: 310.6 kB / 449.1 MB, free: 7.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.805e-05/0.1334, allocations: 36.33 kB / 449.1 MB, free: 7.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1336, allocations: 91.52 kB / 449.2 MB, free: 7.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.1338, allocations: 127.4 kB / 449.3 MB, free: 7.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1338, allocations: 8 kB / 449.3 MB, free: 7.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.1354, allocations: 1.205 MB / 450.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.981e-05/0.1355, allocations: 63.69 kB / 450.6 MB, free: 5.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.1356, allocations: 148.8 kB / 450.7 MB, free: 5.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1368, allocations: 0.8959 MB / 451.6 MB, free: 4.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1368, allocations: 0 / 451.6 MB, free: 4.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1368, allocations: 0 / 451.6 MB, free: 4.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1368, allocations: 0 / 451.6 MB, free: 4.688 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009372/0.1378, allocations: 0.624 MB / 452.2 MB, free: 4.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1378, allocations: 16.02 kB / 452.3 MB, free: 4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.775e-05/0.1379, allocations: 70.7 kB / 452.3 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.138, allocations: 32.56 kB / 452.4 MB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1382, allocations: 235.2 kB / 452.6 MB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1383, allocations: 20.56 kB / 452.6 MB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.1383, allocations: 27.98 kB / 452.6 MB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000723/0.139, allocations: 483.2 kB / 453.1 MB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1391, allocations: 0 / 453.1 MB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.1391, allocations: 8 kB / 453.1 MB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/0.1392, allocations: 48.97 kB / 453.2 MB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008065/0.14, allocations: 0.5543 MB / 453.7 MB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.1417, allocations: 1.311 MB / 455 MB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.1422, allocations: 282.4 kB / 455.3 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.1424, allocations: 104.8 kB / 455.4 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.1425, allocations: 20.23 kB / 455.4 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1425, allocations: 46.5 kB / 455.5 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.1425, allocations: 0 / 455.5 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007434/0.1433, allocations: 337.2 kB / 455.8 MB, free: 260 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.1433, allocations: 59.41 kB / 455.9 MB, free: 188 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1435, allocations: 137.9 kB / 456 MB, free: 44 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1435, allocations: 33.7 kB / 456 MB, free: 4 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2231/0.3666, allocations: 193.1 kB / 456.2 MB, free: 46.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.3668, allocations: 84.17 kB / 456.3 MB, free: 45.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.3668, allocations: 33.62 kB / 456.3 MB, free: 45.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.3669, allocations: 326 kB / 456.6 MB, free: 45.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.3671, allocations: 94.92 kB / 456.7 MB, free: 45.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.3674, allocations: 179.4 kB / 456.9 MB, free: 45.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.3678, allocations: 304.3 kB / 457.2 MB, free: 45.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3678, allocations: 3.188 kB / 457.2 MB, free: 45.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005255/0.3683, allocations: 333.5 kB / 457.5 MB, free: 45.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3684, allocations: 8.469 kB / 457.6 MB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3684, allocations: 2.938 kB / 457.6 MB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3684, allocations: 6.219 kB / 457.6 MB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.3688, allocations: 129.5 kB / 457.7 MB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006659/0.3695, allocations: 2.366 MB / 460.1 MB, free: 43.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3697, allocations: 28.7 kB / 460.1 MB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.3697, allocations: 19.72 kB / 460.1 MB, free: 43.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.3699, allocations: 177.6 kB / 460.3 MB, free: 42.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.3699, allocations: 18.95 kB / 460.3 MB, free: 42.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006979/0.3706, allocations: 380.7 kB / 460.7 MB, free: 42.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3706, allocations: 2.781 kB / 460.7 MB, free: 42.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3706, allocations: 0 / 460.7 MB, free: 42.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3707, allocations: 0 / 460.7 MB, free: 42.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.371, allocations: 347.1 kB / 461 MB, free: 42.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.371, allocations: 0 / 461 MB, free: 42.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.3713, allocations: 106.5 kB / 461.1 MB, free: 42.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3713, allocations: 4.688 kB / 461.1 MB, free: 42.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3714, allocations: 16.2 kB / 461.1 MB, free: 42.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005847/0.372, allocations: 2.354 MB / 463.5 MB, free: 40.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.372, allocations: 0 / 463.5 MB, free: 40.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.3724, allocations: 394.2 kB / 463.9 MB, free: 40.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.3724, allocations: 91.77 kB / 464 MB, free: 40.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.3725, allocations: 10.47 kB / 464 MB, free: 40.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3726, allocations: 15.33 kB / 464 MB, free: 40.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.3727, allocations: 20.06 kB / 464 MB, free: 40.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3727, allocations: 7.719 kB / 464 MB, free: 40.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.417e-05/0.3727, allocations: 107.3 kB / 464.1 MB, free: 39.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3728, allocations: 0 / 464.1 MB, free: 39.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006058/0.3734, allocations: 237.8 kB / 464.3 MB, free: 39.96 MB / 382.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.3744, allocations: 1.154 MB / 465.5 MB, free: 39.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006291/0.3751, allocations: 312 kB / 465.8 MB, free: 39.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3751, allocations: 0 / 465.8 MB, free: 39.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.3754, allocations: 197.1 kB / 466 MB, free: 39.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.3757, allocations: 14.53 kB / 466 MB, free: 39.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.3781, allocations: 2.74 MB / 468.8 MB, free: 37.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.3783, allocations: 0.802 MB / 469.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.3786, allocations: 100.4 kB / 469.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3787, allocations: 89.64 kB / 469.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3787, allocations: 0 / 469.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.3975, allocations: 8.272 MB / 478 MB, free: 35.97 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.3977, allocations: 293.2 kB / 478.3 MB, free: 35.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.453, allocations: 0 / 478.3 MB, free: 35.59 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches