Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 97.34 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.00201, allocations: 186.9 kB / 17.89 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1961/0.1961, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.0002992, allocations: 9.062 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01104/0.1303, allocations: 10.19 MB / 481.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.1421, allocations: 10.78 MB / 492.6 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.1423, allocations: 4 kB / 492.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.1426, allocations: 51.69 kB / 492.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007166/0.1498, allocations: 2.456 MB / 495.1 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.1502, allocations: 134.8 kB / 495.3 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009743/0.1599, allocations: 7.412 MB / 0.4909 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.316e-05/0.16, allocations: 12.41 kB / 0.4909 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.1602, allocations: 147.5 kB / 0.491 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01726/0.1775, allocations: 14.16 MB / 0.5049 GB, free: 220 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.1776, allocations: 8 kB / 0.5049 GB, free: 212 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2589/0.4365, allocations: 1.956 MB / 0.5068 GB, free: 34.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.4366, allocations: 43.23 kB / 0.5068 GB, free: 34.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.4368, allocations: 72.61 kB / 0.5069 GB, free: 34.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.4392, allocations: 1.028 MB / 0.5079 GB, free: 34.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4392, allocations: 0 / 0.5079 GB, free: 34.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4392, allocations: 2 kB / 0.5079 GB, free: 34.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.4392, allocations: 0 / 0.5079 GB, free: 34.02 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.002494/0.4417, allocations: 0.8658 MB / 0.5087 GB, free: 33.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.4418, allocations: 14.73 kB / 0.5088 GB, free: 33.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.4419, allocations: 63.67 kB / 0.5088 GB, free: 33.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005914/0.4425, allocations: 80.89 kB / 0.5089 GB, free: 33.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.4428, allocations: 243.3 kB / 0.5091 GB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.4429, allocations: 23.42 kB / 0.5092 GB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.4429, allocations: 30.34 kB / 0.5092 GB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.444, allocations: 485 kB / 0.5096 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.444, allocations: 1.344 kB / 0.5096 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.4441, allocations: 9.844 kB / 0.5097 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4441, allocations: 7.047 kB / 0.5097 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.4454, allocations: 0.6823 MB / 0.5103 GB, free: 33.09 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.0074/0.4528, allocations: 4.285 MB / 0.5145 GB, free: 30.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.4535, allocations: 163.4 kB / 0.5147 GB, free: 30.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.4537, allocations: 61.11 kB / 0.5147 GB, free: 30.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02473/0.4784, allocations: 16.38 MB / 0.5307 GB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000708/0.4791, allocations: 323.6 kB / 0.531 GB, free: 17.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.206e-06/0.4792, allocations: 0 / 0.531 GB, free: 17.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001431/0.4806, allocations: 437.7 kB / 0.5314 GB, free: 17.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.4807, allocations: 483.8 kB / 0.5319 GB, free: 17.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.4809, allocations: 183.6 kB / 0.5321 GB, free: 17.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.481, allocations: 32.2 kB / 0.5321 GB, free: 17.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.4811, allocations: 182.1 kB / 0.5323 GB, free: 16.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.947e-05/0.4811, allocations: 104.9 kB / 0.5324 GB, free: 16.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/0.4812, allocations: 7.906 kB / 0.5324 GB, free: 16.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.4812, allocations: 333.2 kB / 0.5327 GB, free: 16.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.4813, allocations: 62.98 kB / 0.5328 GB, free: 16.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.4816, allocations: 313.4 kB / 0.5331 GB, free: 16.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.4817, allocations: 114.8 kB / 0.5332 GB, free: 16.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4817, allocations: 3.531 kB / 0.5332 GB, free: 16.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005604/0.4823, allocations: 393.2 kB / 0.5336 GB, free: 16.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.4823, allocations: 11.22 kB / 0.5336 GB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4824, allocations: 8.406 kB / 0.5336 GB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.4824, allocations: 17.55 kB / 0.5336 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.4827, allocations: 110.9 kB / 0.5337 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.4827, allocations: 14.97 kB / 0.5337 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.483, allocations: 42.41 kB / 0.5338 GB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.4831, allocations: 36.27 kB / 0.5338 GB, free: 16.09 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.0001119/0.4832, allocations: 157.5 kB / 0.5339 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.4833, allocations: 31.89 kB / 0.534 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009139/0.4842, allocations: 0.8088 MB / 0.5348 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.4842, allocations: 6.812 kB / 0.5348 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4842, allocations: 3.562 kB / 0.5348 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4842, allocations: 3.562 kB / 0.5348 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/0.4852, allocations: 1.217 MB / 0.536 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.4853, allocations: 4.094 kB / 0.536 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.4854, allocations: 33.11 kB / 0.536 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.4854, allocations: 4.812 kB / 0.536 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.4854, allocations: 5.281 kB / 0.536 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.4854, allocations: 13.02 kB / 0.536 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.4854, allocations: 2.969 kB / 0.536 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.4858, allocations: 378.1 kB / 0.5364 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.4859, allocations: 213.2 kB / 0.5366 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.486, allocations: 7.969 kB / 0.5366 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.4862, allocations: 16.59 kB / 0.5366 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.4863, allocations: 26.03 kB / 0.5366 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.4863, allocations: 8.438 kB / 0.5366 GB, free: 14.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003029/0.4866, allocations: 285.8 kB / 0.5369 GB, free: 14.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4866, allocations: 0 / 0.5369 GB, free: 14.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002115/0.4888, allocations: 432 kB / 0.5373 GB, free: 14.05 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.002154/0.4909, allocations: 1.431 MB / 0.5387 GB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.4914, allocations: 228.3 kB / 0.5389 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4914, allocations: 2.625 kB / 0.5389 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.4915, allocations: 83.5 kB / 0.539 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006864/0.4922, allocations: 95.16 kB / 0.5391 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.561/2.053, allocations: 0.5781 GB / 1.117 GB, free: 164.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/2.053, allocations: 0.807 MB / 1.118 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004258/2.054, allocations: 166.7 kB / 1.118 GB, free: 163.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/2.054, allocations: 139.4 kB / 1.118 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/2.054, allocations: 0 / 1.118 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0401/2.094, allocations: 17.46 MB / 1.135 GB, free: 146.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/2.094, allocations: 209.8 kB / 1.136 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/4.781, allocations: 0 / 1.136 GB, free: 146.1 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat