Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.0008938/0.0008938, allocations: 95.22 kB / 16.99 MB, free: 5.941 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.000836/0.000836, allocations: 181.3 kB / 17.87 MB, free: 5.609 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.427/1.427, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2161/0.2161, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003386, allocations: 8.938 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01011/0.1524, allocations: 7.467 MB / 479 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.1655, allocations: 11.39 MB / 490.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.1658, allocations: 0 / 490.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.1662, allocations: 63.67 kB / 490.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00983/0.176, allocations: 2.59 MB / 493.1 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.1765, allocations: 141.5 kB / 493.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.1867, allocations: 7.153 MB / 0.4886 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.1868, allocations: 20.39 kB / 0.4886 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.187, allocations: 139.5 kB / 0.4888 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01832/0.2053, allocations: 13.85 MB / 0.5023 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.2055, allocations: 8 kB / 0.5023 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005835/0.2113, allocations: 2.131 MB / 0.5044 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.2114, allocations: 35.89 kB / 0.5044 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.2116, allocations: 73.58 kB / 0.5045 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2913/0.5029, allocations: 1.016 MB / 0.5055 GB, free: 33.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.5029, allocations: 0.8125 kB / 0.5055 GB, free: 33.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.503, allocations: 1.031 kB / 0.5055 GB, free: 33.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.503, allocations: 0 / 0.5055 GB, free: 33.95 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.002582/0.5056, allocations: 0.8634 MB / 0.5063 GB, free: 33.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.5056, allocations: 13.09 kB / 0.5063 GB, free: 33.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.5057, allocations: 63.97 kB / 0.5064 GB, free: 33.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005931/0.5063, allocations: 80.03 kB / 0.5065 GB, free: 33.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.5067, allocations: 245.5 kB / 0.5067 GB, free: 33.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.5067, allocations: 26.2 kB / 0.5067 GB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.5068, allocations: 26.38 kB / 0.5068 GB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.5078, allocations: 482.9 kB / 0.5072 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5079, allocations: 1.906 kB / 0.5072 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.5079, allocations: 11.66 kB / 0.5072 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.5079, allocations: 6.531 kB / 0.5072 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.5092, allocations: 0.6801 MB / 0.5079 GB, free: 33.03 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.006974/0.5162, allocations: 3.108 MB / 0.5109 GB, free: 31.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.5169, allocations: 216.8 kB / 0.5111 GB, free: 31.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06818/0.5851, allocations: 28.79 MB / 0.5393 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006238/0.5858, allocations: 334.6 kB / 0.5396 GB, free: 14.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.916e-06/0.5858, allocations: 0 / 0.5396 GB, free: 14.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.002669/0.5884, allocations: 0.9653 MB / 0.5405 GB, free: 13.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5886, allocations: 479 kB / 0.541 GB, free: 12.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.5887, allocations: 158.1 kB / 0.5411 GB, free: 12.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.5887, allocations: 33.14 kB / 0.5412 GB, free: 12.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.5888, allocations: 164.9 kB / 0.5413 GB, free: 12.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/0.5889, allocations: 126.3 kB / 0.5414 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.5889, allocations: 10.94 kB / 0.5414 GB, free: 12.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.069e-05/0.5889, allocations: 328.6 kB / 0.5418 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.54e-05/0.589, allocations: 71.95 kB / 0.5418 GB, free: 11.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.5892, allocations: 308.4 kB / 0.5421 GB, free: 11.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.5894, allocations: 119.8 kB / 0.5422 GB, free: 11.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5894, allocations: 4 kB / 0.5422 GB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005571/0.59, allocations: 446.7 kB / 0.5427 GB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.59, allocations: 11.56 kB / 0.5427 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.59, allocations: 10.19 kB / 0.5427 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.5918, allocations: 315 kB / 0.543 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.5921, allocations: 102.5 kB / 0.5431 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004102/0.5925, allocations: 1.209 MB / 0.5443 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.5927, allocations: 31.22 kB / 0.5443 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.5928, allocations: 31.8 kB / 0.5443 GB, free: 9.473 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 (54): * Single equations (assignments): 52 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.5929, allocations: 160.5 kB / 0.5445 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.593, allocations: 31.7 kB / 0.5445 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.5941, allocations: 1.078 MB / 0.5456 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.5942, allocations: 11.42 kB / 0.5456 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5942, allocations: 4 kB / 0.5456 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.5942, allocations: 4 kB / 0.5456 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.5954, allocations: 1.55 MB / 0.5471 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5954, allocations: 4 kB / 0.5471 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.5956, allocations: 46.88 kB / 0.5471 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.5967, allocations: 249 kB / 0.5474 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.5967, allocations: 11.31 kB / 0.5474 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003923/0.5971, allocations: 1.265 MB / 0.5486 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5971, allocations: 0 / 0.5486 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.5977, allocations: 0.7207 MB / 0.5493 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.5979, allocations: 224.2 kB / 0.5495 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.5979, allocations: 10.25 kB / 0.5496 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.5982, allocations: 27.92 kB / 0.5496 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.5982, allocations: 22.8 kB / 0.5496 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.5982, allocations: 15.69 kB / 0.5496 GB, free: 4.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.5985, allocations: 269.6 kB / 0.5499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5985, allocations: 0 / 0.5499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001559/0.6, allocations: 446.7 kB / 0.5503 GB, free: 4.062 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002043/0.6021, allocations: 2.494 MB / 0.5527 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005759/0.6027, allocations: 362.2 kB / 0.5531 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6027, allocations: 4 kB / 0.5531 GB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.603, allocations: 231.5 kB / 0.5533 GB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.6035, allocations: 99.05 kB / 0.5534 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005659/0.6092, allocations: 8.066 MB / 0.5613 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.6097, allocations: 0.8421 MB / 0.5621 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005149/0.6102, allocations: 170.4 kB / 0.5623 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.6104, allocations: 154.6 kB / 0.5624 GB, free: 8.215 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6104, allocations: 0 / 0.5624 GB, free: 8.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/0.649, allocations: 18.85 MB / 0.5808 GB, free: 5.711 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/0.6493, allocations: 228.7 kB / 0.581 GB, free: 5.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/3.154, allocations: 0 / 0.581 GB, free: 5.477 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat