Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00258/0.00258, allocations: 186.4 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 102.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2987/0.2987, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004767, allocations: 15.98 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1243, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01284/0.1372, allocations: 7.476 MB / 497.8 MB, free: 1.727 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0236/0.1608, allocations: 12.96 MB / 0.4988 GB, free: 4.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.1611, allocations: 0 / 0.4988 GB, free: 4.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.1615, allocations: 51.75 kB / 0.4988 GB, free: 4.688 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01121/0.1727, allocations: 2.601 MB / 0.5014 GB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.1734, allocations: 143.7 kB / 0.5015 GB, free: 1.938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01654/0.1899, allocations: 7.153 MB / 0.5085 GB, free: 10.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.1901, allocations: 16.41 kB / 0.5085 GB, free: 10.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.1905, allocations: 135.6 kB / 0.5086 GB, free: 10.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3534/0.5439, allocations: 13.83 MB / 0.5222 GB, free: 28.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/0.5441, allocations: 7.312 kB / 0.5222 GB, free: 28.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008672/0.5527, allocations: 2.416 MB / 0.5245 GB, free: 28.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.553, allocations: 40.64 kB / 0.5246 GB, free: 28.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.5531, allocations: 69.36 kB / 0.5246 GB, free: 28.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00467/0.5578, allocations: 1.152 MB / 0.5257 GB, free: 28.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.5579, allocations: 2.953 kB / 0.5258 GB, free: 28.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.5579, allocations: 1.375 kB / 0.5258 GB, free: 28.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.5579, allocations: 0 / 0.5258 GB, free: 28.11 MB / 362.7 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.003884/0.5618, allocations: 0.906 MB / 0.5266 GB, free: 27.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.5619, allocations: 13.14 kB / 0.5267 GB, free: 27.53 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.562, allocations: 63.47 kB / 0.5267 GB, free: 27.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008227/0.5629, allocations: 78.2 kB / 0.5268 GB, free: 27.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.5633, allocations: 244.4 kB / 0.527 GB, free: 27.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.5633, allocations: 17.03 kB / 0.527 GB, free: 27.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.5634, allocations: 27.62 kB / 0.5271 GB, free: 27.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.5648, allocations: 478.2 kB / 0.5275 GB, free: 27.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.5648, allocations: 1.031 kB / 0.5275 GB, free: 27.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.5649, allocations: 16.39 kB / 0.5275 GB, free: 27.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.5649, allocations: 6.875 kB / 0.5275 GB, free: 27.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.5666, allocations: 0.6794 MB / 0.5282 GB, free: 27.15 MB / 362.7 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.01069/0.5774, allocations: 3.153 MB / 0.5313 GB, free: 25.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008872/0.5783, allocations: 207 kB / 0.5315 GB, free: 25.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1333/0.7116, allocations: 31.46 MB / 0.5622 GB, free: 380 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009157/0.7126, allocations: 344.9 kB / 0.5625 GB, free: 20 kB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.766e-06/0.7126, allocations: 0 / 0.5625 GB, free: 20 kB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.004052/0.7167, allocations: 0.8535 MB / 0.5634 GB, free: 15.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002924/0.717, allocations: 476.8 kB / 0.5638 GB, free: 14.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.7173, allocations: 152.2 kB / 0.564 GB, free: 14.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.7173, allocations: 39.44 kB / 0.564 GB, free: 14.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.7175, allocations: 239.2 kB / 0.5642 GB, free: 14.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.7177, allocations: 124.8 kB / 0.5644 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.7177, allocations: 5.75 kB / 0.5644 GB, free: 14.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.7179, allocations: 334.7 kB / 0.5647 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.7181, allocations: 64.58 kB / 0.5647 GB, free: 13.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.7185, allocations: 304 kB / 0.565 GB, free: 13.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.7189, allocations: 124 kB / 0.5651 GB, free: 13.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.7189, allocations: 4 kB / 0.5651 GB, free: 13.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001091/0.72, allocations: 388.4 kB / 0.5655 GB, free: 13.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.72, allocations: 8 kB / 0.5655 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.7201, allocations: 8.906 kB / 0.5655 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.531e-05/0.7201, allocations: 15.95 kB / 0.5656 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/0.7232, allocations: 267.5 kB / 0.5658 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009237/0.7242, allocations: 1.183 MB / 0.567 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.7247, allocations: 27.59 kB / 0.567 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.134e-05/0.7248, allocations: 35.56 kB / 0.567 GB, free: 11.59 MB / 378.7 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.0002658/0.7251, allocations: 156 kB / 0.5672 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.7252, allocations: 25.09 kB / 0.5672 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.7274, allocations: 0.9837 MB / 0.5682 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.7275, allocations: 4 kB / 0.5682 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.7275, allocations: 4 kB / 0.5682 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.7275, allocations: 8.203 kB / 0.5682 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.7298, allocations: 1.422 MB / 0.5696 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.7298, allocations: 0 / 0.5696 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/0.7317, allocations: 149.8 kB / 0.5697 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/0.7318, allocations: 4 kB / 0.5697 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/0.7318, allocations: 18.8 kB / 0.5697 GB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005176/0.7323, allocations: 0.5867 MB / 0.5703 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.7324, allocations: 4 kB / 0.5703 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.7335, allocations: 0.6258 MB / 0.5709 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.7339, allocations: 219.1 kB / 0.5711 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.954e-05/0.734, allocations: 14.36 kB / 0.5711 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/0.7345, allocations: 14.45 kB / 0.5711 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.7346, allocations: 26.66 kB / 0.5712 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/0.7346, allocations: 14.44 kB / 0.5712 GB, free: 7.809 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000508/0.7352, allocations: 271.2 kB / 0.5714 GB, free: 7.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7352, allocations: 0 / 0.5714 GB, free: 7.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00271/0.7379, allocations: 472.8 kB / 0.5719 GB, free: 7.168 MB / 378.7 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.004918/0.7429, allocations: 2.44 MB / 0.5743 GB, free: 4.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.7454, allocations: 384.8 kB / 0.5746 GB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.7454, allocations: 0 / 0.5746 GB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.7468, allocations: 232 kB / 0.5749 GB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.7479, allocations: 93.67 kB / 0.575 GB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008516/0.7564, allocations: 8.058 MB / 0.5828 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.757, allocations: 0.8351 MB / 0.5836 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/0.7574, allocations: 161.6 kB / 0.5838 GB, free: 11.47 MB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7574, allocations: 0 / 0.5838 GB, free: 11.47 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.941/3.699, allocations: 14.8 MB / 0.5982 GB, free: 12.8 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat