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.001241/0.001241, allocations: 99.73 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001845/0.001846, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 45.92 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002756, allocations: 11.98 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1363, allocations: 63.47 MB / 481.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.001935/0.1383, allocations: 1.482 MB / 483 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1401, allocations: 1.213 MB / 484.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.1402, allocations: 0 / 484.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.1405, allocations: 51.78 kB / 484.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.1407, allocations: 67.77 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.1411, allocations: 195.5 kB / 484.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.1414, allocations: 279.3 kB / 484.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.83e-05/0.1415, allocations: 48.73 kB / 484.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.1418, allocations: 143.3 kB / 485 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.142, allocations: 151.4 kB / 485.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.142, allocations: 8 kB / 485.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007029/0.1427, allocations: 459.3 kB / 485.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.1429, allocations: 115.6 kB / 485.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.113e-05/0.143, allocations: 93.39 kB / 485.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.1436, allocations: 407.3 kB / 486.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1436, allocations: 0 / 486.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1436, allocations: 0 / 486.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1436, allocations: 4 kB / 486.2 MB, free: 0.5859 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001157/0.1448, allocations: 0.6978 MB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.1448, allocations: 8.031 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.145, allocations: 98.52 kB / 487 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.1451, allocations: 63.3 kB / 487.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.1456, allocations: 318.2 kB / 487.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.1456, allocations: 29 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.1457, allocations: 40 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009906/0.1467, allocations: 0.6953 MB / 488.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1467, allocations: 4 kB / 488.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.1468, allocations: 19.97 kB / 488.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.491e-05/0.1469, allocations: 65.28 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1479, allocations: 0.7234 MB / 489 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.1504, allocations: 1.727 MB / 490.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.1511, allocations: 363.4 kB / 491 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.1511, allocations: 12.22 kB / 491.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1512, allocations: 34.8 kB / 491.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.1512, allocations: 0 / 491.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001014/0.1522, allocations: 0.5013 MB / 491.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.1522, allocations: 51.41 kB / 491.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.1528, allocations: 457.4 kB / 492.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.1528, allocations: 29.7 kB / 492.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.153, allocations: 267.5 kB / 492.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.706e-05/0.1531, allocations: 94.59 kB / 492.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.1532, allocations: 8 kB / 492.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.1534, allocations: 358.8 kB / 492.8 MB, free: 9.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.1536, allocations: 151.8 kB / 493 MB, free: 9.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.1541, allocations: 250.4 kB / 493.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.1544, allocations: 184.7 kB / 493.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1544, allocations: 4 kB / 493.4 MB, free: 9.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007972/0.1553, allocations: 480.9 kB / 493.9 MB, free: 8.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1553, allocations: 8 kB / 493.9 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1553, allocations: 4 kB / 493.9 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1553, allocations: 4 kB / 493.9 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006572/0.156, allocations: 159.8 kB / 494.1 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.1581, allocations: 3.61 MB / 497.7 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.1584, allocations: 63.36 kB / 497.7 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.1584, allocations: 28.2 kB / 497.8 MB, free: 4.555 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.0002663/0.1587, allocations: 228.2 kB / 498 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.1588, allocations: 35.53 kB / 498 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.1599, allocations: 0.5527 MB / 498.6 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.1599, allocations: 8 kB / 498.6 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1599, allocations: 0 / 498.6 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.1599, allocations: 3.984 kB / 498.6 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.1605, allocations: 457 kB / 499 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1605, allocations: 0 / 499 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/0.1611, allocations: 143.8 kB / 499.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1611, allocations: 0 / 499.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.1611, allocations: 12 kB / 499.2 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.1632, allocations: 3.602 MB / 0.491 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1632, allocations: 288 / 0.491 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009974/0.1642, allocations: 0.6713 MB / 0.4916 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.1645, allocations: 180.5 kB / 0.4918 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.1646, allocations: 4 kB / 0.4918 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.1648, allocations: 15.98 kB / 0.4918 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/0.1649, allocations: 31.91 kB / 0.4919 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.1649, allocations: 15.98 kB / 0.4919 GB, free: 14.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004072/0.1653, allocations: 343.1 kB / 0.4922 GB, free: 14.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1653, allocations: 3.938 kB / 0.4922 GB, free: 14.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006364/0.166, allocations: 167.6 kB / 0.4924 GB, free: 13.88 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.001754/0.1677, allocations: 1.29 MB / 0.4936 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.1688, allocations: 456.3 kB / 0.4941 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1688, allocations: 0 / 0.4941 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.1695, allocations: 251.7 kB / 0.4943 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.1698, allocations: 30.16 kB / 0.4943 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/0.1761, allocations: 5.26 MB / 0.4995 GB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.1767, allocations: 0.9132 MB / 0.5004 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003799/0.1771, allocations: 146.9 kB / 0.5005 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.1774, allocations: 167.4 kB / 0.5007 GB, free: 5.219 MB / 382.1 MB Notification: Performance of SimCode: time 1.723e-06/0.1774, allocations: 0 / 0.5007 GB, free: 5.219 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2418/0.4192, allocations: 10.11 MB / 0.5105 GB, free: 41.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004812/0.4198, allocations: 271.8 kB / 0.5108 GB, free: 41.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.55, allocations: 0 / 0.5108 GB, free: 41.35 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