Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.001314/0.001315, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 204.6 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.391/1.391, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.12 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 71.34 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1194, allocations: 62.44 MB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003594/0.123, allocations: 1.818 MB / 482 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.1255, allocations: 1.395 MB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/0.1256, allocations: 0 / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.1258, allocations: 43.77 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1261, allocations: 51.61 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.1267, allocations: 247 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1269, allocations: 107.5 kB / 483.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.127, allocations: 5.125 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.1272, allocations: 59.66 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.545e-05/0.1273, allocations: 47.75 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1273, allocations: 4 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007814/0.1281, allocations: 0.5029 MB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.1281, allocations: 19.91 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.1282, allocations: 51.61 kB / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.1288, allocations: 351.3 kB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1288, allocations: 3.938 kB / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1288, allocations: 0 / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1288, allocations: 4 kB / 484.8 MB, free: 464 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006636/0.1295, allocations: 445.7 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1296, allocations: 8.031 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.1296, allocations: 46.73 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.1297, allocations: 8.844 kB / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.1298, allocations: 180.1 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1299, allocations: 12.38 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.1299, allocations: 15.94 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.1302, allocations: 145.6 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1303, allocations: 3.938 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1303, allocations: 4 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1303, allocations: 4 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.1306, allocations: 135.9 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1317, allocations: 0.5182 MB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.132, allocations: 102.6 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1321, allocations: 56.81 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.1322, allocations: 4 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1322, allocations: 30.56 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.1322, allocations: 0 / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005155/0.1327, allocations: 169.4 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1328, allocations: 51.41 kB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.1329, allocations: 117.8 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1329, allocations: 25.7 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.133, allocations: 107.8 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.133, allocations: 43.39 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.1331, allocations: 37.61 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1332, allocations: 326.8 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1333, allocations: 39.97 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1335, allocations: 73.5 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.1338, allocations: 133.4 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1338, allocations: 0 / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003557/0.1341, allocations: 161.4 kB / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1342, allocations: 7.938 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1342, allocations: 4 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1342, allocations: 0 / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.1344, allocations: 47.97 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003566/0.1348, allocations: 0.5977 MB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.1349, allocations: 15.97 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1349, allocations: 4 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.1351, allocations: 117.8 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.1351, allocations: 7.906 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.1355, allocations: 169.9 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1355, allocations: 4 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.1356, allocations: 7.938 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1356, allocations: 3.938 kB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.1358, allocations: 209.6 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1359, allocations: 0 / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.1361, allocations: 43.97 kB / 489 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1361, allocations: 4 kB / 489 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1361, allocations: 7.984 kB / 489 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003147/0.1365, allocations: 0.5898 MB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1365, allocations: 0 / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.137, allocations: 297.9 kB / 489.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.1371, allocations: 96.97 kB / 490 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1372, allocations: 0 / 490 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1373, allocations: 4 kB / 490 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.1373, allocations: 19.92 kB / 490 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.1374, allocations: 11.92 kB / 490 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.88e-05/0.1374, allocations: 87.28 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1374, allocations: 64 / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.1378, allocations: 79.83 kB / 490.2 MB, free: 10.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.1389, allocations: 0.911 MB / 491.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.1393, allocations: 132.1 kB / 491.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1393, allocations: 0 / 491.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.1395, allocations: 71.89 kB / 491.3 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1399, allocations: 12 kB / 491.3 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.1422, allocations: 1.716 MB / 493 MB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1426, allocations: 0.7041 MB / 493.7 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.851e-05/0.1427, allocations: 16.55 kB / 493.8 MB, free: 6.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.1428, allocations: 35.42 kB / 493.8 MB, free: 6.902 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1428, allocations: 0 / 493.8 MB, free: 6.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.1684, allocations: 3.815 MB / 497.6 MB, free: 3.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.55, allocations: 9.438 kB / 497.6 MB, free: 3.277 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches