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.0009245/0.0009246, allocations: 96.86 kB / 15.7 MB, free: 468 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.001196/0.001196, allocations: 173 kB / 16.58 MB, free: 6.844 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.58/1.58, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.4014/0.4014, allocations: 43.55 MB / 314.6 MB, free: 9.055 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.00057/0.0005701, allocations: 14.66 kB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1442, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01231/0.1565, allocations: 10.2 MB / 453.1 MB, free: 2.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2859/0.4425, allocations: 13.09 MB / 466.2 MB, free: 36.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.4427, allocations: 0 / 466.2 MB, free: 36.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.443, allocations: 58.48 kB / 466.2 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008284/0.4513, allocations: 2.442 MB / 468.7 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.4518, allocations: 142.2 kB / 468.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009584/0.4614, allocations: 7.414 MB / 476.2 MB, free: 35.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.416e-05/0.4615, allocations: 17.16 kB / 476.2 MB, free: 35.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.4617, allocations: 143.1 kB / 476.4 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01913/0.4808, allocations: 14.16 MB / 490.5 MB, free: 33.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.65e-05/0.481, allocations: 6.875 kB / 490.5 MB, free: 33.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007095/0.4881, allocations: 2.199 MB / 492.7 MB, free: 33.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.4882, allocations: 40.31 kB / 492.8 MB, free: 33.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.4884, allocations: 72.45 kB / 492.9 MB, free: 33.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003666/0.4921, allocations: 1.156 MB / 494 MB, free: 33.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.4921, allocations: 0 / 494 MB, free: 33.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4922, allocations: 0 / 494 MB, free: 33.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.4922, allocations: 1.031 kB / 494 MB, free: 33.48 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.003062/0.4952, allocations: 0.9058 MB / 494.9 MB, free: 32.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.4953, allocations: 13.52 kB / 494.9 MB, free: 32.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.174e-05/0.4954, allocations: 63.08 kB / 495 MB, free: 32.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005625/0.496, allocations: 77.66 kB / 495.1 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.4963, allocations: 244.4 kB / 495.3 MB, free: 32.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.4963, allocations: 23.56 kB / 495.3 MB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.4964, allocations: 28.5 kB / 495.4 MB, free: 32.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009926/0.4974, allocations: 475.3 kB / 495.8 MB, free: 32.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4974, allocations: 3.766 kB / 495.8 MB, free: 32.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.4974, allocations: 18.75 kB / 495.8 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4974, allocations: 8.25 kB / 495.9 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.4986, allocations: 0.6788 MB / 496.5 MB, free: 32.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.006244/0.5049, allocations: 3.121 MB / 499.7 MB, free: 30.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.5055, allocations: 213.2 kB / 499.9 MB, free: 30.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.5056, allocations: 76.38 kB / 499.9 MB, free: 30.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06759/0.5732, allocations: 33.49 MB / 0.5209 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008065/0.5741, allocations: 335.8 kB / 0.5212 GB, free: 13.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 3.066e-06/0.5741, allocations: 4 kB / 0.5212 GB, free: 13.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002576/0.5767, allocations: 0.8574 MB / 0.5221 GB, free: 12.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002131/0.5769, allocations: 482.6 kB / 0.5225 GB, free: 12.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.5771, allocations: 154.3 kB / 0.5227 GB, free: 12.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.5772, allocations: 33.7 kB / 0.5227 GB, free: 12.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.5773, allocations: 167.9 kB / 0.5229 GB, free: 11.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.5774, allocations: 137.1 kB / 0.523 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.5774, allocations: 12 kB / 0.523 GB, free: 11.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.5776, allocations: 326.8 kB / 0.5233 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.5777, allocations: 65.08 kB / 0.5234 GB, free: 11.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.578, allocations: 305.3 kB / 0.5237 GB, free: 10.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.5782, allocations: 107.9 kB / 0.5238 GB, free: 10.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5783, allocations: 8 kB / 0.5238 GB, free: 10.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006735/0.5789, allocations: 397.8 kB / 0.5242 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.579, allocations: 15.89 kB / 0.5242 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.579, allocations: 8 kB / 0.5242 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/0.579, allocations: 16.75 kB / 0.5242 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.5807, allocations: 264.4 kB / 0.5245 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008209/0.5815, allocations: 1.182 MB / 0.5256 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.5818, allocations: 28.02 kB / 0.5256 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/0.5818, allocations: 31.98 kB / 0.5257 GB, free: 8.848 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.0001958/0.582, allocations: 157.6 kB / 0.5258 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.5821, allocations: 30.03 kB / 0.5259 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.5835, allocations: 0.9662 MB / 0.5268 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.5835, allocations: 7.984 kB / 0.5268 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.5835, allocations: 4 kB / 0.5268 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5835, allocations: 0 / 0.5268 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.585, allocations: 1.429 MB / 0.5282 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.5851, allocations: 4 kB / 0.5282 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009283/0.586, allocations: 148.7 kB / 0.5284 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.586, allocations: 7.938 kB / 0.5284 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.586, allocations: 7.984 kB / 0.5284 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003166/0.5864, allocations: 0.5821 MB / 0.5289 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.5864, allocations: 4.031 kB / 0.5289 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/0.5869, allocations: 0.5162 MB / 0.5294 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.5871, allocations: 220 kB / 0.5297 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.5872, allocations: 8 kB / 0.5297 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.5875, allocations: 19.36 kB / 0.5297 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.5875, allocations: 23.91 kB / 0.5297 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.5875, allocations: 19.95 kB / 0.5297 GB, free: 4.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002857/0.5878, allocations: 275.1 kB / 0.53 GB, free: 4.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5878, allocations: 0 / 0.53 GB, free: 4.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00203/0.5899, allocations: 459.6 kB / 0.5304 GB, free: 3.75 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.002964/0.5928, allocations: 1.632 MB / 0.532 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.5944, allocations: 405.5 kB / 0.5324 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5944, allocations: 0 / 0.5324 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.5952, allocations: 221.1 kB / 0.5326 GB, free: 1.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/0.5959, allocations: 105.9 kB / 0.5327 GB, free: 1.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.353/1.949, allocations: 0.5363 GB / 1.069 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/1.95, allocations: 0.8273 MB / 1.07 GB, free: 105.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004303/1.95, allocations: 163.2 kB / 1.07 GB, free: 105.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/1.95, allocations: 151.4 kB / 1.07 GB, free: 105.3 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/1.95, allocations: 8 kB / 1.07 GB, free: 105.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/1.982, allocations: 19.17 MB / 1.089 GB, free: 86.23 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/1.982, allocations: 250 kB / 1.089 GB, free: 85.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/4.402, allocations: 0 / 1.089 GB, free: 85.98 MB / 494.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