Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.001115/0.001115, allocations: 121.6 kB / 17.78 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.001142/0.001142, allocations: 200.7 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.335/1.335, 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.2092/0.2092, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002525, allocations: 71.89 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.349, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003608/0.3526, allocations: 1.785 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.3549, allocations: 1.004 MB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.3551, allocations: 1.188 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.3554, allocations: 56.7 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.3558, allocations: 69.09 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.3563, allocations: 127 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.3567, allocations: 223.8 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.453e-05/0.3568, allocations: 20.73 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.357, allocations: 87.3 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.3573, allocations: 106 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.3573, allocations: 6.875 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.3578, allocations: 206.3 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.358, allocations: 62.94 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.3581, allocations: 86.98 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.3588, allocations: 305.8 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3588, allocations: 1.375 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3588, allocations: 0 / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.3589, allocations: 0 / 0.5346 GB, free: 10.38 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001125/0.36, allocations: 0.5404 MB / 0.5351 GB, free: 9.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.3601, allocations: 13.66 kB / 0.5351 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.3602, allocations: 68.33 kB / 0.5352 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.3612, allocations: 128.3 kB / 0.5353 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.3618, allocations: 253.7 kB / 0.5355 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.3618, allocations: 17.81 kB / 0.5356 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.3619, allocations: 24.48 kB / 0.5356 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/0.3628, allocations: 435.3 kB / 0.536 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.3628, allocations: 1.531 kB / 0.536 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.3629, allocations: 9.188 kB / 0.536 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.848e-05/0.3629, allocations: 25.27 kB / 0.536 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008169/0.3638, allocations: 394.9 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.3661, allocations: 1.481 MB / 0.5378 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.3664, allocations: 92.41 kB / 0.5379 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.3666, allocations: 52.81 kB / 0.538 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3666, allocations: 9.031 kB / 0.538 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3667, allocations: 35.58 kB / 0.538 GB, free: 7.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.3667, allocations: 3.938 kB / 0.538 GB, free: 7.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006435/0.3673, allocations: 183.6 kB / 0.5382 GB, free: 7.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3674, allocations: 52.34 kB / 0.5383 GB, free: 7.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.3678, allocations: 337.8 kB / 0.5386 GB, free: 7.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3678, allocations: 26.95 kB / 0.5386 GB, free: 7.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.3679, allocations: 178.2 kB / 0.5388 GB, free: 6.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.368, allocations: 23.89 kB / 0.5388 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/0.3681, allocations: 48.34 kB / 0.5388 GB, free: 6.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3682, allocations: 333.7 kB / 0.5392 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.3684, allocations: 68.38 kB / 0.5392 GB, free: 6.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.3686, allocations: 124.5 kB / 0.5393 GB, free: 6.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.369, allocations: 182.4 kB / 0.5395 GB, free: 6.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.369, allocations: 1.344 kB / 0.5395 GB, free: 6.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005681/0.3696, allocations: 246.5 kB / 0.5398 GB, free: 6.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3697, allocations: 5.656 kB / 0.5398 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3697, allocations: 5.094 kB / 0.5398 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.3697, allocations: 3.406 kB / 0.5398 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.3712, allocations: 120.3 kB / 0.5399 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.3731, allocations: 1.841 MB / 0.5417 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.3734, allocations: 34.98 kB / 0.5417 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.3735, allocations: 9.75 kB / 0.5417 GB, free: 4.293 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.3737, allocations: 157.7 kB / 0.5419 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.3737, allocations: 31.02 kB / 0.5419 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.3743, allocations: 195.9 kB / 0.5421 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3743, allocations: 10.2 kB / 0.5421 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3743, allocations: 0 / 0.5421 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3743, allocations: 0 / 0.5421 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.3747, allocations: 272.3 kB / 0.5424 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3747, allocations: 0 / 0.5424 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.3758, allocations: 104.8 kB / 0.5425 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3759, allocations: 0 / 0.5425 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3759, allocations: 9.625 kB / 0.5425 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.3771, allocations: 1.787 MB / 0.5442 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3772, allocations: 3.938 kB / 0.5442 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.3776, allocations: 264.1 kB / 0.5445 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.3778, allocations: 99.77 kB / 0.5446 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.3778, allocations: 1.344 kB / 0.5446 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.378, allocations: 7.281 kB / 0.5446 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.3781, allocations: 16.36 kB / 0.5446 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3781, allocations: 2.312 kB / 0.5446 GB, free: 1.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002774/0.3784, allocations: 248.7 kB / 0.5448 GB, free: 1.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3784, allocations: 0 / 0.5448 GB, free: 1.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003837/0.3788, allocations: 67.61 kB / 0.5449 GB, free: 1.398 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008387/0.3796, allocations: 0.8048 MB / 0.5457 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.3819, allocations: 254.7 kB / 0.5459 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3819, allocations: 0 / 0.5459 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009817/0.3829, allocations: 113.1 kB / 0.546 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.3833, allocations: 39.09 kB / 0.5461 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.3875, allocations: 2.914 MB / 0.5489 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.3879, allocations: 0.7831 MB / 0.5497 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.3881, allocations: 58.17 kB / 0.5497 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.3882, allocations: 71.41 kB / 0.5498 GB, free: 13.29 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3883, allocations: 0 / 0.5498 GB, free: 13.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.4179, allocations: 7.785 MB / 0.5574 GB, free: 5.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.84, allocations: 7.984 kB / 0.5574 GB, free: 5.738 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches