Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_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.0009391/0.000939, allocations: 98.05 kB / 16.99 MB, free: 6.402 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.0008711/0.0008712, allocations: 178.8 kB / 17.88 MB, free: 5.957 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.416/1.416, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 44.23 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003197, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1505, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.008932/0.1594, allocations: 7.472 MB / 479 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.1723, allocations: 11.38 MB / 490.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.1726, allocations: 4 kB / 490.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.173, allocations: 51.69 kB / 490.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009526/0.1825, allocations: 2.594 MB / 493.1 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.183, allocations: 142.9 kB / 493.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0109/0.1939, allocations: 7.149 MB / 0.4886 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.1941, allocations: 20.39 kB / 0.4886 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.1943, allocations: 139.5 kB / 0.4888 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01708/0.2114, allocations: 13.84 MB / 0.5023 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.797e-05/0.2115, allocations: 8 kB / 0.5023 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007138/0.2186, allocations: 2.419 MB / 0.5046 GB, free: 376 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.2188, allocations: 39.88 kB / 0.5047 GB, free: 336 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.219, allocations: 69.58 kB / 0.5048 GB, free: 260 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2891/0.5081, allocations: 1.136 MB / 0.5059 GB, free: 33.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5081, allocations: 1.375 kB / 0.5059 GB, free: 33.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5081, allocations: 0 / 0.5059 GB, free: 33.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.5081, allocations: 0 / 0.5059 GB, free: 33.54 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.002784/0.5109, allocations: 0.9066 MB / 0.5067 GB, free: 32.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.511, allocations: 11.06 kB / 0.5068 GB, free: 32.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.5111, allocations: 62.7 kB / 0.5068 GB, free: 32.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008879/0.512, allocations: 80.16 kB / 0.5069 GB, free: 32.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.5124, allocations: 247.6 kB / 0.5071 GB, free: 32.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.5125, allocations: 24.7 kB / 0.5072 GB, free: 32.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.5125, allocations: 26.16 kB / 0.5072 GB, free: 32.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.5141, allocations: 478.7 kB / 0.5076 GB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.5141, allocations: 4.406 kB / 0.5076 GB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.5142, allocations: 14.28 kB / 0.5077 GB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.5142, allocations: 7.562 kB / 0.5077 GB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.5162, allocations: 0.68 MB / 0.5083 GB, free: 32.59 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.01028/0.5265, allocations: 3.141 MB / 0.5114 GB, free: 30.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.5277, allocations: 208.6 kB / 0.5116 GB, free: 30.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09486/0.6225, allocations: 31.47 MB / 0.5423 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.6238, allocations: 328.7 kB / 0.5426 GB, free: 10.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 5.34e-06/0.6238, allocations: 0 / 0.5426 GB, free: 10.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004286/0.6281, allocations: 0.8613 MB / 0.5435 GB, free: 9.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.6283, allocations: 481.7 kB / 0.5439 GB, free: 9.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.6285, allocations: 152 kB / 0.5441 GB, free: 8.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.6286, allocations: 36.95 kB / 0.5441 GB, free: 8.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/0.6287, allocations: 166.1 kB / 0.5443 GB, free: 8.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.6288, allocations: 121.7 kB / 0.5444 GB, free: 8.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.6288, allocations: 11.25 kB / 0.5444 GB, free: 8.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.6289, allocations: 338 kB / 0.5447 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.6291, allocations: 68.12 kB / 0.5448 GB, free: 8.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.6294, allocations: 305.9 kB / 0.5451 GB, free: 7.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.6297, allocations: 112 kB / 0.5452 GB, free: 7.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.6297, allocations: 0 / 0.5452 GB, free: 7.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009677/0.6307, allocations: 402.2 kB / 0.5456 GB, free: 7.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.6307, allocations: 8 kB / 0.5456 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.6307, allocations: 8 kB / 0.5456 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/0.6308, allocations: 12 kB / 0.5456 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/0.6334, allocations: 271.4 kB / 0.5459 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004969/0.6339, allocations: 1.18 MB / 0.547 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.6344, allocations: 18.06 kB / 0.547 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.6345, allocations: 34.3 kB / 0.5471 GB, free: 6.047 MB / 382.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.0002173/0.6347, allocations: 156.9 kB / 0.5472 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.6348, allocations: 39.22 kB / 0.5472 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.6366, allocations: 0.9768 MB / 0.5482 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.6366, allocations: 9.375 kB / 0.5482 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.6366, allocations: 4 kB / 0.5482 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.6367, allocations: 3.984 kB / 0.5482 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.6385, allocations: 1.424 MB / 0.5496 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.6385, allocations: 0 / 0.5496 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.64, allocations: 148.6 kB / 0.5498 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/0.64, allocations: 7.984 kB / 0.5498 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.6401, allocations: 15.11 kB / 0.5498 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002274/0.6403, allocations: 0.5807 MB / 0.5503 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.6403, allocations: 4 kB / 0.5503 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00074/0.6411, allocations: 0.6411 MB / 0.551 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.6414, allocations: 222.7 kB / 0.5512 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.6415, allocations: 10.38 kB / 0.5512 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.6419, allocations: 16.42 kB / 0.5512 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.642, allocations: 30.84 kB / 0.5512 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.6421, allocations: 19.11 kB / 0.5513 GB, free: 2.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003772/0.6424, allocations: 273.5 kB / 0.5515 GB, free: 2.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6425, allocations: 0 / 0.5515 GB, free: 2.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002773/0.6452, allocations: 464.4 kB / 0.552 GB, free: 1.602 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 (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.003399/0.6487, allocations: 2.431 MB / 0.5543 GB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.6502, allocations: 393.2 kB / 0.5547 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6502, allocations: 0 / 0.5547 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007547/0.651, allocations: 222 kB / 0.5549 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/0.6516, allocations: 98.5 kB / 0.555 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005575/0.6572, allocations: 8.018 MB / 0.5628 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.6576, allocations: 0.8351 MB / 0.5637 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005014/0.6581, allocations: 174.3 kB / 0.5638 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.6583, allocations: 150.4 kB / 0.564 GB, free: 5.805 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6583, allocations: 4 kB / 0.564 GB, free: 5.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/0.6976, allocations: 19.09 MB / 0.5826 GB, free: 3.047 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.6979, allocations: 241.6 kB / 0.5828 GB, free: 2.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.197, allocations: 0 / 0.5828 GB, free: 2.805 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat