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.001093/0.001093, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 207.8 kB / 18.74 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.338/1.338, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001478, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3237, allocations: 62.44 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.002895/0.3267, allocations: 1.801 MB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3279, allocations: 0.832 MB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.328, allocations: 1.344 kB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.3282, allocations: 45.75 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.3285, allocations: 76.73 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.3287, allocations: 67.33 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3288, allocations: 130.9 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.3289, allocations: 9.5 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3291, allocations: 82 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.3292, allocations: 75.41 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3292, allocations: 9.438 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3294, allocations: 66.27 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.3295, allocations: 33.47 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.3295, allocations: 38.86 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.3297, allocations: 143.4 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3298, allocations: 1.375 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3298, allocations: 0 / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.3298, allocations: 4 kB / 0.5339 GB, free: 10.89 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.0004791/0.3303, allocations: 410.3 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.3303, allocations: 9.438 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.3303, allocations: 54.66 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.3306, allocations: 34.41 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.3308, allocations: 187.5 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3308, allocations: 4.844 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.3309, allocations: 18.41 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.3312, allocations: 176.1 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3312, allocations: 0 / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.3312, allocations: 13.53 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.3313, allocations: 11.8 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.3316, allocations: 139.6 kB / 0.5349 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.3323, allocations: 0.637 MB / 0.5355 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.3326, allocations: 107.6 kB / 0.5356 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3327, allocations: 41.3 kB / 0.5356 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3328, allocations: 3.938 kB / 0.5356 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.3328, allocations: 35.72 kB / 0.5357 GB, free: 9.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3328, allocations: 5.188 kB / 0.5357 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003821/0.3332, allocations: 132.1 kB / 0.5358 GB, free: 9.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.3332, allocations: 51.41 kB / 0.5359 GB, free: 9.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.201e-05/0.3333, allocations: 131.9 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.3333, allocations: 25.7 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.3334, allocations: 125.7 kB / 0.5361 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.3334, allocations: 27.91 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.3335, allocations: 31.34 kB / 0.5362 GB, free: 8.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.3336, allocations: 325.5 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.3337, allocations: 32.59 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3338, allocations: 103.1 kB / 0.5366 GB, free: 8.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.3341, allocations: 137.7 kB / 0.5368 GB, free: 8.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3341, allocations: 1.188 kB / 0.5368 GB, free: 8.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003012/0.3344, allocations: 161 kB / 0.5369 GB, free: 8.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3344, allocations: 9.594 kB / 0.5369 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3344, allocations: 2.25 kB / 0.5369 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3344, allocations: 7.312 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3346, allocations: 46.03 kB / 0.537 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3346, allocations: 3.125 kB / 0.537 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-05/0.3347, allocations: 15.39 kB / 0.537 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3347, allocations: 9.703 kB / 0.537 GB, free: 8.082 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 8.6e-05/0.3348, allocations: 134.3 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.3349, allocations: 11.91 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.3352, allocations: 122.9 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3352, allocations: 5.281 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3352, allocations: 1.156 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3352, allocations: 0 / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.3354, allocations: 196.8 kB / 0.5374 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3354, allocations: 4.844 kB / 0.5375 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.3355, allocations: 28.89 kB / 0.5375 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3356, allocations: 1.5 kB / 0.5375 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.3356, allocations: 0 / 0.5375 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.3356, allocations: 5.359 kB / 0.5375 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3356, allocations: 0 / 0.5375 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.3359, allocations: 217.3 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.3359, allocations: 83.31 kB / 0.5378 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3359, allocations: 1.094 kB / 0.5378 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-05/0.336, allocations: 11.36 kB / 0.5378 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.3361, allocations: 7.359 kB / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3361, allocations: 1.062 kB / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.767e-05/0.3361, allocations: 96.58 kB / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3361, allocations: 1.25 kB / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3364, allocations: 34.27 kB / 0.5379 GB, free: 7.23 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.0005326/0.3369, allocations: 0.747 MB / 0.5386 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.3372, allocations: 101.5 kB / 0.5387 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3372, allocations: 1.125 kB / 0.5387 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3373, allocations: 41.31 kB / 0.5388 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.3376, allocations: 12.77 kB / 0.5388 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3393, allocations: 1.665 MB / 0.5404 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3396, allocations: 0.7138 MB / 0.5411 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.3397, allocations: 30.11 kB / 0.5411 GB, free: 4.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.3397, allocations: 35.86 kB / 0.5412 GB, free: 4.18 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3397, allocations: 0 / 0.5412 GB, free: 4.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.3558, allocations: 2.309 MB / 0.5434 GB, free: 3.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.748, allocations: 6.484 kB / 0.5434 GB, free: 3.016 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