Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008642/0.0008641, allocations: 99.17 kB / 17 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009125/0.0009127, allocations: 198.1 kB / 17.91 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 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.2779/0.2779, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 15.92 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.168, allocations: 63.46 MB / 481.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4826/0.6506, allocations: 136.2 MB / 0.6034 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004881/0.6555, allocations: 4.751 MB / 0.608 GB, free: 9.387 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.6557, allocations: 4 kB / 0.608 GB, free: 9.383 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.656, allocations: 39.73 kB / 0.6081 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.6588, allocations: 0.9422 MB / 0.609 GB, free: 8.398 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.6591, allocations: 136.2 kB / 0.6091 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004921/0.6596, allocations: 414.1 kB / 0.6095 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.6597, allocations: 9.688 kB / 0.6095 GB, free: 7.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.6599, allocations: 171.2 kB / 0.6097 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.6602, allocations: 183.5 kB / 0.6098 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.6602, allocations: 11.94 kB / 0.6099 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.6621, allocations: 0.8768 MB / 0.6107 GB, free: 6.625 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.6622, allocations: 39.83 kB / 0.6108 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.798e-05/0.6623, allocations: 65.58 kB / 0.6108 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008983/0.6632, allocations: 0.5753 MB / 0.6114 GB, free: 5.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.6632, allocations: 4 kB / 0.6114 GB, free: 5.938 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6632, allocations: 0 / 0.6114 GB, free: 5.938 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.6632, allocations: 4 kB / 0.6114 GB, free: 5.934 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.001363/0.6646, allocations: 0.6093 MB / 0.612 GB, free: 5.273 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/0.6647, allocations: 12.03 kB / 0.612 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.035e-05/0.6648, allocations: 62.48 kB / 0.6121 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00648/0.6712, allocations: 0.6126 MB / 0.6127 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.6717, allocations: 250.8 kB / 0.6129 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.6719, allocations: 127.3 kB / 0.613 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.564e-05/0.672, allocations: 24 kB / 0.613 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.6732, allocations: 0.5634 MB / 0.6136 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.6732, allocations: 7.984 kB / 0.6136 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.522e-05/0.6733, allocations: 12 kB / 0.6136 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-05/0.6734, allocations: 4 kB / 0.6136 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.6748, allocations: 0.6337 MB / 0.6142 GB, free: 2.859 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.002322/0.6772, allocations: 1.714 MB / 0.6159 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.6775, allocations: 146.5 kB / 0.616 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.6777, allocations: 72.88 kB / 0.6161 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008294/0.6785, allocations: 0.7084 MB / 0.6168 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.6786, allocations: 30.56 kB / 0.6168 GB, free: 15.92 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.6786, allocations: 0 / 0.6168 GB, free: 15.92 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=17): time 0.001243/0.6798, allocations: 323.4 kB / 0.6171 GB, free: 15.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.6799, allocations: 59.34 kB / 0.6172 GB, free: 15.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.6802, allocations: 188 kB / 0.6174 GB, free: 15.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.6802, allocations: 29.7 kB / 0.6174 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.6804, allocations: 187.1 kB / 0.6176 GB, free: 15.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.6805, allocations: 71.09 kB / 0.6177 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.6805, allocations: 8 kB / 0.6177 GB, free: 15.03 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002549/0.6808, allocations: 334.8 kB / 0.618 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.6809, allocations: 64.7 kB / 0.618 GB, free: 14.63 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.6814, allocations: 260 kB / 0.6183 GB, free: 14.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.6817, allocations: 112.6 kB / 0.6184 GB, free: 14.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6817, allocations: 0 / 0.6184 GB, free: 14.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006528/0.6823, allocations: 367.8 kB / 0.6187 GB, free: 13.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.6824, allocations: 8 kB / 0.6188 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.6824, allocations: 11.94 kB / 0.6188 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.6824, allocations: 8 kB / 0.6188 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.6828, allocations: 132.5 kB / 0.6189 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004475/0.6833, allocations: 0.6055 MB / 0.6195 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.6836, allocations: 43.53 kB / 0.6195 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.6837, allocations: 43.98 kB / 0.6196 GB, free: 12.95 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.0001682/0.6838, allocations: 144.9 kB / 0.6197 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.6839, allocations: 19.81 kB / 0.6197 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009452/0.6849, allocations: 433.8 kB / 0.6201 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6849, allocations: 3.953 kB / 0.6201 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.6849, allocations: 0 / 0.6201 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.6849, allocations: 7.984 kB / 0.6202 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000876/0.6858, allocations: 0.6266 MB / 0.6208 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6858, allocations: 4 kB / 0.6208 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.686, allocations: 51.97 kB / 0.6208 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.686, allocations: 4 kB / 0.6208 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.686, allocations: 11.94 kB / 0.6208 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003745/0.6864, allocations: 0.5979 MB / 0.6214 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.6864, allocations: 4 kB / 0.6214 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.6868, allocations: 297.2 kB / 0.6217 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.687, allocations: 112.9 kB / 0.6218 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.687, allocations: 7.938 kB / 0.6218 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.6873, allocations: 13.42 kB / 0.6218 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.6873, allocations: 19.94 kB / 0.6219 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.6874, allocations: 20 kB / 0.6219 GB, free: 10.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.6875, allocations: 143.5 kB / 0.622 GB, free: 10.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6875, allocations: 0 / 0.622 GB, free: 10.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007/0.6882, allocations: 151.9 kB / 0.6222 GB, free: 10.11 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.001195/0.6894, allocations: 0.9626 MB / 0.6231 GB, free: 9.105 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005156/0.6899, allocations: 217.1 kB / 0.6233 GB, free: 8.895 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6899, allocations: 0 / 0.6233 GB, free: 8.895 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.6901, allocations: 80.28 kB / 0.6234 GB, free: 8.816 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.6906, allocations: 55.91 kB / 0.6234 GB, free: 8.762 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.6935, allocations: 1.577 MB / 0.625 GB, free: 7.031 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.6939, allocations: 0.7208 MB / 0.6257 GB, free: 6.285 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008577/0.6948, allocations: 378.1 kB / 0.626 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.695, allocations: 99.36 kB / 0.6261 GB, free: 5.82 MB / 462.1 MB Notification: Performance of SimCode: time 4.3e-07/0.695, allocations: 0 / 0.6261 GB, free: 5.82 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.7224, allocations: 6.804 MB / 0.6328 GB, free: 15.2 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.7227, allocations: 253 kB / 0.633 GB, free: 14.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.819, allocations: 0 / 0.633 GB, free: 14.86 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat