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.0009768/0.0009768, allocations: 97.48 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000905/0.0009051, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, 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.2135/0.2135, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 11.98 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1555, allocations: 63.47 MB / 481.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01054/0.1661, allocations: 10.21 MB / 491.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.1769, allocations: 10.79 MB / 0.4909 GB, free: 216 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.1771, allocations: 0 / 0.4909 GB, free: 216 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.1775, allocations: 55.69 kB / 0.4909 GB, free: 160 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009394/0.1869, allocations: 2.441 MB / 0.4933 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.1874, allocations: 147.3 kB / 0.4934 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01055/0.1979, allocations: 7.404 MB / 0.5007 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.244e-05/0.1981, allocations: 20.39 kB / 0.5007 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.1983, allocations: 135.5 kB / 0.5008 GB, free: 6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.327/0.5253, allocations: 14.16 MB / 0.5146 GB, free: 25.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.442e-05/0.5254, allocations: 6.781 kB / 0.5146 GB, free: 25.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006464/0.5319, allocations: 1.972 MB / 0.5166 GB, free: 25.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.532, allocations: 43.47 kB / 0.5166 GB, free: 25.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.5322, allocations: 70.39 kB / 0.5167 GB, free: 25.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.5349, allocations: 1.026 MB / 0.5177 GB, free: 25.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5349, allocations: 0 / 0.5177 GB, free: 25.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.535, allocations: 0 / 0.5177 GB, free: 25.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.535, allocations: 0 / 0.5177 GB, free: 25.07 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.002198/0.5372, allocations: 0.8687 MB / 0.5185 GB, free: 24.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5372, allocations: 8.844 kB / 0.5185 GB, free: 24.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.723e-05/0.5373, allocations: 62.56 kB / 0.5186 GB, free: 24.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000539/0.5379, allocations: 77.89 kB / 0.5187 GB, free: 24.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.5381, allocations: 249.4 kB / 0.5189 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.5382, allocations: 23.75 kB / 0.5189 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.5382, allocations: 28.28 kB / 0.519 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009166/0.5391, allocations: 474.4 kB / 0.5194 GB, free: 24.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5392, allocations: 0.6875 kB / 0.5194 GB, free: 24.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.5392, allocations: 26.69 kB / 0.5194 GB, free: 24.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.5392, allocations: 5.156 kB / 0.5194 GB, free: 24.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.5404, allocations: 0.6765 MB / 0.5201 GB, free: 24.13 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.006762/0.5472, allocations: 4.292 MB / 0.5243 GB, free: 21.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.5477, allocations: 162.7 kB / 0.5245 GB, free: 21.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.5478, allocations: 58.25 kB / 0.5245 GB, free: 21.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02283/0.5707, allocations: 16.38 MB / 0.5405 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006304/0.5713, allocations: 323.9 kB / 0.5408 GB, free: 7.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.124e-06/0.5713, allocations: 0 / 0.5408 GB, free: 7.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001212/0.5726, allocations: 445.6 kB / 0.5412 GB, free: 7.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.5727, allocations: 479.6 kB / 0.5417 GB, free: 6.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.5728, allocations: 182.1 kB / 0.5419 GB, free: 6.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.5728, allocations: 36.2 kB / 0.5419 GB, free: 6.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.5729, allocations: 187.3 kB / 0.5421 GB, free: 6.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.573, allocations: 104 kB / 0.5422 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.573, allocations: 7 kB / 0.5422 GB, free: 6.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.5731, allocations: 333.8 kB / 0.5425 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/0.5732, allocations: 58.75 kB / 0.5426 GB, free: 5.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.5734, allocations: 320.2 kB / 0.5429 GB, free: 5.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.5735, allocations: 109.4 kB / 0.543 GB, free: 5.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.5736, allocations: 0 / 0.543 GB, free: 5.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005049/0.5741, allocations: 397 kB / 0.5433 GB, free: 4.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5741, allocations: 8 kB / 0.5434 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5741, allocations: 8.844 kB / 0.5434 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.5741, allocations: 12 kB / 0.5434 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.5744, allocations: 112.5 kB / 0.5435 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.5744, allocations: 23.03 kB / 0.5435 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.5747, allocations: 49.83 kB / 0.5436 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.5747, allocations: 30.25 kB / 0.5436 GB, free: 4.766 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.0001144/0.5749, allocations: 161.8 kB / 0.5437 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.5749, allocations: 23.81 kB / 0.5438 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008937/0.5758, allocations: 0.7979 MB / 0.5445 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.5758, allocations: 4 kB / 0.5445 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5758, allocations: 8.219 kB / 0.5445 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.5759, allocations: 11.94 kB / 0.5446 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008632/0.5767, allocations: 1.218 MB / 0.5457 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5767, allocations: 0 / 0.5457 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.389e-05/0.5768, allocations: 27.98 kB / 0.5458 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.5769, allocations: 4.094 kB / 0.5458 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.5769, allocations: 11.81 kB / 0.5458 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.5769, allocations: 7.562 kB / 0.5458 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5769, allocations: 4 kB / 0.5458 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.5772, allocations: 373.3 kB / 0.5462 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.5773, allocations: 209.8 kB / 0.5464 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.5774, allocations: 7.5 kB / 0.5464 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.5776, allocations: 15.98 kB / 0.5464 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.5776, allocations: 28.72 kB / 0.5464 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.5776, allocations: 11.5 kB / 0.5464 GB, free: 2.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002431/0.5779, allocations: 289.5 kB / 0.5467 GB, free: 1.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5779, allocations: 96 / 0.5467 GB, free: 1.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00147/0.5794, allocations: 430.2 kB / 0.5471 GB, free: 1.586 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.001507/0.5809, allocations: 1.433 MB / 0.5485 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.5812, allocations: 227.4 kB / 0.5487 GB, free: 84 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5812, allocations: 4 kB / 0.5487 GB, free: 80 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.621e-05/0.5813, allocations: 78.92 kB / 0.5488 GB, free: 32 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.5819, allocations: 93.8 kB / 0.5489 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.595/2.177, allocations: 0.5781 GB / 1.127 GB, free: 188 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/2.177, allocations: 0.8086 MB / 1.128 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004759/2.178, allocations: 163.3 kB / 1.128 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/2.178, allocations: 149.2 kB / 1.128 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.403e-06/2.178, allocations: 0 / 1.128 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/2.209, allocations: 17.47 MB / 1.145 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/2.209, allocations: 212.9 kB / 1.145 GB, free: 174 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/4.749, allocations: 3.125 kB / 1.145 GB, free: 174 MB / 0.5294 GB (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