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.001137/0.001137, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 83.86 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3137, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003247/0.317, allocations: 1.817 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3184, allocations: 0.8237 MB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.3184, allocations: 1.375 kB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.3187, allocations: 41.33 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.3189, allocations: 83.94 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.3191, allocations: 63.8 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3193, allocations: 138.3 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.3194, allocations: 10.3 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.3196, allocations: 77.39 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.3197, allocations: 76.58 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.3198, allocations: 3.625 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.3199, allocations: 66.48 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.869e-05/0.32, allocations: 37.72 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.3201, allocations: 42.83 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.3203, allocations: 145.1 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3203, allocations: 4 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3204, allocations: 3.938 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3204, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.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.0005496/0.3209, allocations: 414.2 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.321, allocations: 9.625 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.038e-05/0.321, allocations: 38.62 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003594/0.3214, allocations: 38.75 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3216, allocations: 186.5 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.3216, allocations: 13.34 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.3217, allocations: 14.58 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.3221, allocations: 175.8 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3221, allocations: 3.938 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.3221, allocations: 1.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/0.3221, allocations: 12.23 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.3225, allocations: 135.4 kB / 0.5349 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008509/0.3233, allocations: 0.6445 MB / 0.5355 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.3237, allocations: 108.3 kB / 0.5356 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.3238, allocations: 37.45 kB / 0.5356 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3239, allocations: 0 / 0.5356 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.3239, allocations: 39.94 kB / 0.5357 GB, free: 9.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.3239, allocations: 0 / 0.5357 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004541/0.3243, allocations: 144.3 kB / 0.5358 GB, free: 9.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.3244, allocations: 56.33 kB / 0.5359 GB, free: 9.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3245, allocations: 122.7 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3245, allocations: 27.05 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.3246, allocations: 129.2 kB / 0.5361 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.3246, allocations: 23.56 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.3247, allocations: 32.11 kB / 0.5362 GB, free: 8.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3248, allocations: 321.3 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3249, allocations: 40.52 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.3251, allocations: 89.86 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.3254, allocations: 142.5 kB / 0.5368 GB, free: 8.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3254, allocations: 5.516 kB / 0.5368 GB, free: 8.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003404/0.3258, allocations: 160.8 kB / 0.5369 GB, free: 8.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3258, allocations: 9.531 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3258, allocations: 2.406 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3258, allocations: 7.406 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.326, allocations: 37.88 kB / 0.537 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.326, allocations: 3.469 kB / 0.537 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.3261, allocations: 22.62 kB / 0.537 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3261, allocations: 13.97 kB / 0.537 GB, free: 8.074 MB / 398.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 9.997e-05/0.3262, allocations: 134.8 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.3263, allocations: 11.58 kB / 0.5372 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/0.3266, allocations: 115.8 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3266, allocations: 4.938 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3266, allocations: 0 / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3266, allocations: 8.984 kB / 0.5373 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.3268, allocations: 200.6 kB / 0.5375 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3268, allocations: 1.188 kB / 0.5375 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.327, allocations: 27.94 kB / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.327, allocations: 1.344 kB / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.327, allocations: 1.344 kB / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.327, allocations: 0 / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.327, allocations: 3.984 kB / 0.5375 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.3273, allocations: 210.1 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.3274, allocations: 87.11 kB / 0.5378 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.3274, allocations: 5.156 kB / 0.5378 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.3275, allocations: 3.531 kB / 0.5378 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.3276, allocations: 10.98 kB / 0.5378 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3276, allocations: 1.188 kB / 0.5378 GB, free: 7.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.366e-05/0.3276, allocations: 94.02 kB / 0.5379 GB, free: 7.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3276, allocations: 4 kB / 0.5379 GB, free: 7.238 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.3279, allocations: 31.61 kB / 0.5379 GB, free: 7.227 MB / 398.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.0006184/0.3285, allocations: 0.7499 MB / 0.5387 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.3289, allocations: 98.52 kB / 0.5388 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3289, allocations: 0 / 0.5388 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.329, allocations: 45.59 kB / 0.5388 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.3292, allocations: 7.344 kB / 0.5388 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.3311, allocations: 1.664 MB / 0.5404 GB, free: 4.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.3314, allocations: 0.7116 MB / 0.5411 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.3315, allocations: 27.44 kB / 0.5412 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.3316, allocations: 27.77 kB / 0.5412 GB, free: 4.184 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3316, allocations: 0 / 0.5412 GB, free: 4.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.3495, allocations: 2.312 MB / 0.5434 GB, free: 3.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/7.816, allocations: 7.422 kB / 0.5434 GB, free: 3.02 MB / 398.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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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.csv","/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