Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 94.81 kB / 16.99 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.001514/0.001514, allocations: 204.6 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, 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.2477/0.2477, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003869, allocations: 8 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 63.46 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005504/0.1443, allocations: 4.117 MB / 485.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004372/0.1487, allocations: 3.699 MB / 489.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.149, allocations: 3.938 kB / 489.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.1493, allocations: 43.78 kB / 489.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.1512, allocations: 0.5686 MB / 490 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.1516, allocations: 151 kB / 490.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006103/0.1522, allocations: 251.5 kB / 490.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.266e-05/0.1523, allocations: 13.67 kB / 490.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.1527, allocations: 135.6 kB / 490.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.1529, allocations: 115.6 kB / 490.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.153, allocations: 8 kB / 490.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000987/0.154, allocations: 307.7 kB / 490.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.596e-05/0.1541, allocations: 39.88 kB / 491 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1542, allocations: 69.58 kB / 491 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000628/0.1549, allocations: 275.7 kB / 491.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1549, allocations: 0 / 491.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1549, allocations: 4 kB / 491.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.1549, allocations: 7.938 kB / 491.3 MB, free: 11.45 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001159/0.1561, allocations: 0.5266 MB / 491.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1561, allocations: 15.97 kB / 491.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.1562, allocations: 66.52 kB / 491.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.1564, allocations: 27.77 kB / 491.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.1567, allocations: 222.7 kB / 492.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.1569, allocations: 127.4 kB / 492.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.1569, allocations: 20 kB / 492.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/0.1575, allocations: 319.6 kB / 492.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1575, allocations: 0 / 492.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.1576, allocations: 16 kB / 492.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.1576, allocations: 4 kB / 492.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008591/0.1584, allocations: 0.7468 MB / 493.4 MB, free: 9.223 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.1604, allocations: 1.285 MB / 494.7 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.1608, allocations: 146.8 kB / 494.8 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003218/0.1641, allocations: 2.611 MB / 497.4 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.1641, allocations: 34.56 kB / 497.4 MB, free: 4.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.1641, allocations: 4 kB / 497.5 MB, free: 4.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008662/0.165, allocations: 243.7 kB / 497.7 MB, free: 4.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.1651, allocations: 51.41 kB / 497.7 MB, free: 4.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1653, allocations: 215.5 kB / 497.9 MB, free: 4.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1654, allocations: 25.7 kB / 498 MB, free: 3.973 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1655, allocations: 198.9 kB / 498.2 MB, free: 3.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.1656, allocations: 67.19 kB / 498.2 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.1656, allocations: 4 kB / 498.2 MB, free: 3.703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1658, allocations: 334.8 kB / 498.6 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.1659, allocations: 48.84 kB / 498.6 MB, free: 3.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.1662, allocations: 320 kB / 498.9 MB, free: 2.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1664, allocations: 99.86 kB / 499 MB, free: 2.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1664, allocations: 4 kB / 499 MB, free: 2.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005786/0.167, allocations: 365.7 kB / 499.4 MB, free: 2.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.167, allocations: 12.03 kB / 499.4 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.167, allocations: 19.92 kB / 499.4 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/0.1671, allocations: 16 kB / 499.4 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.1675, allocations: 107.8 kB / 499.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.558e-05/0.1675, allocations: 15.94 kB / 499.6 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.1677, allocations: 20 kB / 499.6 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.1678, allocations: 31.98 kB / 499.6 MB, free: 2.191 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.168, allocations: 145.7 kB / 499.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.168, allocations: 23.75 kB / 499.8 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.1684, allocations: 195.9 kB / 500 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.1684, allocations: 3.953 kB / 500 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1684, allocations: 0 / 500 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1685, allocations: 4 kB / 500 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.1691, allocations: 435.3 kB / 0.4887 GB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1691, allocations: 4.031 kB / 0.4887 GB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.1693, allocations: 31.98 kB / 0.4887 GB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-06/0.1693, allocations: 4.078 kB / 0.4887 GB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.1693, allocations: 8 kB / 0.4887 GB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1693, allocations: 3.984 kB / 0.4887 GB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1693, allocations: 0 / 0.4887 GB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.1697, allocations: 233.8 kB / 0.4889 GB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.1699, allocations: 116.8 kB / 0.489 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.1699, allocations: 0 / 0.489 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.1701, allocations: 12 kB / 0.4891 GB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.1702, allocations: 7.984 kB / 0.4891 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.1702, allocations: 11.98 kB / 0.4891 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1704, allocations: 144.5 kB / 0.4892 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1704, allocations: 0 / 0.4892 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005963/0.171, allocations: 107.9 kB / 0.4893 GB, free: 0.6094 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009718/0.172, allocations: 0.8864 MB / 0.4902 GB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.1724, allocations: 176.1 kB / 0.4904 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1724, allocations: 0 / 0.4904 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.013e-05/0.1724, allocations: 37.48 kB / 0.4904 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.1729, allocations: 52.39 kB / 0.4904 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.1776, allocations: 7.482 MB / 0.4977 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1779, allocations: 0.7326 MB / 0.4985 GB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002975/0.1782, allocations: 62.77 kB / 0.4985 GB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.1784, allocations: 63.41 kB / 0.4986 GB, free: 6.828 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1784, allocations: 4 kB / 0.4986 GB, free: 6.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.1975, allocations: 5.119 MB / 0.5036 GB, free: 1.891 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.1977, allocations: 210.3 kB / 0.5038 GB, free: 1.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.032, allocations: 0 / 0.5038 GB, free: 1.645 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat