Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.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.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008072/0.0008072, allocations: 98.42 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009773/0.0009774, allocations: 192.5 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2623/0.2623, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 7.938 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1377, allocations: 63.46 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4565/0.5943, allocations: 136.2 MB / 0.6034 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008374/0.6027, allocations: 4.906 MB / 0.6082 GB, free: 9.121 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.6031, allocations: 7.938 kB / 0.6082 GB, free: 9.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.6035, allocations: 39.78 kB / 0.6082 GB, free: 9.074 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005136/0.6087, allocations: 1.053 MB / 0.6093 GB, free: 8.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.6093, allocations: 130.4 kB / 0.6094 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.6104, allocations: 418 kB / 0.6098 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.6105, allocations: 13.62 kB / 0.6098 GB, free: 7.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.611, allocations: 159.4 kB / 0.6099 GB, free: 7.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.6115, allocations: 179.5 kB / 0.6101 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.6116, allocations: 8 kB / 0.6101 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004236/0.6158, allocations: 0.9319 MB / 0.611 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.616, allocations: 43.81 kB / 0.6111 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.6161, allocations: 65.64 kB / 0.6111 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.618, allocations: 0.587 MB / 0.6117 GB, free: 5.504 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.618, allocations: 0 / 0.6117 GB, free: 5.504 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.618, allocations: 0 / 0.6117 GB, free: 5.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.618, allocations: 0 / 0.6117 GB, free: 5.504 MB / 446.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.002136/0.6202, allocations: 0.6248 MB / 0.6123 GB, free: 4.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.6202, allocations: 15.91 kB / 0.6123 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.6204, allocations: 66.53 kB / 0.6124 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.633, allocations: 0.6087 MB / 0.613 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/0.6337, allocations: 255.7 kB / 0.6132 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.634, allocations: 127.4 kB / 0.6134 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.6341, allocations: 20 kB / 0.6134 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.6363, allocations: 0.5556 MB / 0.6139 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.6363, allocations: 0 / 0.6139 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.6365, allocations: 15.98 kB / 0.6139 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.6365, allocations: 8 kB / 0.6139 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002797/0.6393, allocations: 0.6299 MB / 0.6146 GB, free: 2.422 MB / 446.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.003615/0.643, allocations: 1.718 MB / 0.6162 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.6436, allocations: 154.5 kB / 0.6164 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.6439, allocations: 73.62 kB / 0.6165 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002571/0.6465, allocations: 1.483 MB / 0.6179 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.6465, allocations: 42.66 kB / 0.6179 GB, free: 14.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 2.885e-06/0.6465, allocations: 0 / 0.6179 GB, free: 14.52 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.001674/0.6482, allocations: 332.1 kB / 0.6183 GB, free: 14.19 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.6483, allocations: 51.41 kB / 0.6183 GB, free: 14.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.6486, allocations: 191 kB / 0.6185 GB, free: 13.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/0.6487, allocations: 33.7 kB / 0.6185 GB, free: 13.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.6489, allocations: 179.3 kB / 0.6187 GB, free: 13.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/0.649, allocations: 71.08 kB / 0.6188 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.649, allocations: 8 kB / 0.6188 GB, free: 13.63 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.6492, allocations: 322.8 kB / 0.6191 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.6495, allocations: 64.7 kB / 0.6191 GB, free: 13.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.65, allocations: 264 kB / 0.6194 GB, free: 12.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.6504, allocations: 106.1 kB / 0.6195 GB, free: 12.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.6504, allocations: 0 / 0.6195 GB, free: 12.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001093/0.6515, allocations: 369.4 kB / 0.6198 GB, free: 12.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.6515, allocations: 8.156 kB / 0.6199 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.6516, allocations: 12 kB / 0.6199 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/0.6516, allocations: 12 kB / 0.6199 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/0.6524, allocations: 123.8 kB / 0.62 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005604/0.6529, allocations: 0.6069 MB / 0.6206 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.6534, allocations: 43.53 kB / 0.6206 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.6536, allocations: 44.08 kB / 0.6207 GB, free: 11.56 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.6538, allocations: 149.6 kB / 0.6208 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.6539, allocations: 15.81 kB / 0.6208 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.6556, allocations: 460.6 kB / 0.6213 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6556, allocations: 0 / 0.6213 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6556, allocations: 0 / 0.6213 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.6557, allocations: 3.984 kB / 0.6213 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.6571, allocations: 0.6396 MB / 0.6219 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6571, allocations: 4 kB / 0.6219 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.6576, allocations: 59.91 kB / 0.622 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.6576, allocations: 4 kB / 0.622 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.6576, allocations: 7.953 kB / 0.622 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005224/0.6582, allocations: 0.6058 MB / 0.6226 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.6582, allocations: 0 / 0.6226 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006388/0.6588, allocations: 304.9 kB / 0.6228 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.659, allocations: 112.8 kB / 0.623 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/0.6591, allocations: 8 kB / 0.623 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.6595, allocations: 12 kB / 0.623 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.6596, allocations: 19.97 kB / 0.623 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.6597, allocations: 20 kB / 0.623 GB, free: 8.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.6599, allocations: 135.5 kB / 0.6231 GB, free: 8.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6599, allocations: 0 / 0.6231 GB, free: 8.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00123/0.6612, allocations: 167.9 kB / 0.6233 GB, free: 8.656 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001925/0.6631, allocations: 1.001 MB / 0.6243 GB, free: 7.609 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009095/0.664, allocations: 219.6 kB / 0.6245 GB, free: 7.395 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.664, allocations: 1.875 kB / 0.6245 GB, free: 7.395 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.6644, allocations: 80.33 kB / 0.6246 GB, free: 7.316 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009178/0.6654, allocations: 60.08 kB / 0.6246 GB, free: 7.258 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.6703, allocations: 1.751 MB / 0.6263 GB, free: 5.348 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.6708, allocations: 0.7211 MB / 0.627 GB, free: 4.602 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001685/0.6725, allocations: 375.2 kB / 0.6274 GB, free: 4.238 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.6729, allocations: 91.36 kB / 0.6275 GB, free: 4.148 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6729, allocations: 0 / 0.6275 GB, free: 4.148 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.7012, allocations: 7.209 MB / 0.6345 GB, free: 13.09 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.7015, allocations: 247.5 kB / 0.6348 GB, free: 12.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.802, allocations: 0 / 0.6348 GB, free: 12.82 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat