Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_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.001143/0.001143, allocations: 92.67 kB / 15.69 MB, free: 484 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.001611/0.001611, allocations: 176.9 kB / 16.57 MB, free: 5.965 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.796/1.796, allocations: 205.4 MB / 222.7 MB, free: 5.637 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.5067/0.5067, allocations: 43.55 MB / 314.5 MB, free: 8.793 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.0005199/0.00052, allocations: 18.66 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1622, allocations: 58.85 MB / 442.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01261/0.1748, allocations: 7.492 MB / 450.3 MB, free: 5.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3159/0.4908, allocations: 12.94 MB / 463.3 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.4911, allocations: 3 kB / 463.3 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.4915, allocations: 55.47 kB / 463.3 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009958/0.5014, allocations: 2.595 MB / 465.9 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.5019, allocations: 142.3 kB / 466.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008636/0.5105, allocations: 7.154 MB / 473.2 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.52e-05/0.5106, allocations: 20.14 kB / 473.2 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.5108, allocations: 133.6 kB / 473.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01821/0.5291, allocations: 13.84 MB / 487.2 MB, free: 34.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.203e-05/0.5292, allocations: 6.531 kB / 487.2 MB, free: 34.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007084/0.5363, allocations: 2.127 MB / 489.3 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.5365, allocations: 42.27 kB / 489.4 MB, free: 34.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.5367, allocations: 68.98 kB / 489.5 MB, free: 34.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003876/0.5405, allocations: 1.027 MB / 490.5 MB, free: 34.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5406, allocations: 4 kB / 490.5 MB, free: 34.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5406, allocations: 0 / 490.5 MB, free: 34.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.5406, allocations: 0 / 490.5 MB, free: 34.67 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.002962/0.5436, allocations: 0.8626 MB / 491.4 MB, free: 34.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.5437, allocations: 17.55 kB / 491.4 MB, free: 34.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.414e-05/0.5437, allocations: 63.41 kB / 491.4 MB, free: 34.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005943/0.5443, allocations: 78.03 kB / 491.5 MB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.5447, allocations: 240.8 kB / 491.7 MB, free: 33.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.5447, allocations: 20.75 kB / 491.8 MB, free: 33.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.5447, allocations: 25.56 kB / 491.8 MB, free: 33.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009233/0.5457, allocations: 484.6 kB / 492.3 MB, free: 33.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5457, allocations: 1.406 kB / 492.3 MB, free: 33.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.5457, allocations: 12.44 kB / 492.3 MB, free: 33.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.5458, allocations: 8.844 kB / 492.3 MB, free: 33.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.5469, allocations: 0.6811 MB / 493 MB, free: 33.71 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.006321/0.5532, allocations: 3.116 MB / 496.1 MB, free: 32.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.5538, allocations: 212.4 kB / 496.3 MB, free: 32.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06973/0.6236, allocations: 28.79 MB / 0.5128 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008223/0.6244, allocations: 349.4 kB / 0.5131 GB, free: 6.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.747e-06/0.6245, allocations: 0 / 0.5131 GB, free: 6.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003526/0.628, allocations: 0.9581 MB / 0.514 GB, free: 5.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001993/0.6282, allocations: 474.8 kB / 0.5145 GB, free: 4.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.6285, allocations: 154.3 kB / 0.5146 GB, free: 4.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.6285, allocations: 37.89 kB / 0.5147 GB, free: 4.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.6287, allocations: 170.9 kB / 0.5148 GB, free: 4.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.6288, allocations: 125.6 kB / 0.515 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.6289, allocations: 8 kB / 0.515 GB, free: 3.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.629, allocations: 334.8 kB / 0.5153 GB, free: 3.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.6291, allocations: 69.08 kB / 0.5154 GB, free: 3.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.6294, allocations: 321.3 kB / 0.5157 GB, free: 3.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.6296, allocations: 120.5 kB / 0.5158 GB, free: 3.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.6296, allocations: 0 / 0.5158 GB, free: 3.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00073/0.6304, allocations: 444.5 kB / 0.5162 GB, free: 2.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.6304, allocations: 12 kB / 0.5162 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.6305, allocations: 16.5 kB / 0.5162 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/0.6324, allocations: 302.9 kB / 0.5165 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.6327, allocations: 99.83 kB / 0.5166 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005193/0.6333, allocations: 1.223 MB / 0.5178 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.6336, allocations: 19.91 kB / 0.5178 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.6336, allocations: 35.98 kB / 0.5179 GB, free: 0.8281 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.0001863/0.6338, allocations: 160.4 kB / 0.518 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.6339, allocations: 31.77 kB / 0.518 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.6354, allocations: 1.075 MB / 0.5191 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.6355, allocations: 15.98 kB / 0.5191 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.6355, allocations: 4 kB / 0.5191 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.6355, allocations: 0 / 0.5191 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.6375, allocations: 1.547 MB / 0.5206 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.6375, allocations: 4.094 kB / 0.5206 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.6377, allocations: 47.73 kB / 0.5207 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.639, allocations: 245.3 kB / 0.5209 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.639, allocations: 8 kB / 0.5209 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007104/0.6398, allocations: 1.262 MB / 0.5221 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.6398, allocations: 12.17 kB / 0.5222 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008184/0.6406, allocations: 0.7062 MB / 0.5228 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.6409, allocations: 231.9 kB / 0.5231 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.641, allocations: 8 kB / 0.5231 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.6414, allocations: 15.98 kB / 0.5231 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.6415, allocations: 31.91 kB / 0.5231 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.6415, allocations: 15.94 kB / 0.5231 GB, free: 11.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003209/0.6419, allocations: 271.1 kB / 0.5234 GB, free: 10.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6419, allocations: 0 / 0.5234 GB, free: 10.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002338/0.6442, allocations: 447.6 kB / 0.5238 GB, free: 10.37 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 (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.003874/0.6481, allocations: 2.492 MB / 0.5263 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007476/0.6489, allocations: 368.5 kB / 0.5266 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6489, allocations: 0.625 kB / 0.5266 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.6492, allocations: 229.6 kB / 0.5268 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.6499, allocations: 87.08 kB / 0.5269 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007853/0.6577, allocations: 8.075 MB / 0.5348 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.6584, allocations: 0.839 MB / 0.5356 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005778/0.659, allocations: 166.5 kB / 0.5358 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.6592, allocations: 158.2 kB / 0.5359 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 1.784e-06/0.6592, allocations: 0 / 0.5359 GB, free: 13.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04248/0.7017, allocations: 18.84 MB / 0.5543 GB, free: 10.93 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.702, allocations: 240.2 kB / 0.5545 GB, free: 10.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/3.249, allocations: 3.938 kB / 0.5545 GB, free: 10.68 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT_res.mat does not exist to compare? outputFormat=mat