Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.0007786/0.0007786, allocations: 101.3 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009256/0.0009257, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.3 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.2256/0.2256, allocations: 45.92 MB / 344.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.000294, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 63.47 MB / 481.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.002138/0.1357, allocations: 1.732 MB / 483.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.1383, allocations: 1.848 MB / 485.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1385, allocations: 7.938 kB / 485.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.1387, allocations: 47.73 kB / 485.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.1391, allocations: 143.3 kB / 485.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009934/0.1401, allocations: 0.5028 MB / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004414/0.1405, allocations: 450 kB / 486.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.073e-05/0.1406, allocations: 36.73 kB / 486.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.1409, allocations: 151.3 kB / 486.6 MB, free: 360 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.1411, allocations: 183.3 kB / 486.7 MB, free: 176 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.1412, allocations: 12 kB / 486.8 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.143, allocations: 1.56 MB / 488.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1431, allocations: 95.62 kB / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.1432, allocations: 77.52 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006596/0.1438, allocations: 0.5303 MB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1439, allocations: 0 / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1439, allocations: 0 / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1439, allocations: 0 / 489 MB, free: 13.89 MB / 366.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.0008911/0.1448, allocations: 0.6237 MB / 489.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1448, allocations: 8.031 kB / 489.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.235e-05/0.1449, allocations: 90.45 kB / 489.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.145, allocations: 35.53 kB / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.1453, allocations: 273.4 kB / 490 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.1453, allocations: 24.64 kB / 490.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.1454, allocations: 31.98 kB / 490.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.1461, allocations: 0.4999 MB / 490.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1461, allocations: 0 / 490.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.1462, allocations: 15.98 kB / 490.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.329e-05/0.1463, allocations: 48.95 kB / 490.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007676/0.147, allocations: 0.5347 MB / 491.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.1488, allocations: 1.298 MB / 492.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/0.1495, allocations: 374.4 kB / 492.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.1498, allocations: 132.8 kB / 493 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.1498, allocations: 11.97 kB / 493 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.1499, allocations: 30.56 kB / 493 MB, free: 9.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.784e-06/0.1499, allocations: 7.938 kB / 493 MB, free: 9.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.000867/0.1507, allocations: 445.6 kB / 493.5 MB, free: 9.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1508, allocations: 55.41 kB / 493.5 MB, free: 9.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.1511, allocations: 310.6 kB / 493.8 MB, free: 8.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1511, allocations: 29.7 kB / 493.8 MB, free: 8.781 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1513, allocations: 200 kB / 494 MB, free: 8.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.753e-05/0.1514, allocations: 90.69 kB / 494.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.1514, allocations: 8 kB / 494.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1515, allocations: 338.8 kB / 494.5 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.1518, allocations: 123.9 kB / 494.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.1521, allocations: 166.6 kB / 494.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.1523, allocations: 145.2 kB / 494.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1523, allocations: 4 kB / 494.9 MB, free: 7.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006294/0.153, allocations: 375.3 kB / 495.3 MB, free: 7.332 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.153, allocations: 4 kB / 495.3 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.153, allocations: 0 / 495.3 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.153, allocations: 4 kB / 495.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.1536, allocations: 131.9 kB / 495.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.155, allocations: 3.012 MB / 498.4 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.1552, allocations: 39.58 kB / 498.5 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.1553, allocations: 16 kB / 498.5 MB, free: 4.012 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.0001902/0.1555, allocations: 190.1 kB / 498.7 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.1555, allocations: 27.62 kB / 498.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000888/0.1564, allocations: 471.6 kB / 499.1 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1564, allocations: 0 / 499.1 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1565, allocations: 4 kB / 499.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1565, allocations: 3.984 kB / 499.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.1569, allocations: 369.2 kB / 499.5 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1569, allocations: 0 / 499.5 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/0.1574, allocations: 123.9 kB / 499.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1574, allocations: 4 kB / 499.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.1574, allocations: 11.98 kB / 499.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.1589, allocations: 3.004 MB / 0.4909 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.1589, allocations: 8.016 kB / 0.4909 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/0.1596, allocations: 451.3 kB / 0.4913 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.1597, allocations: 108.7 kB / 0.4914 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.1598, allocations: 11.94 kB / 0.4914 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.16, allocations: 23.94 kB / 0.4914 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.16, allocations: 23.97 kB / 0.4915 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.1601, allocations: 12 kB / 0.4915 GB, free: 14.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.1603, allocations: 229.9 kB / 0.4917 GB, free: 14.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1603, allocations: 0 / 0.4917 GB, free: 14.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006046/0.1609, allocations: 187.7 kB / 0.4919 GB, free: 14.58 MB / 382.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.001321/0.1622, allocations: 1.134 MB / 0.493 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009002/0.1631, allocations: 375.7 kB / 0.4933 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1632, allocations: 0 / 0.4933 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005253/0.1637, allocations: 227.7 kB / 0.4936 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.1642, allocations: 64.11 kB / 0.4936 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.1673, allocations: 2.162 MB / 0.4957 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.1676, allocations: 0.8379 MB / 0.4966 GB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.168, allocations: 126.7 kB / 0.4967 GB, free: 9.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.1681, allocations: 111.4 kB / 0.4968 GB, free: 9.445 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1681, allocations: 0 / 0.4968 GB, free: 9.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2531/0.4212, allocations: 10.43 MB / 0.507 GB, free: 40.99 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.4215, allocations: 260.2 kB / 0.5072 GB, free: 40.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.485, allocations: 0 / 0.5072 GB, free: 40.64 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat