Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.0008189/0.0008189, allocations: 98.92 kB / 17 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009936/0.0009938, allocations: 191 kB / 17.9 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002814, allocations: 11.98 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 63.46 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.001974/0.1418, allocations: 1.523 MB / 483.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1436, allocations: 1.26 MB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.1437, allocations: 4 kB / 484.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1439, allocations: 55.67 kB / 484.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.1442, allocations: 83.58 kB / 484.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.1446, allocations: 175.4 kB / 484.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.145, allocations: 417.8 kB / 485.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.1451, allocations: 52.72 kB / 485.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.1454, allocations: 151.2 kB / 485.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.1457, allocations: 179.2 kB / 485.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.1457, allocations: 8 kB / 485.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007492/0.1465, allocations: 435.1 kB / 486 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.1467, allocations: 135.5 kB / 486.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.1468, allocations: 93.39 kB / 486.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000533/0.1473, allocations: 411.2 kB / 486.6 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1473, allocations: 4 kB / 486.6 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1474, allocations: 0 / 486.6 MB, free: 312 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1474, allocations: 0 / 486.6 MB, free: 312 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001067/0.1484, allocations: 0.7058 MB / 487.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1485, allocations: 8.031 kB / 487.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.1486, allocations: 94.5 kB / 487.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.076e-05/0.1487, allocations: 59.12 kB / 487.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.1491, allocations: 310.3 kB / 487.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.1491, allocations: 36.94 kB / 487.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.1492, allocations: 44 kB / 487.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/0.1502, allocations: 0.6953 MB / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1502, allocations: 0 / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.1503, allocations: 19.98 kB / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.108e-05/0.1503, allocations: 61.27 kB / 488.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1514, allocations: 0.7234 MB / 489.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.1537, allocations: 1.708 MB / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000607/0.1543, allocations: 357.8 kB / 491.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.1545, allocations: 145.2 kB / 491.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.1546, allocations: 16.16 kB / 491.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.1546, allocations: 46.78 kB / 491.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.054e-06/0.1547, allocations: 0 / 491.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009711/0.1556, allocations: 0.4891 MB / 492.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.1557, allocations: 63.41 kB / 492.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.1562, allocations: 453.4 kB / 492.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.1562, allocations: 33.7 kB / 492.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.1564, allocations: 263.5 kB / 492.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.761e-05/0.1565, allocations: 102.5 kB / 493 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.1565, allocations: 8 kB / 493 MB, free: 9.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1567, allocations: 354.7 kB / 493.3 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.157, allocations: 143.9 kB / 493.5 MB, free: 9.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.1573, allocations: 262.3 kB / 493.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.1577, allocations: 192.7 kB / 493.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1577, allocations: 0 / 493.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007941/0.1585, allocations: 477.2 kB / 494.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1585, allocations: 12.03 kB / 494.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1585, allocations: 4 kB / 494.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.1585, allocations: 8 kB / 494.4 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/0.1591, allocations: 163.8 kB / 494.6 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.1611, allocations: 3.61 MB / 498.2 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.1614, allocations: 63.33 kB / 498.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.1614, allocations: 31.97 kB / 498.3 MB, free: 4.125 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000283/0.1617, allocations: 222.5 kB / 498.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.1618, allocations: 35.53 kB / 498.5 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.1629, allocations: 0.545 MB / 499.1 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1629, allocations: 4 kB / 499.1 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1629, allocations: 0 / 499.1 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1629, allocations: 0 / 499.1 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000606/0.1635, allocations: 461 kB / 499.5 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1636, allocations: 0 / 499.5 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.1641, allocations: 143.9 kB / 499.7 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1641, allocations: 0 / 499.7 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.1641, allocations: 19.98 kB / 499.7 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.1661, allocations: 3.61 MB / 0.4915 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1661, allocations: 0 / 0.4915 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1672, allocations: 0.6715 MB / 0.4921 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.1674, allocations: 156.5 kB / 0.4923 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.1674, allocations: 8 kB / 0.4923 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.1676, allocations: 19.98 kB / 0.4923 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.1677, allocations: 27.84 kB / 0.4924 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.1677, allocations: 16 kB / 0.4924 GB, free: 13.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003754/0.1681, allocations: 343.1 kB / 0.4927 GB, free: 13.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1681, allocations: 8 kB / 0.4927 GB, free: 13.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.1687, allocations: 163.6 kB / 0.4929 GB, free: 13.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001643/0.1704, allocations: 1.291 MB / 0.4941 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.1715, allocations: 444.3 kB / 0.4945 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1715, allocations: 4 kB / 0.4945 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00061/0.1721, allocations: 259.8 kB / 0.4948 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1725, allocations: 33.62 kB / 0.4948 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.177, allocations: 3.044 MB / 0.4978 GB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.1776, allocations: 0.8976 MB / 0.4987 GB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000371/0.1779, allocations: 143 kB / 0.4988 GB, free: 7.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.1782, allocations: 171.4 kB / 0.499 GB, free: 7.051 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1782, allocations: 0 / 0.499 GB, free: 7.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2624/0.4406, allocations: 10.28 MB / 0.509 GB, free: 41.19 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.4409, allocations: 274.4 kB / 0.5093 GB, free: 40.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/2.758, allocations: 0 / 0.5093 GB, free: 40.82 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat