Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008202/0.0008204, allocations: 101.1 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009164/0.0009165, allocations: 182.2 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.2 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2308/0.2308, allocations: 44.23 MB / 337.2 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004032, allocations: 8.219 kB / 409.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1409, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.002238/0.1432, allocations: 1.715 MB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003046/0.1462, allocations: 1.778 MB / 475.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1464, allocations: 0 / 475.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.1467, allocations: 55.67 kB / 475.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003924/0.1471, allocations: 143.3 kB / 475.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1481, allocations: 0.5054 MB / 475.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.1486, allocations: 450.1 kB / 476.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.839e-05/0.1487, allocations: 32.72 kB / 476.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.1489, allocations: 151.3 kB / 476.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.1492, allocations: 191.2 kB / 476.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.1492, allocations: 8 kB / 476.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.1511, allocations: 1.532 MB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.1513, allocations: 99.62 kB / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.1513, allocations: 73.52 kB / 478.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006815/0.152, allocations: 0.5226 MB / 478.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.152, allocations: 0 / 478.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1521, allocations: 3.938 kB / 478.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.1521, allocations: 0 / 478.9 MB, free: 6.355 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0008842/0.153, allocations: 0.6181 MB / 479.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.153, allocations: 12.03 kB / 479.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.066e-05/0.1531, allocations: 82.45 kB / 479.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.1532, allocations: 35.53 kB / 479.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1534, allocations: 262.6 kB / 479.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.1535, allocations: 28.59 kB / 479.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.1535, allocations: 28 kB / 480 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007373/0.1543, allocations: 0.5037 MB / 480.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1543, allocations: 0 / 480.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.1543, allocations: 19.98 kB / 480.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-05/0.1544, allocations: 52.95 kB / 480.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000774/0.1552, allocations: 0.527 MB / 481.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.1569, allocations: 1.298 MB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007195/0.1576, allocations: 378.4 kB / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.1579, allocations: 128.8 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.832e-05/0.1579, allocations: 15.97 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1579, allocations: 38.59 kB / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.615e-06/0.158, allocations: 3.984 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008775/0.1588, allocations: 444.9 kB / 483.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.1589, allocations: 51.41 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.1592, allocations: 306.5 kB / 483.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1592, allocations: 29.7 kB / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1593, allocations: 204 kB / 483.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.505e-05/0.1594, allocations: 90.73 kB / 484 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.1594, allocations: 4 kB / 484 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1596, allocations: 339 kB / 484.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.1598, allocations: 119.9 kB / 484.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.1601, allocations: 166.7 kB / 484.6 MB, free: 340 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.1604, allocations: 157.2 kB / 484.8 MB, free: 184 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1604, allocations: 0 / 484.8 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006389/0.161, allocations: 379.4 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.161, allocations: 7.984 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1611, allocations: 4 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1611, allocations: 0 / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.1616, allocations: 127.9 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.1631, allocations: 3.012 MB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.1633, allocations: 43.52 kB / 488.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.1633, allocations: 16 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.1635, allocations: 187.3 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.1636, allocations: 31.58 kB / 488.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009013/0.1645, allocations: 471.1 kB / 489 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1645, allocations: 4 kB / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1645, allocations: 0 / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1645, allocations: 0 / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.165, allocations: 365.3 kB / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.165, allocations: 0 / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.1655, allocations: 127.9 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1655, allocations: 0 / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.1655, allocations: 19.94 kB / 489.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.167, allocations: 3.004 MB / 492.5 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.167, allocations: 288 / 492.5 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.1677, allocations: 450.9 kB / 493 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.454e-05/0.1678, allocations: 108.7 kB / 493.1 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.1678, allocations: 8 kB / 493.1 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.168, allocations: 19.98 kB / 493.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.1681, allocations: 23.97 kB / 493.1 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.1681, allocations: 12 kB / 493.2 MB, free: 7.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.1684, allocations: 225.9 kB / 493.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1684, allocations: 0 / 493.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000643/0.169, allocations: 191.7 kB / 493.6 MB, free: 7.066 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/0.1703, allocations: 1.107 MB / 494.7 MB, free: 5.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008841/0.1712, allocations: 371.6 kB / 495 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1712, allocations: 7.938 kB / 495 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005229/0.1717, allocations: 219.8 kB / 495.3 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.1723, allocations: 68.58 kB / 495.3 MB, free: 5.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.1754, allocations: 2.17 MB / 497.5 MB, free: 3.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.1758, allocations: 0.8341 MB / 498.3 MB, free: 2.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003724/0.1762, allocations: 118.8 kB / 498.4 MB, free: 2.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.1764, allocations: 117.9 kB / 498.6 MB, free: 1.957 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1764, allocations: 3.938 kB / 498.6 MB, free: 1.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.2051, allocations: 10.27 MB / 0.4969 GB, free: 7.984 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/0.2055, allocations: 261.9 kB / 0.4972 GB, free: 7.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.125/2.331, allocations: 0 / 0.4972 GB, free: 7.629 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat