Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009204/0.0009205, allocations: 100.9 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008541/0.0008541, allocations: 194.5 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.3 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.2496/0.2496, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1403, allocations: 63.47 MB / 481.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02588/0.1662, allocations: 24.88 MB / 0.4946 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.169, allocations: 2.743 MB / 0.4973 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1691, allocations: 0 / 0.4973 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.1693, allocations: 39.73 kB / 0.4974 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.1706, allocations: 0.5789 MB / 0.4979 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.1709, allocations: 123.4 kB / 0.498 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.1714, allocations: 394.1 kB / 0.4984 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.627e-05/0.1715, allocations: 17.67 kB / 0.4984 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3378/0.5092, allocations: 22.43 MB / 0.5203 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.5098, allocations: 151.8 kB / 0.5205 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.5098, allocations: 4.875 kB / 0.5205 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.52, allocations: 5.601 MB / 0.526 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.5202, allocations: 44.97 kB / 0.526 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.5203, allocations: 59.92 kB / 0.5261 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.521, allocations: 297.7 kB / 0.5263 GB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.521, allocations: 0 / 0.5263 GB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.521, allocations: 4 kB / 0.5263 GB, free: 15.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.521, allocations: 4 kB / 0.5263 GB, free: 15.69 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001032/0.5221, allocations: 0.5401 MB / 0.5269 GB, free: 15.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.5221, allocations: 12.62 kB / 0.5269 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.025e-05/0.5222, allocations: 60.27 kB / 0.5269 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.5223, allocations: 28.8 kB / 0.527 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.5226, allocations: 217.4 kB / 0.5272 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.604e-05/0.5227, allocations: 125.5 kB / 0.5273 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.5227, allocations: 27.27 kB / 0.5273 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.5232, allocations: 326.3 kB / 0.5276 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5232, allocations: 3.953 kB / 0.5276 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.5232, allocations: 11.25 kB / 0.5276 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.5232, allocations: 8.609 kB / 0.5277 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.5241, allocations: 0.7312 MB / 0.5284 GB, free: 14.14 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.001089/0.5251, allocations: 1.31 MB / 0.5297 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.5255, allocations: 156 kB / 0.5298 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.5256, allocations: 86.03 kB / 0.5299 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/0.5273, allocations: 2.816 MB / 0.5326 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.5273, allocations: 39.95 kB / 0.5327 GB, free: 9.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.254e-06/0.5273, allocations: 4 kB / 0.5327 GB, free: 9.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002457/0.5276, allocations: 112 kB / 0.5328 GB, free: 9.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.5276, allocations: 55.41 kB / 0.5328 GB, free: 9.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.5278, allocations: 218.7 kB / 0.533 GB, free: 9.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.5278, allocations: 28.45 kB / 0.5331 GB, free: 9.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.5279, allocations: 219.5 kB / 0.5333 GB, free: 9.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.5279, allocations: 45.8 kB / 0.5333 GB, free: 9.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.5279, allocations: 3.812 kB / 0.5333 GB, free: 9.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.528, allocations: 333.9 kB / 0.5336 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.528, allocations: 53.08 kB / 0.5337 GB, free: 8.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.5282, allocations: 340.1 kB / 0.534 GB, free: 8.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.5283, allocations: 97.98 kB / 0.5341 GB, free: 8.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5283, allocations: 4 kB / 0.5341 GB, free: 8.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004313/0.5288, allocations: 378.9 kB / 0.5345 GB, free: 8.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5288, allocations: 9.172 kB / 0.5345 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.5288, allocations: 17.53 kB / 0.5345 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.5288, allocations: 16 kB / 0.5345 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.5291, allocations: 96.17 kB / 0.5346 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.5291, allocations: 21.38 kB / 0.5346 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.5293, allocations: 52.94 kB / 0.5347 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.5294, allocations: 32.69 kB / 0.5347 GB, free: 7.852 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 9.245e-05/0.5295, allocations: 152.5 kB / 0.5349 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.5295, allocations: 28.86 kB / 0.5349 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.5298, allocations: 134.1 kB / 0.535 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.5298, allocations: 8 kB / 0.535 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5298, allocations: 0 / 0.535 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5298, allocations: 0.7031 kB / 0.535 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.5302, allocations: 416 kB / 0.5354 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5302, allocations: 0 / 0.5354 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.5303, allocations: 16.34 kB / 0.5354 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5303, allocations: 3.656 kB / 0.5354 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.5303, allocations: 4.844 kB / 0.5354 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.5303, allocations: 4 kB / 0.5354 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5303, allocations: 3.656 kB / 0.5354 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.5304, allocations: 202.9 kB / 0.5356 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.5305, allocations: 110.5 kB / 0.5357 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.5305, allocations: 6.359 kB / 0.5358 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.5307, allocations: 9.906 kB / 0.5358 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.5307, allocations: 5.875 kB / 0.5358 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.5307, allocations: 4.75 kB / 0.5358 GB, free: 6.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.5308, allocations: 156.6 kB / 0.5359 GB, free: 6.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5308, allocations: 0 / 0.5359 GB, free: 6.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004648/0.5313, allocations: 90.67 kB / 0.536 GB, free: 6.652 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0004332/0.5318, allocations: 0.7944 MB / 0.5368 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.532, allocations: 160.9 kB / 0.5369 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.532, allocations: 0 / 0.5369 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.315e-05/0.5321, allocations: 28.42 kB / 0.537 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.5325, allocations: 43.55 kB / 0.537 GB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.5342, allocations: 1.454 MB / 0.5384 GB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.5343, allocations: 0.7238 MB / 0.5391 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.5346, allocations: 57.2 kB / 0.5392 GB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.833e-05/0.5346, allocations: 59.38 kB / 0.5392 GB, free: 3.625 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5347, allocations: 4 kB / 0.5392 GB, free: 3.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.5495, allocations: 4.739 MB / 0.5439 GB, free: 224 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.5498, allocations: 211 kB / 0.5441 GB, free: 15.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.466, allocations: 0 / 0.5441 GB, free: 15.97 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat