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.001033/0.001033, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 78.84 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1066, allocations: 62.44 MB / 480.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003065/0.1097, allocations: 1.84 MB / 482 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.1118, allocations: 1.367 MB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.592e-05/0.1119, allocations: 4 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1122, allocations: 59.66 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.1125, allocations: 83.56 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.113, allocations: 219.1 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.1134, allocations: 393.8 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.244e-05/0.1135, allocations: 48.72 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.1138, allocations: 163.1 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.1141, allocations: 175.1 kB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.1141, allocations: 16 kB / 484.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007037/0.1148, allocations: 459 kB / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.115, allocations: 139.3 kB / 485.1 MB, free: 232 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.1152, allocations: 190.6 kB / 485.3 MB, free: 40 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008527/0.1161, allocations: 0.6152 MB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1161, allocations: 0 / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1161, allocations: 0 / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.1161, allocations: 0 / 485.9 MB, free: 15.42 MB / 366.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.001298/0.1174, allocations: 0.7783 MB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1175, allocations: 8.031 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.1176, allocations: 106.7 kB / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1178, allocations: 52.28 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.1182, allocations: 315.5 kB / 487.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.1182, allocations: 33.38 kB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.1183, allocations: 47.92 kB / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009468/0.1192, allocations: 0.6953 MB / 487.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1193, allocations: 0 / 487.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.1193, allocations: 23.98 kB / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.599e-05/0.1194, allocations: 53.28 kB / 488 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1205, allocations: 0.7234 MB / 488.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.1231, allocations: 1.712 MB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.1237, allocations: 359.2 kB / 490.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.124, allocations: 145.2 kB / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.124, allocations: 20.2 kB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1241, allocations: 30.8 kB / 491 MB, free: 10.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.272e-06/0.1241, allocations: 0 / 491 MB, free: 10.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009709/0.125, allocations: 491.5 kB / 491.4 MB, free: 9.609 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1251, allocations: 59.41 kB / 491.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.1256, allocations: 453.4 kB / 491.9 MB, free: 9.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.1257, allocations: 33.7 kB / 492 MB, free: 9.047 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.1258, allocations: 263.5 kB / 492.2 MB, free: 8.785 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.442e-05/0.1259, allocations: 98.58 kB / 492.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.1261, allocations: 77.69 kB / 492.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1263, allocations: 354.7 kB / 492.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.1266, allocations: 143.9 kB / 492.9 MB, free: 8.109 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.1269, allocations: 253.2 kB / 493.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.1276, allocations: 433.3 kB / 493.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.1276, allocations: 3.938 kB / 493.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000936/0.1286, allocations: 477.9 kB / 494 MB, free: 6.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1286, allocations: 10.19 kB / 494 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1286, allocations: 4 kB / 494 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1286, allocations: 4 kB / 494 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.1292, allocations: 163.8 kB / 494.2 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.1313, allocations: 3.61 MB / 497.8 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.1316, allocations: 59.27 kB / 497.9 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.1317, allocations: 27.92 kB / 497.9 MB, free: 2.852 MB / 366.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.0002572/0.132, allocations: 221.6 kB / 498.1 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.132, allocations: 35.81 kB / 498.2 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.1331, allocations: 0.5333 MB / 498.7 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.1331, allocations: 0 / 498.7 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.1331, allocations: 4 kB / 498.7 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1331, allocations: 4 kB / 498.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.1337, allocations: 461.1 kB / 499.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1337, allocations: 0 / 499.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.1343, allocations: 139.9 kB / 499.3 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1343, allocations: 0 / 499.3 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.1343, allocations: 15.94 kB / 499.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.1362, allocations: 3.614 MB / 0.4911 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1362, allocations: 0 / 0.4911 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.1373, allocations: 0.6599 MB / 0.4918 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.1375, allocations: 160.5 kB / 0.4919 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.1376, allocations: 4 kB / 0.4919 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.1378, allocations: 15.94 kB / 0.4919 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.1379, allocations: 27.91 kB / 0.492 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.1379, allocations: 19.98 kB / 0.492 GB, free: 12.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004019/0.1383, allocations: 339.1 kB / 0.4923 GB, free: 12.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1384, allocations: 0 / 0.4923 GB, free: 12.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000596/0.139, allocations: 171.6 kB / 0.4925 GB, free: 12.22 MB / 382.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.001672/0.1406, allocations: 1.286 MB / 0.4937 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.1418, allocations: 0.4927 MB / 0.4942 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1418, allocations: 0 / 0.4942 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.1425, allocations: 255.7 kB / 0.4945 GB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.1429, allocations: 37.5 kB / 0.4945 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/0.1491, allocations: 4.975 MB / 0.4993 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.1497, allocations: 0.9054 MB / 0.5002 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000404/0.1501, allocations: 143 kB / 0.5004 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.1503, allocations: 159.4 kB / 0.5005 GB, free: 3.754 MB / 382.1 MB Notification: Performance of SimCode: time 2.194e-06/0.1503, allocations: 0 / 0.5005 GB, free: 3.754 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.209/0.3593, allocations: 11.03 MB / 0.5113 GB, free: 42.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.21, allocations: 2.75 kB / 0.5113 GB, free: 42.17 MB / 382.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