Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009674/0.0009675, allocations: 102.9 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000982/0.0009824, allocations: 206 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 8 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 63.47 MB / 481.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.00825/0.1473, allocations: 7.5 MB / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.1594, allocations: 11.38 MB / 0.4887 GB, free: 2.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.1598, allocations: 4 kB / 0.4887 GB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.1601, allocations: 47.75 kB / 0.4887 GB, free: 2.297 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008639/0.1688, allocations: 2.609 MB / 0.4913 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.1692, allocations: 143.2 kB / 0.4914 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00865/0.1778, allocations: 7.157 MB / 0.4984 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.158e-05/0.1779, allocations: 16.41 kB / 0.4984 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.1781, allocations: 135.6 kB / 0.4985 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3004/0.4786, allocations: 13.84 MB / 0.5121 GB, free: 25.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.858e-05/0.4787, allocations: 11.19 kB / 0.5121 GB, free: 25.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007697/0.4864, allocations: 2.146 MB / 0.5142 GB, free: 25.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.4866, allocations: 43.31 kB / 0.5142 GB, free: 25.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.4868, allocations: 75.36 kB / 0.5143 GB, free: 25.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.4896, allocations: 1.022 MB / 0.5153 GB, free: 25.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4896, allocations: 1.406 kB / 0.5153 GB, free: 25.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4896, allocations: 0.5625 kB / 0.5153 GB, free: 25.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4896, allocations: 0 / 0.5153 GB, free: 25.53 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.002637/0.4923, allocations: 0.8637 MB / 0.5161 GB, free: 24.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4923, allocations: 9.531 kB / 0.5161 GB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.953e-05/0.4924, allocations: 64.55 kB / 0.5162 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/0.493, allocations: 79.83 kB / 0.5163 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.4934, allocations: 251.6 kB / 0.5165 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.4934, allocations: 21.19 kB / 0.5165 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.4934, allocations: 26.53 kB / 0.5166 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.4945, allocations: 475 kB / 0.517 GB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4945, allocations: 3.281 kB / 0.517 GB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.4945, allocations: 12.97 kB / 0.517 GB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.4946, allocations: 8.031 kB / 0.517 GB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.4958, allocations: 0.6833 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.007557/0.5034, allocations: 4.322 MB / 0.5219 GB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.504, allocations: 165.2 kB / 0.5221 GB, free: 21.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02093/0.5249, allocations: 14.35 MB / 0.5361 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000707/0.5257, allocations: 318.9 kB / 0.5364 GB, free: 10.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.795e-06/0.5257, allocations: 0 / 0.5364 GB, free: 10.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001332/0.5271, allocations: 432.5 kB / 0.5368 GB, free: 10.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.5272, allocations: 488.9 kB / 0.5373 GB, free: 10.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.5274, allocations: 182.5 kB / 0.5375 GB, free: 9.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5274, allocations: 32.02 kB / 0.5375 GB, free: 9.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.5275, allocations: 183.7 kB / 0.5377 GB, free: 9.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.5276, allocations: 101.7 kB / 0.5378 GB, free: 9.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.5276, allocations: 9.844 kB / 0.5378 GB, free: 9.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.5276, allocations: 328 kB / 0.5381 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.559e-05/0.5277, allocations: 64.3 kB / 0.5381 GB, free: 9.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.528, allocations: 306.3 kB / 0.5384 GB, free: 9.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.5282, allocations: 109.8 kB / 0.5385 GB, free: 9.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.5282, allocations: 3.094 kB / 0.5385 GB, free: 9.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006809/0.5289, allocations: 393.3 kB / 0.5389 GB, free: 8.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.5289, allocations: 7.281 kB / 0.5389 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.5289, allocations: 8.562 kB / 0.5389 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.5289, allocations: 12.5 kB / 0.5389 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.5293, allocations: 111.4 kB / 0.539 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/0.5293, allocations: 25.84 kB / 0.5391 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.5296, allocations: 46.55 kB / 0.5391 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.5297, allocations: 28.34 kB / 0.5391 GB, free: 8.887 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * 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.0001494/0.5298, allocations: 171.2 kB / 0.5393 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.5299, allocations: 23.38 kB / 0.5393 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.5309, allocations: 0.806 MB / 0.5401 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.5309, allocations: 7.25 kB / 0.5401 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5309, allocations: 4 kB / 0.5401 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.531, allocations: 4.172 kB / 0.5401 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009195/0.5319, allocations: 1.219 MB / 0.5413 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.5319, allocations: 4.875 kB / 0.5413 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.85e-05/0.532, allocations: 39.61 kB / 0.5414 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.532, allocations: 4 kB / 0.5414 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.532, allocations: 7.75 kB / 0.5414 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.532, allocations: 8.094 kB / 0.5414 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.532, allocations: 3.562 kB / 0.5414 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.5324, allocations: 0.4937 MB / 0.5419 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.5325, allocations: 217.2 kB / 0.5421 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.5326, allocations: 11.23 kB / 0.5421 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.5329, allocations: 8 kB / 0.5421 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.5329, allocations: 27.03 kB / 0.5421 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.5329, allocations: 15.8 kB / 0.5421 GB, free: 6.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.5332, allocations: 286.4 kB / 0.5424 GB, free: 6.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5332, allocations: 0 / 0.5424 GB, free: 6.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001937/0.5351, allocations: 426.5 kB / 0.5428 GB, free: 5.793 MB / 382.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002215/0.5373, allocations: 2.225 MB / 0.545 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.5377, allocations: 228.4 kB / 0.5452 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5377, allocations: 4 kB / 0.5452 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.5378, allocations: 81.97 kB / 0.5453 GB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.5384, allocations: 88.94 kB / 0.5454 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/0.5428, allocations: 8.003 MB / 0.5532 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.5431, allocations: 0.8148 MB / 0.554 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004643/0.5436, allocations: 163.5 kB / 0.5541 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.5438, allocations: 146.6 kB / 0.5543 GB, free: 10.37 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5438, allocations: 0 / 0.5543 GB, free: 10.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0574/0.6012, allocations: 17.39 MB / 0.5713 GB, free: 9.27 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003495/0.6016, allocations: 207.9 kB / 0.5715 GB, free: 9.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.177, allocations: 0 / 0.5715 GB, free: 9.027 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat