Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001235, allocations: 97.83 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.3 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002968, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1498, allocations: 63.46 MB / 481.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.008869/0.1587, allocations: 7.5 MB / 489 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.1719, allocations: 11.38 MB / 0.4887 GB, free: 2.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.1722, allocations: 4 kB / 0.4887 GB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.1725, allocations: 51.75 kB / 0.4887 GB, free: 2.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008618/0.1811, allocations: 2.597 MB / 0.4913 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.1815, allocations: 143.4 kB / 0.4914 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009105/0.1907, allocations: 7.157 MB / 0.4984 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.939e-05/0.1908, allocations: 16.41 kB / 0.4984 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.191, allocations: 139.6 kB / 0.4985 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3008/0.4918, allocations: 13.84 MB / 0.5121 GB, free: 25.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.39e-05/0.4919, allocations: 6.438 kB / 0.5121 GB, free: 25.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006753/0.4987, allocations: 2.134 MB / 0.5141 GB, free: 25.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.4988, allocations: 37.86 kB / 0.5142 GB, free: 25.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.499, allocations: 75.02 kB / 0.5143 GB, free: 25.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003222/0.5022, allocations: 1.021 MB / 0.5152 GB, free: 25.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5023, allocations: 0 / 0.5152 GB, free: 25.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5023, allocations: 0 / 0.5152 GB, free: 25.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.5023, allocations: 1.344 kB / 0.5152 GB, free: 25.52 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002665/0.505, allocations: 0.862 MB / 0.5161 GB, free: 24.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/0.505, allocations: 9.5 kB / 0.5161 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.5052, allocations: 63.27 kB / 0.5162 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006603/0.5058, allocations: 80.47 kB / 0.5162 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.5062, allocations: 244.3 kB / 0.5165 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.5062, allocations: 21.03 kB / 0.5165 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.434e-05/0.5063, allocations: 32.72 kB / 0.5165 GB, free: 24.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.5075, allocations: 472.3 kB / 0.517 GB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.5075, allocations: 4.969 kB / 0.517 GB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.5076, allocations: 13.12 kB / 0.517 GB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.5076, allocations: 11.38 kB / 0.517 GB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.5092, allocations: 0.6771 MB / 0.5177 GB, free: 24.59 MB / 382.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.007128/0.5163, allocations: 3.107 MB / 0.5207 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008627/0.5172, allocations: 222.1 kB / 0.5209 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07523/0.5924, allocations: 28.8 MB / 0.549 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008396/0.5933, allocations: 336.9 kB / 0.5493 GB, free: 15.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 3.547e-06/0.5933, allocations: 0 / 0.5493 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003356/0.5967, allocations: 0.9652 MB / 0.5503 GB, free: 14.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002705/0.597, allocations: 485.4 kB / 0.5508 GB, free: 13.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.5972, allocations: 154.6 kB / 0.5509 GB, free: 13.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.5973, allocations: 33.45 kB / 0.5509 GB, free: 13.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.5974, allocations: 164.4 kB / 0.5511 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.5975, allocations: 130.7 kB / 0.5512 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.5975, allocations: 10.94 kB / 0.5512 GB, free: 13.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5977, allocations: 325.9 kB / 0.5515 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.5979, allocations: 77.19 kB / 0.5516 GB, free: 13.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.5982, allocations: 304.6 kB / 0.5519 GB, free: 12.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.5984, allocations: 131.1 kB / 0.552 GB, free: 12.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.5984, allocations: 4 kB / 0.552 GB, free: 12.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007711/0.5992, allocations: 446.4 kB / 0.5525 GB, free: 12.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.5993, allocations: 8 kB / 0.5525 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.5993, allocations: 8 kB / 0.5525 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/0.6014, allocations: 306.6 kB / 0.5528 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.6018, allocations: 111.1 kB / 0.5529 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007106/0.6025, allocations: 1.211 MB / 0.5541 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.6028, allocations: 30.03 kB / 0.5541 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/0.6029, allocations: 31.61 kB / 0.5541 GB, free: 10.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.6031, allocations: 157.9 kB / 0.5543 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.6032, allocations: 27.72 kB / 0.5543 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.6048, allocations: 1.08 MB / 0.5553 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.6048, allocations: 15.77 kB / 0.5554 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6048, allocations: 0 / 0.5554 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6048, allocations: 7.984 kB / 0.5554 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.6066, allocations: 1.553 MB / 0.5569 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6066, allocations: 0 / 0.5569 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.6068, allocations: 47.38 kB / 0.5569 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.608, allocations: 244.8 kB / 0.5572 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.6081, allocations: 11.23 kB / 0.5572 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006329/0.6087, allocations: 1.261 MB / 0.5584 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.6087, allocations: 3.75 kB / 0.5584 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008018/0.6095, allocations: 0.7299 MB / 0.5591 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.6098, allocations: 226.4 kB / 0.5593 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.6099, allocations: 15.05 kB / 0.5593 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.6102, allocations: 19.27 kB / 0.5594 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.6102, allocations: 26.09 kB / 0.5594 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.6102, allocations: 11.94 kB / 0.5594 GB, free: 5.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003075/0.6106, allocations: 268.4 kB / 0.5597 GB, free: 5.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6106, allocations: 0 / 0.5597 GB, free: 5.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002249/0.6128, allocations: 450.2 kB / 0.5601 GB, free: 5.188 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004261/0.6171, allocations: 2.483 MB / 0.5625 GB, free: 2.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000812/0.6179, allocations: 363.5 kB / 0.5629 GB, free: 2.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.6179, allocations: 4 kB / 0.5629 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.6183, allocations: 221.3 kB / 0.5631 GB, free: 2.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.619, allocations: 95 kB / 0.5632 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.6256, allocations: 8.07 MB / 0.571 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.6261, allocations: 0.8429 MB / 0.5719 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004866/0.6266, allocations: 168 kB / 0.572 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.6268, allocations: 154.3 kB / 0.5722 GB, free: 9.367 MB / 414.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6268, allocations: 0 / 0.5722 GB, free: 9.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04447/0.6713, allocations: 18.86 MB / 0.5906 GB, free: 6.844 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.6716, allocations: 228.5 kB / 0.5908 GB, free: 6.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.238, allocations: 3.625 kB / 0.5908 GB, free: 6.609 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat