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.001156/0.001156, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 72.98 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1258, allocations: 62.47 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003625/0.1295, allocations: 1.867 MB / 481.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.1321, allocations: 1.41 MB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.1321, allocations: 4 kB / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.1324, allocations: 39.81 kB / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.1326, allocations: 43.69 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.133, allocations: 207.4 kB / 483 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1332, allocations: 107.4 kB / 483.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.1332, allocations: 5.125 kB / 483.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.1334, allocations: 51.72 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.1335, allocations: 47.7 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1335, allocations: 4 kB / 483.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006762/0.1342, allocations: 0.5068 MB / 483.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.1343, allocations: 15.92 kB / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.1343, allocations: 43.67 kB / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.1349, allocations: 359.3 kB / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1349, allocations: 0 / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1349, allocations: 0 / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1349, allocations: 0 / 484.1 MB, free: 0.8867 MB / 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.0006727/0.1356, allocations: 447.1 kB / 484.5 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.1357, allocations: 12.03 kB / 484.6 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.555e-05/0.1358, allocations: 50.73 kB / 484.6 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.733e-05/0.1358, allocations: 20.69 kB / 484.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.136, allocations: 176.2 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1361, allocations: 8.375 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.1361, allocations: 15.94 kB / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.1365, allocations: 137.6 kB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1365, allocations: 0 / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.1365, allocations: 7.984 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1365, allocations: 8 kB / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.1368, allocations: 131.9 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009196/0.1378, allocations: 0.5182 MB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.138, allocations: 102.6 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.1382, allocations: 48.83 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1382, allocations: 0 / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1383, allocations: 38.56 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.1383, allocations: 0 / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005288/0.1388, allocations: 169.3 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1388, allocations: 55.41 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.1389, allocations: 109.8 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.139, allocations: 29.7 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.139, allocations: 115.8 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.1391, allocations: 39.39 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.1391, allocations: 37.61 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1393, allocations: 326.8 kB / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1394, allocations: 35.97 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1396, allocations: 81.12 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.1398, allocations: 129 kB / 486.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1398, allocations: 0 / 486.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004808/0.1403, allocations: 161.3 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1404, allocations: 8 kB / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1404, allocations: 0 / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1404, allocations: 4 kB / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.1406, allocations: 44.12 kB / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003938/0.141, allocations: 0.598 MB / 487.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1412, allocations: 11.84 kB / 487.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.1412, allocations: 12 kB / 487.7 MB, free: 12.94 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.0001072/0.1413, allocations: 117.8 kB / 487.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.1413, allocations: 12.03 kB / 487.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.1418, allocations: 165.3 kB / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1418, allocations: 4 kB / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1418, allocations: 3.938 kB / 488 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1418, allocations: 7.984 kB / 488 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.1421, allocations: 209.6 kB / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1421, allocations: 0 / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.1423, allocations: 43.98 kB / 488.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.1423, allocations: 3.984 kB / 488.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1423, allocations: 7.875 kB / 488.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003141/0.1426, allocations: 0.586 MB / 488.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1426, allocations: 4.094 kB / 488.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.1431, allocations: 299.3 kB / 489.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.1432, allocations: 96.95 kB / 489.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.1433, allocations: 4 kB / 489.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1434, allocations: 15.92 kB / 489.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.1434, allocations: 12.05 kB / 489.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1435, allocations: 8 kB / 489.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.38e-05/0.1435, allocations: 87.27 kB / 489.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1435, allocations: 0 / 489.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005042/0.144, allocations: 79.84 kB / 489.5 MB, free: 11.08 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.001159/0.1452, allocations: 0.9026 MB / 490.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.1456, allocations: 123.9 kB / 490.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1456, allocations: 0 / 490.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.1458, allocations: 71.89 kB / 490.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1462, allocations: 12 kB / 490.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.1484, allocations: 1.766 MB / 492.4 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1488, allocations: 0.7043 MB / 493.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.1489, allocations: 20.95 kB / 493.1 MB, free: 7.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.149, allocations: 35.42 kB / 493.1 MB, free: 7.293 MB / 366.1 MB Notification: Performance of SimCode: time 2.264e-06/0.149, allocations: 0 / 493.1 MB, free: 7.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.1772, allocations: 3.612 MB / 496.7 MB, free: 3.902 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/0.1775, allocations: 287.7 kB / 497 MB, free: 3.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.204, allocations: 4 kB / 497 MB, free: 3.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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