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.001436/0.001436, allocations: 108.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 82.73 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1333, allocations: 62.43 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003499/0.1368, allocations: 1.875 MB / 481.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1391, allocations: 1.387 MB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1393, allocations: 4 kB / 482.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.1395, allocations: 31.83 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.1398, allocations: 47.69 kB / 483 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007347/0.1405, allocations: 227.3 kB / 483.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1407, allocations: 99.47 kB / 483.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.1408, allocations: 5.125 kB / 483.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.141, allocations: 59.64 kB / 483.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.1411, allocations: 47.77 kB / 483.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1411, allocations: 4 kB / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007451/0.1419, allocations: 0.5029 MB / 483.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.1419, allocations: 23.84 kB / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/0.142, allocations: 43.73 kB / 484 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.1426, allocations: 363.3 kB / 484.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1426, allocations: 0 / 484.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1426, allocations: 0 / 484.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1426, allocations: 0 / 484.3 MB, free: 0.7812 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.0006852/0.1433, allocations: 441.5 kB / 484.7 MB, free: 312 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.1434, allocations: 8.031 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.1434, allocations: 42.75 kB / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.1435, allocations: 20.75 kB / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.1437, allocations: 184.2 kB / 485 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1437, allocations: 8.375 kB / 485 MB, free: 0 / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.1437, allocations: 16.05 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.1441, allocations: 141.5 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1441, allocations: 3.938 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1442, allocations: 4 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1442, allocations: 4 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.1445, allocations: 139.8 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000954/0.1455, allocations: 0.5182 MB / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.1457, allocations: 98.66 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.1459, allocations: 52.81 kB / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.1459, allocations: 4 kB / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.146, allocations: 34.56 kB / 486 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.146, allocations: 0 / 486 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005079/0.1465, allocations: 169.4 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1466, allocations: 55.39 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1467, allocations: 113.8 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1467, allocations: 25.7 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1468, allocations: 107.8 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.1469, allocations: 47.39 kB / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.147, allocations: 37.61 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1471, allocations: 322.8 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1473, allocations: 35.97 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.1474, allocations: 85.05 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.1477, allocations: 125.1 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1477, allocations: 0 / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003651/0.1481, allocations: 165.3 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1481, allocations: 8 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1481, allocations: 0 / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1481, allocations: 4 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.1484, allocations: 47.91 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004541/0.1489, allocations: 0.5901 MB / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.149, allocations: 19.83 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.149, allocations: 8 kB / 487.9 MB, free: 12.84 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.0001166/0.1491, allocations: 117.8 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.1492, allocations: 4.375 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.1496, allocations: 177.9 kB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1497, allocations: 0 / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.1497, allocations: 3.938 kB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1497, allocations: 0 / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.15, allocations: 209.6 kB / 488.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.15, allocations: 4 kB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.1502, allocations: 47.91 kB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.1502, allocations: 4 kB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.1503, allocations: 8 kB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003596/0.1506, allocations: 0.5821 MB / 489.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1507, allocations: 0 / 489.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.1512, allocations: 302.6 kB / 489.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.1513, allocations: 96.97 kB / 489.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1513, allocations: 4 kB / 489.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.1514, allocations: 7.984 kB / 489.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.1515, allocations: 15.92 kB / 489.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1515, allocations: 7.938 kB / 489.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.793e-05/0.1516, allocations: 95.33 kB / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1516, allocations: 0 / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004347/0.152, allocations: 79.83 kB / 489.7 MB, free: 10.98 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.001133/0.1532, allocations: 0.9064 MB / 490.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.1536, allocations: 132.1 kB / 490.7 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1537, allocations: 0 / 490.7 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.1539, allocations: 71.89 kB / 490.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1542, allocations: 8 kB / 490.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.1567, allocations: 1.764 MB / 492.6 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1571, allocations: 0.7041 MB / 493.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.556e-05/0.1572, allocations: 20.95 kB / 493.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.1573, allocations: 35.42 kB / 493.3 MB, free: 7.184 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1573, allocations: 0 / 493.3 MB, free: 7.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.1778, allocations: 3.7 MB / 497 MB, free: 3.727 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/0.1781, allocations: 287.2 kB / 497.3 MB, free: 3.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/2.177, allocations: 0 / 497.3 MB, free: 3.352 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