Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001075/0.001075, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, 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.215/0.215, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3524, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.0033/0.3558, allocations: 1.677 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3574, allocations: 0.8998 MB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.3575, allocations: 1 kB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.3578, allocations: 28.98 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.358, allocations: 58.17 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.3584, allocations: 128.3 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.3586, allocations: 146.3 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.3587, allocations: 19.23 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.953e-05/0.3588, allocations: 57.31 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.359, allocations: 67.45 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.359, allocations: 5.25 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.3594, allocations: 209.1 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.508e-05/0.3594, allocations: 46.42 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.064e-05/0.3595, allocations: 61.42 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.3599, allocations: 243.5 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.36, allocations: 0 / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.36, allocations: 1.375 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.36, allocations: 4 kB / 0.5341 GB, free: 10.77 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007597/0.3608, allocations: 472.2 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.3608, allocations: 9.625 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.133e-05/0.3609, allocations: 49.61 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.3621, allocations: 112.7 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.3624, allocations: 230.1 kB / 0.5349 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3624, allocations: 9.875 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.3625, allocations: 16.62 kB / 0.5349 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007229/0.3632, allocations: 318.3 kB / 0.5352 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3632, allocations: 1.125 kB / 0.5352 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.3632, allocations: 9.078 kB / 0.5352 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/0.3633, allocations: 24.03 kB / 0.5353 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008426/0.3641, allocations: 319.9 kB / 0.5356 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3657, allocations: 0.8386 MB / 0.5364 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007162/0.3664, allocations: 218 kB / 0.5366 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.3667, allocations: 88.89 kB / 0.5367 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.3668, allocations: 2.219 kB / 0.5367 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3668, allocations: 39.69 kB / 0.5367 GB, free: 8.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/0.3668, allocations: 0 / 0.5367 GB, free: 8.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001082/0.3679, allocations: 295.7 kB / 0.537 GB, free: 8.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3679, allocations: 60.56 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.3681, allocations: 186.2 kB / 0.5372 GB, free: 8.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3682, allocations: 26.89 kB / 0.5373 GB, free: 8.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.3683, allocations: 144.2 kB / 0.5374 GB, free: 8.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.3683, allocations: 31.92 kB / 0.5374 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.3684, allocations: 51.92 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3685, allocations: 326 kB / 0.5378 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.3688, allocations: 82.67 kB / 0.5379 GB, free: 7.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.3692, allocations: 139.3 kB / 0.538 GB, free: 7.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/0.3698, allocations: 219 kB / 0.5382 GB, free: 7.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3698, allocations: 1.062 kB / 0.5382 GB, free: 7.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007556/0.3706, allocations: 273.9 kB / 0.5385 GB, free: 7.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3706, allocations: 5.656 kB / 0.5385 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3706, allocations: 5.781 kB / 0.5385 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3706, allocations: 3.125 kB / 0.5385 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.3711, allocations: 81.14 kB / 0.5386 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009193/0.372, allocations: 1.786 MB / 0.5403 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.3723, allocations: 24.27 kB / 0.5403 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.3723, allocations: 11.39 kB / 0.5403 GB, free: 5.426 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * 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.000146/0.3724, allocations: 146.6 kB / 0.5405 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.3725, allocations: 21.41 kB / 0.5405 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008179/0.3733, allocations: 274.1 kB / 0.5408 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3734, allocations: 0.875 kB / 0.5408 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3734, allocations: 0 / 0.5408 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3734, allocations: 5.094 kB / 0.5408 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.3737, allocations: 248.6 kB / 0.541 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3737, allocations: 0 / 0.541 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.3741, allocations: 72.39 kB / 0.5411 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3741, allocations: 0 / 0.5411 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.3741, allocations: 11.33 kB / 0.5411 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008895/0.375, allocations: 1.787 MB / 0.5428 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.375, allocations: 3.938 kB / 0.5428 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.3758, allocations: 319.1 kB / 0.5431 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.3758, allocations: 93.19 kB / 0.5432 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.3759, allocations: 1.156 kB / 0.5432 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.3761, allocations: 11.33 kB / 0.5432 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.3762, allocations: 13.52 kB / 0.5433 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.3762, allocations: 16.62 kB / 0.5433 GB, free: 2.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.3763, allocations: 134.8 kB / 0.5434 GB, free: 2.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3763, allocations: 0 / 0.5434 GB, free: 2.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000384/0.3767, allocations: 57.72 kB / 0.5435 GB, free: 2.539 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 (10): * Single equations (assignments): 7 * 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.001099/0.3778, allocations: 0.8837 MB / 0.5443 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008463/0.3787, allocations: 234.8 kB / 0.5445 GB, free: 1.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3787, allocations: 0 / 0.5445 GB, free: 1.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.3792, allocations: 139.9 kB / 0.5447 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.3795, allocations: 7.656 kB / 0.5447 GB, free: 1.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.383, allocations: 2.331 MB / 0.547 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3834, allocations: 0.7402 MB / 0.5477 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.3836, allocations: 69.75 kB / 0.5478 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.3837, allocations: 54.05 kB / 0.5478 GB, free: 14.97 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3837, allocations: 0 / 0.5478 GB, free: 14.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.4083, allocations: 4.938 MB / 0.5526 GB, free: 10.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.76, allocations: 18.44 kB / 0.5526 GB, free: 10.64 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches