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.001398/0.001398, allocations: 98.78 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001976/0.001977, allocations: 204.1 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002816, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1336, allocations: 63.46 MB / 481.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00217/0.1358, allocations: 1.455 MB / 483 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1382, allocations: 1.244 MB / 484.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.1383, allocations: 4 kB / 484.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.1386, allocations: 31.81 kB / 484.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.1388, allocations: 51.84 kB / 484.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007954/0.1396, allocations: 203.5 kB / 484.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.1398, allocations: 79.75 kB / 484.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.085e-05/0.1399, allocations: 5.125 kB / 484.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.1401, allocations: 47.84 kB / 484.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1402, allocations: 51.75 kB / 484.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1403, allocations: 4 kB / 484.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008452/0.1411, allocations: 0.4914 MB / 485.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.1412, allocations: 11.91 kB / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.1412, allocations: 41.64 kB / 485.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.1417, allocations: 223.9 kB / 485.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.1417, allocations: 4 kB / 485.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1417, allocations: 0 / 485.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1417, allocations: 4 kB / 485.5 MB, free: 1.281 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.0006715/0.1424, allocations: 423 kB / 485.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1424, allocations: 8.031 kB / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.1425, allocations: 46.55 kB / 485.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.1426, allocations: 11.91 kB / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.1427, allocations: 182.8 kB / 486.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1427, allocations: 8 kB / 486.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.1428, allocations: 16 kB / 486.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.1432, allocations: 145.6 kB / 486.3 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1432, allocations: 0 / 486.3 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.1432, allocations: 3.984 kB / 486.3 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.1432, allocations: 4 kB / 486.3 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.1436, allocations: 151.8 kB / 486.5 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1446, allocations: 0.526 MB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.145, allocations: 102.6 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.1451, allocations: 7.984 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1451, allocations: 34.56 kB / 487.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1451, allocations: 3.938 kB / 487.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005218/0.1456, allocations: 165.6 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.1457, allocations: 63.61 kB / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1458, allocations: 121.9 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1459, allocations: 25.7 kB / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.1459, allocations: 111.8 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.146, allocations: 39.39 kB / 487.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/0.146, allocations: 0 / 487.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1462, allocations: 322.8 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1463, allocations: 47.95 kB / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.1465, allocations: 87.59 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1466, allocations: 52.41 kB / 488.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1466, allocations: 0 / 488.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003648/0.147, allocations: 177.4 kB / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.147, allocations: 7.938 kB / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1471, allocations: 0 / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1471, allocations: 4 kB / 488.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.1473, allocations: 47.91 kB / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003976/0.1477, allocations: 0.5939 MB / 489 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.1479, allocations: 19.84 kB / 489 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1479, allocations: 7.984 kB / 489 MB, free: 13.48 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.148, allocations: 124.3 kB / 489.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.148, allocations: 7.906 kB / 489.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004528/0.1485, allocations: 182.4 kB / 489.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1485, allocations: 0 / 489.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1485, allocations: 0 / 489.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.1485, allocations: 3.953 kB / 489.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.1488, allocations: 217.5 kB / 489.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1488, allocations: 0 / 489.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.1491, allocations: 51.91 kB / 489.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1491, allocations: 0 / 489.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1491, allocations: 3.984 kB / 489.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003398/0.1494, allocations: 0.5899 MB / 490.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1494, allocations: 0 / 490.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.1499, allocations: 307.4 kB / 490.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.15, allocations: 97.03 kB / 490.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1501, allocations: 3.984 kB / 490.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1502, allocations: 15.89 kB / 490.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.1502, allocations: 11.98 kB / 490.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1503, allocations: 12.05 kB / 490.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.781e-05/0.1503, allocations: 83.28 kB / 490.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1503, allocations: 4 kB / 490.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003659/0.1507, allocations: 71.92 kB / 490.8 MB, free: 11.6 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/0.1518, allocations: 0.9114 MB / 491.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.1522, allocations: 144 kB / 491.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1522, allocations: 0 / 491.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.1524, allocations: 75.89 kB / 491.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1526, allocations: 11.95 kB / 491.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1543, allocations: 1.575 MB / 493.5 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1546, allocations: 0.7121 MB / 494.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.078e-05/0.1547, allocations: 20.77 kB / 494.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.1548, allocations: 39.41 kB / 494.2 MB, free: 7.996 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1548, allocations: 0 / 494.2 MB, free: 7.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.17, allocations: 3.48 MB / 497.7 MB, free: 4.777 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.1703, allocations: 257.5 kB / 498 MB, free: 4.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.032, allocations: 0 / 498 MB, free: 4.422 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat