Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.001076/0.001075, allocations: 96.59 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 173.8 kB / 16.56 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.497/0.497, allocations: 43.55 MB / 314.5 MB, free: 9.031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005671/0.0005671, allocations: 14.19 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1679, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.009051/0.1771, allocations: 7.488 MB / 450.3 MB, free: 5.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.32/0.4971, allocations: 12.95 MB / 463.3 MB, free: 36.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005048/0.4977, allocations: 2.938 kB / 463.3 MB, free: 36.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.4982, allocations: 53.41 kB / 463.3 MB, free: 36.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.5092, allocations: 2.593 MB / 465.9 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.5097, allocations: 142.2 kB / 466.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009204/0.5189, allocations: 7.151 MB / 473.2 MB, free: 35.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.5191, allocations: 20.88 kB / 473.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.5193, allocations: 140.9 kB / 473.4 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01964/0.5389, allocations: 13.83 MB / 487.2 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.885e-05/0.5391, allocations: 10.72 kB / 487.2 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008143/0.5472, allocations: 2.416 MB / 489.6 MB, free: 34.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.5474, allocations: 43.45 kB / 489.7 MB, free: 34.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.5476, allocations: 67.92 kB / 489.7 MB, free: 34.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003346/0.551, allocations: 1.148 MB / 490.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.551, allocations: 0 / 490.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.551, allocations: 0 / 490.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.551, allocations: 4 kB / 490.9 MB, free: 34.51 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.002621/0.5536, allocations: 0.9033 MB / 491.8 MB, free: 33.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.5537, allocations: 13.61 kB / 491.8 MB, free: 33.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.685e-05/0.5538, allocations: 62.05 kB / 491.9 MB, free: 33.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005749/0.5544, allocations: 86.17 kB / 492 MB, free: 33.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.5547, allocations: 236.6 kB / 492.2 MB, free: 33.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.5547, allocations: 22.5 kB / 492.2 MB, free: 33.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.5548, allocations: 24.69 kB / 492.2 MB, free: 33.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.5558, allocations: 482.2 kB / 492.7 MB, free: 33.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.5558, allocations: 5.562 kB / 492.7 MB, free: 33.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.5559, allocations: 14.17 kB / 492.7 MB, free: 33.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.5559, allocations: 7.844 kB / 492.7 MB, free: 33.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.557, allocations: 0.6766 MB / 493.4 MB, free: 33.53 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.006752/0.5638, allocations: 3.144 MB / 496.6 MB, free: 31.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.5644, allocations: 212.8 kB / 496.8 MB, free: 31.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07494/0.6394, allocations: 31.47 MB / 0.5159 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007276/0.6402, allocations: 333.6 kB / 0.5162 GB, free: 2.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.776e-06/0.6402, allocations: 3.938 kB / 0.5162 GB, free: 2.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002494/0.6427, allocations: 0.8598 MB / 0.517 GB, free: 1.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.6429, allocations: 483 kB / 0.5175 GB, free: 1.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.643, allocations: 150.4 kB / 0.5176 GB, free: 0.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.6431, allocations: 37.64 kB / 0.5177 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.6432, allocations: 163.9 kB / 0.5178 GB, free: 0.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.6432, allocations: 122.8 kB / 0.5179 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.6433, allocations: 12 kB / 0.5179 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.6434, allocations: 334.8 kB / 0.5183 GB, free: 292 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.986e-05/0.6435, allocations: 65.08 kB / 0.5183 GB, free: 228 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.6438, allocations: 309.3 kB / 0.5186 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.644, allocations: 117.4 kB / 0.5187 GB, free: 15.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.644, allocations: 0 / 0.5187 GB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006657/0.6447, allocations: 400 kB / 0.5191 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.6447, allocations: 8 kB / 0.5191 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.6447, allocations: 11.95 kB / 0.5191 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.6448, allocations: 12 kB / 0.5191 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.6466, allocations: 272.9 kB / 0.5194 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007005/0.6473, allocations: 1.172 MB / 0.5205 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.6475, allocations: 24.08 kB / 0.5206 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/0.6476, allocations: 35.98 kB / 0.5206 GB, free: 13.72 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 (55): * Single equations (assignments): 53 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.6478, allocations: 157.6 kB / 0.5207 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.6479, allocations: 31.7 kB / 0.5208 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.6494, allocations: 0.9754 MB / 0.5217 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.6494, allocations: 8.625 kB / 0.5217 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.6494, allocations: 4 kB / 0.5217 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.6494, allocations: 3.984 kB / 0.5217 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.6512, allocations: 1.432 MB / 0.5231 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6512, allocations: 0 / 0.5231 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.6522, allocations: 145.4 kB / 0.5233 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.6523, allocations: 4 kB / 0.5233 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.6523, allocations: 16.55 kB / 0.5233 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003097/0.6526, allocations: 0.586 MB / 0.5239 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.6526, allocations: 4 kB / 0.5239 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.6533, allocations: 0.6273 MB / 0.5245 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.6535, allocations: 220 kB / 0.5247 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.6536, allocations: 12.7 kB / 0.5247 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.6538, allocations: 23.86 kB / 0.5247 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.6539, allocations: 27.92 kB / 0.5248 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.6539, allocations: 15.98 kB / 0.5248 GB, free: 9.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.6542, allocations: 271.1 kB / 0.525 GB, free: 8.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6542, allocations: 0 / 0.525 GB, free: 8.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002141/0.6564, allocations: 463.6 kB / 0.5255 GB, free: 8.418 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002996/0.6594, allocations: 2.453 MB / 0.5279 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.6609, allocations: 393 kB / 0.5283 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6609, allocations: 0 / 0.5283 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007696/0.6617, allocations: 229.5 kB / 0.5285 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.6623, allocations: 96.06 kB / 0.5286 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006365/0.6687, allocations: 8.008 MB / 0.5364 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.6692, allocations: 0.839 MB / 0.5372 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005122/0.6697, allocations: 173.2 kB / 0.5374 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.6699, allocations: 151.4 kB / 0.5375 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6699, allocations: 4 kB / 0.5375 GB, free: 11.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.7084, allocations: 19.1 MB / 0.5562 GB, free: 8.848 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.7087, allocations: 228.2 kB / 0.5564 GB, free: 8.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.364, allocations: 0 / 0.5564 GB, free: 8.613 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat