Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.001299/0.001299, allocations: 116.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001357, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.12 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 71.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3399, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003363/0.3433, allocations: 2.084 MB / 0.5326 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.3465, allocations: 1.989 MB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.3466, allocations: 2.75 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.3469, allocations: 68.09 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.3474, allocations: 154.9 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.3486, allocations: 0.5825 MB / 0.5353 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.349, allocations: 389.5 kB / 0.5357 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.308e-05/0.3491, allocations: 38.34 kB / 0.5357 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.3494, allocations: 164.8 kB / 0.5359 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.3496, allocations: 188.2 kB / 0.5361 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.3497, allocations: 11.09 kB / 0.5361 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.3517, allocations: 1.636 MB / 0.5377 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.3518, allocations: 94.52 kB / 0.5378 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.352, allocations: 145.2 kB / 0.5379 GB, free: 8.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.3534, allocations: 1.076 MB / 0.5389 GB, free: 7.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3534, allocations: 0 / 0.5389 GB, free: 7.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3534, allocations: 0 / 0.5389 GB, free: 7.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3535, allocations: 0 / 0.5389 GB, free: 7.355 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001109/0.3546, allocations: 0.6896 MB / 0.5396 GB, free: 6.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3546, allocations: 9.125 kB / 0.5396 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.246e-05/0.3547, allocations: 82.78 kB / 0.5397 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/0.3548, allocations: 37.2 kB / 0.5397 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.3552, allocations: 262.5 kB / 0.54 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.3552, allocations: 25.73 kB / 0.54 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.3553, allocations: 36.08 kB / 0.54 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.3561, allocations: 0.5013 MB / 0.5405 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3562, allocations: 0 / 0.5405 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.3562, allocations: 14.52 kB / 0.5405 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-05/0.3563, allocations: 48.06 kB / 0.5406 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008558/0.3571, allocations: 0.5275 MB / 0.5411 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.3591, allocations: 1.295 MB / 0.5424 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.3599, allocations: 377.5 kB / 0.5427 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.3602, allocations: 136.8 kB / 0.5429 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.3603, allocations: 13.64 kB / 0.5429 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3603, allocations: 35.62 kB / 0.5429 GB, free: 4.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.3603, allocations: 0 / 0.5429 GB, free: 4.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009303/0.3612, allocations: 429 kB / 0.5433 GB, free: 4.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.3613, allocations: 54.5 kB / 0.5434 GB, free: 4.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.3616, allocations: 314.3 kB / 0.5437 GB, free: 4.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.3617, allocations: 30.77 kB / 0.5437 GB, free: 4.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3618, allocations: 195.4 kB / 0.5439 GB, free: 3.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.435e-05/0.3619, allocations: 97.75 kB / 0.544 GB, free: 3.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.362, allocations: 69.34 kB / 0.544 GB, free: 3.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3622, allocations: 338.8 kB / 0.5444 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.3624, allocations: 119.9 kB / 0.5445 GB, free: 3.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.3627, allocations: 171.3 kB / 0.5446 GB, free: 3.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.3632, allocations: 288 kB / 0.5449 GB, free: 2.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3632, allocations: 0 / 0.5449 GB, free: 2.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006645/0.3639, allocations: 379.1 kB / 0.5453 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3639, allocations: 4 kB / 0.5453 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3639, allocations: 0 / 0.5453 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.364, allocations: 4 kB / 0.5453 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.3645, allocations: 131.9 kB / 0.5454 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.3662, allocations: 3.012 MB / 0.5484 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.3664, allocations: 39.67 kB / 0.5484 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.3665, allocations: 15.98 kB / 0.5484 GB, free: 15.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002111/0.3667, allocations: 181.7 kB / 0.5486 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.3668, allocations: 31.75 kB / 0.5486 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009237/0.3677, allocations: 459.1 kB / 0.5491 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3677, allocations: 4 kB / 0.5491 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3677, allocations: 0 / 0.5491 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.3677, allocations: 3.938 kB / 0.5491 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.3682, allocations: 369.3 kB / 0.5494 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3682, allocations: 0 / 0.5494 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.3687, allocations: 123.8 kB / 0.5495 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.3688, allocations: 11.98 kB / 0.5495 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.3688, allocations: 8 kB / 0.5496 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.3706, allocations: 3.008 MB / 0.5525 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3707, allocations: 3.984 kB / 0.5525 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.3713, allocations: 440 kB / 0.5529 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.811e-05/0.3715, allocations: 104.9 kB / 0.553 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.3715, allocations: 15.92 kB / 0.553 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.3717, allocations: 8 kB / 0.553 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.3718, allocations: 23.97 kB / 0.5531 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.3718, allocations: 11.98 kB / 0.5531 GB, free: 10.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002417/0.3721, allocations: 233.9 kB / 0.5533 GB, free: 9.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.3721, allocations: 0 / 0.5533 GB, free: 9.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006915/0.3728, allocations: 199.2 kB / 0.5535 GB, free: 9.652 MB / 414.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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001501/0.3743, allocations: 1.122 MB / 0.5546 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009709/0.3753, allocations: 367.9 kB / 0.5549 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3753, allocations: 0 / 0.5549 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005528/0.3758, allocations: 227.7 kB / 0.5551 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.3764, allocations: 55.66 kB / 0.5552 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.3811, allocations: 3.538 MB / 0.5587 GB, free: 4.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.3815, allocations: 0.834 MB / 0.5595 GB, free: 3.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003046/0.3818, allocations: 126.7 kB / 0.5596 GB, free: 3.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.382, allocations: 115.4 kB / 0.5597 GB, free: 3.141 MB / 414.1 MB Notification: Performance of SimCode: time 3.066e-06/0.382, allocations: 0 / 0.5597 GB, free: 3.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.4144, allocations: 11.14 MB / 0.5706 GB, free: 8.227 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.95, allocations: 7.797 kB / 0.5706 GB, free: 8.223 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_curvedOverall_DPMFLOW/dp_curvedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches