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.001164/0.001164, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001252, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 78.69 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1093, allocations: 62.43 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003469/0.1128, allocations: 1.816 MB / 482 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.1149, allocations: 1.391 MB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.24e-05/0.115, allocations: 4 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1152, allocations: 47.75 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.1155, allocations: 47.62 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.116, allocations: 247 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1162, allocations: 107.5 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.1162, allocations: 13.05 kB / 483.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.1164, allocations: 59.66 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.1165, allocations: 47.77 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1165, allocations: 4 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007131/0.1173, allocations: 0.499 MB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.1173, allocations: 19.91 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.1174, allocations: 43.67 kB / 484.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.1179, allocations: 359.3 kB / 484.8 MB, free: 480 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1179, allocations: 0 / 484.8 MB, free: 480 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1179, allocations: 3.938 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1179, allocations: 0 / 484.8 MB, free: 476 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.000532/0.1185, allocations: 439.2 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1185, allocations: 12.03 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.1186, allocations: 46.69 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.1186, allocations: 12.75 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1187, allocations: 180.2 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1187, allocations: 12.38 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.1188, allocations: 15.94 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.1191, allocations: 145.6 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1191, allocations: 0 / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1191, allocations: 4 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1191, allocations: 3.938 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.1194, allocations: 139.9 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/0.1203, allocations: 0.5182 MB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.1206, allocations: 102.6 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1208, allocations: 52.83 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1208, allocations: 4 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1209, allocations: 30.56 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.1209, allocations: 0 / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005232/0.1214, allocations: 173.3 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1215, allocations: 51.41 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.683e-05/0.1216, allocations: 117.8 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1216, allocations: 26.08 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.1217, allocations: 111.8 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.1217, allocations: 43.39 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.1218, allocations: 33.62 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1219, allocations: 330.7 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1221, allocations: 35.97 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.1222, allocations: 81.11 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.1225, allocations: 129 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1225, allocations: 4 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003533/0.1229, allocations: 161.4 kB / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1229, allocations: 10.48 kB / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1229, allocations: 0 / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.123, allocations: 4 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.1232, allocations: 43.97 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000394/0.1236, allocations: 0.5939 MB / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1237, allocations: 23.86 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1237, allocations: 4 kB / 488.5 MB, free: 12.52 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 9.106e-05/0.1238, allocations: 117.8 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.1239, allocations: 4 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.1243, allocations: 173.8 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1243, allocations: 0 / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1243, allocations: 3.938 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1243, allocations: 0 / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.1245, allocations: 213.6 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1246, allocations: 0 / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.1248, allocations: 39.97 kB / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.1248, allocations: 4 kB / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1248, allocations: 8 kB / 489 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000392/0.1252, allocations: 0.5859 MB / 489.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1252, allocations: 0 / 489.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.1257, allocations: 299.5 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1258, allocations: 96.94 kB / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1258, allocations: 0 / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.126, allocations: 11.98 kB / 490 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.126, allocations: 11.92 kB / 490 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.126, allocations: 4 kB / 490 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.1261, allocations: 91.27 kB / 490.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1261, allocations: 8 kB / 490.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.1265, allocations: 79.84 kB / 490.2 MB, free: 10.66 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.0009869/0.1275, allocations: 0.9036 MB / 491.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.1279, allocations: 135.5 kB / 491.2 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1279, allocations: 288 / 491.2 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.1281, allocations: 71.89 kB / 491.3 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.1284, allocations: 19.31 kB / 491.3 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.1304, allocations: 1.711 MB / 493 MB, free: 7.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.1306, allocations: 0.708 MB / 493.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.156e-05/0.1307, allocations: 16.55 kB / 493.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.1308, allocations: 35.42 kB / 493.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1308, allocations: 0 / 493.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.1542, allocations: 3.825 MB / 497.6 MB, free: 3.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.7, allocations: 5.453 kB / 497.6 MB, free: 3.289 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