Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001586/0.001586, allocations: 117.6 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.001272/0.001272, allocations: 199.9 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.427/1.427, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 79.86 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3324, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003305/0.3358, allocations: 1.835 MB / 0.5325 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.338, allocations: 1.365 MB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.3381, allocations: 1.375 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.3385, allocations: 56.17 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.3387, allocations: 84.06 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.3393, allocations: 223.1 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.3397, allocations: 393.5 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.3398, allocations: 56.48 kB / 0.5346 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.3401, allocations: 156.2 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.3404, allocations: 174.7 kB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.3404, allocations: 15.28 kB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007879/0.3412, allocations: 462.1 kB / 0.5353 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.3414, allocations: 130.2 kB / 0.5355 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.3416, allocations: 194 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008709/0.3425, allocations: 0.6277 MB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3425, allocations: 0 / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3425, allocations: 1.094 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.3425, allocations: 0 / 0.5363 GB, free: 9.281 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001329/0.3439, allocations: 0.7858 MB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.3439, allocations: 13.42 kB / 0.537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.3441, allocations: 100.9 kB / 0.5371 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.3442, allocations: 56.34 kB / 0.5372 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.3447, allocations: 323.6 kB / 0.5375 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.3447, allocations: 30.72 kB / 0.5375 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.68e-05/0.3448, allocations: 52.17 kB / 0.5376 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.3458, allocations: 0.6901 MB / 0.5382 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3458, allocations: 3.938 kB / 0.5383 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.3459, allocations: 16.16 kB / 0.5383 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.526e-05/0.346, allocations: 62.39 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.347, allocations: 0.7287 MB / 0.539 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.3495, allocations: 1.707 MB / 0.5407 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.3501, allocations: 361.4 kB / 0.541 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.3504, allocations: 148.3 kB / 0.5412 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.3505, allocations: 8.844 kB / 0.5412 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3505, allocations: 37.02 kB / 0.5412 GB, free: 5.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.3505, allocations: 0 / 0.5412 GB, free: 5.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001022/0.3515, allocations: 498.9 kB / 0.5417 GB, free: 5.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.3516, allocations: 54.75 kB / 0.5418 GB, free: 5.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.3521, allocations: 456.7 kB / 0.5422 GB, free: 5.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.3522, allocations: 31.02 kB / 0.5422 GB, free: 5.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.3524, allocations: 256.8 kB / 0.5425 GB, free: 4.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.783e-05/0.3525, allocations: 111.2 kB / 0.5426 GB, free: 4.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.3526, allocations: 86.2 kB / 0.5427 GB, free: 4.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3528, allocations: 358.4 kB / 0.543 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.3531, allocations: 137 kB / 0.5431 GB, free: 4.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.3535, allocations: 249 kB / 0.5434 GB, free: 4.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006987/0.3542, allocations: 433.6 kB / 0.5438 GB, free: 3.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3542, allocations: 3.938 kB / 0.5438 GB, free: 3.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008467/0.3551, allocations: 480.9 kB / 0.5442 GB, free: 3.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.3551, allocations: 8 kB / 0.5443 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3551, allocations: 7.938 kB / 0.5443 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3551, allocations: 4 kB / 0.5443 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005903/0.3557, allocations: 167.8 kB / 0.5444 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.3579, allocations: 3.606 MB / 0.5479 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.3582, allocations: 59.5 kB / 0.548 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.3583, allocations: 31.94 kB / 0.548 GB, free: 15.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002902/0.3586, allocations: 217.9 kB / 0.5482 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.3587, allocations: 35.77 kB / 0.5483 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.3598, allocations: 0.5334 MB / 0.5488 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.3598, allocations: 4 kB / 0.5488 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.3598, allocations: 4 kB / 0.5488 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3598, allocations: 7.922 kB / 0.5488 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.3604, allocations: 457.1 kB / 0.5492 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3605, allocations: 4 kB / 0.5493 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.361, allocations: 139.9 kB / 0.5494 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.361, allocations: 0 / 0.5494 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.361, allocations: 16 kB / 0.5494 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.3631, allocations: 3.606 MB / 0.5529 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3632, allocations: 4.031 kB / 0.5529 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3642, allocations: 0.6562 MB / 0.5536 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.3645, allocations: 160.7 kB / 0.5537 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.3646, allocations: 8 kB / 0.5537 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.3648, allocations: 15.92 kB / 0.5537 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.3649, allocations: 27.91 kB / 0.5538 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.3649, allocations: 16 kB / 0.5538 GB, free: 9.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004313/0.3653, allocations: 347.1 kB / 0.5541 GB, free: 8.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3653, allocations: 0 / 0.5541 GB, free: 8.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005766/0.3659, allocations: 163.5 kB / 0.5543 GB, free: 8.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/0.3675, allocations: 1.286 MB / 0.5555 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.3686, allocations: 440.3 kB / 0.5559 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3686, allocations: 0 / 0.5559 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006432/0.3693, allocations: 251.8 kB / 0.5562 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.3697, allocations: 49.36 kB / 0.5562 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006417/0.3761, allocations: 4.878 MB / 0.561 GB, free: 1.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.3767, allocations: 0.9092 MB / 0.5619 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003369/0.3771, allocations: 142.9 kB / 0.562 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.3773, allocations: 163.4 kB / 0.5622 GB, free: 372 kB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3774, allocations: 0 / 0.5622 GB, free: 372 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/0.4176, allocations: 11.26 MB / 0.5732 GB, free: 5.332 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.71, allocations: 11.28 kB / 0.5732 GB, free: 5.328 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches