Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01015/0.01015, allocations: 175.4 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.15/2.15, allocations: 194.5 MB / 210.3 MB, free: 7.812 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00204/0.00204, allocations: 108.7 kB / 255.6 MB, free: 10.44 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2669/0.2669, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004863, allocations: 11.17 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1086, allocations: 54.87 MB / 461.1 MB, free: 3.254 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.207/2.315, allocations: 0.6424 GB / 1.093 GB, free: 120.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/2.316, allocations: 87 kB / 1.093 GB, free: 120.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3256/2.641, allocations: 111.4 MB / 1.202 GB, free: 76.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.704e-06/2.641, allocations: 0 / 1.202 GB, free: 76.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/2.641, allocations: 4 kB / 1.202 GB, free: 76.65 MB / 490.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.003689/2.645, allocations: 1.057 MB / 1.203 GB, free: 75.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/2.645, allocations: 12.03 kB / 1.203 GB, free: 75.54 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.304e-05/2.645, allocations: 62.55 kB / 1.203 GB, free: 75.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007309/2.646, allocations: 79.64 kB / 1.203 GB, free: 75.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/2.646, allocations: 242.7 kB / 1.203 GB, free: 75.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/2.646, allocations: 20.56 kB / 1.203 GB, free: 75.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/2.646, allocations: 24 kB / 1.203 GB, free: 75.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/2.647, allocations: 481.5 kB / 1.203 GB, free: 74.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/2.648, allocations: 0 / 1.203 GB, free: 74.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/2.648, allocations: 19.89 kB / 1.204 GB, free: 74.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/2.648, allocations: 4 kB / 1.204 GB, free: 74.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/2.649, allocations: 0.6812 MB / 1.204 GB, free: 73.86 MB / 490.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.01244/2.661, allocations: 4.153 MB / 1.208 GB, free: 69.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008465/2.662, allocations: 216.7 kB / 1.208 GB, free: 69.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.142/2.804, allocations: 42.51 MB / 1.25 GB, free: 22.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006984/2.805, allocations: 237.7 kB / 1.25 GB, free: 22.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 3.356e-06/2.805, allocations: 0 / 1.25 GB, free: 22.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.003613/2.809, allocations: 0.7184 MB / 1.251 GB, free: 21.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/2.809, allocations: 273 kB / 1.251 GB, free: 21.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/2.809, allocations: 185.3 kB / 1.251 GB, free: 21.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/2.809, allocations: 33.7 kB / 1.251 GB, free: 21.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/2.809, allocations: 215.1 kB / 1.252 GB, free: 21.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/2.809, allocations: 74.98 kB / 1.252 GB, free: 21.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/2.809, allocations: 12 kB / 1.252 GB, free: 21.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/2.809, allocations: 330.8 kB / 1.252 GB, free: 20.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/2.81, allocations: 65.08 kB / 1.252 GB, free: 20.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/2.81, allocations: 347.2 kB / 1.252 GB, free: 20.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/2.81, allocations: 111.9 kB / 1.252 GB, free: 20.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/2.81, allocations: 4 kB / 1.252 GB, free: 20.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009837/2.811, allocations: 442.9 kB / 1.253 GB, free: 19.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/2.811, allocations: 12 kB / 1.253 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/2.811, allocations: 8 kB / 1.253 GB, free: 19.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002988/2.814, allocations: 309.9 kB / 1.253 GB, free: 19.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/2.815, allocations: 99.77 kB / 1.253 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000635/2.815, allocations: 1.223 MB / 1.254 GB, free: 17.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/2.816, allocations: 23.84 kB / 1.255 GB, free: 17.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/2.816, allocations: 32 kB / 1.255 GB, free: 17.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0002005/2.816, allocations: 153.6 kB / 1.255 GB, free: 17.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/2.816, allocations: 23.8 kB / 1.255 GB, free: 17.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/2.818, allocations: 0.7983 MB / 1.255 GB, free: 16.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/2.818, allocations: 16.17 kB / 1.255 GB, free: 16.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/2.818, allocations: 4 kB / 1.256 GB, free: 16.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/2.818, allocations: 4 kB / 1.256 GB, free: 16.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000639/2.818, allocations: 0.4967 MB / 1.256 GB, free: 16.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/2.818, allocations: 0 / 1.256 GB, free: 16.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/2.819, allocations: 35.91 kB / 1.256 GB, free: 16.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/2.82, allocations: 229.5 kB / 1.256 GB, free: 16.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/2.82, allocations: 11.98 kB / 1.256 GB, free: 16.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005976/2.821, allocations: 1.266 MB / 1.257 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/2.821, allocations: 11.94 kB / 1.258 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/2.822, allocations: 0.5442 MB / 1.258 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/2.822, allocations: 216 kB / 1.258 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/2.822, allocations: 8 kB / 1.258 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/2.823, allocations: 12 kB / 1.258 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/2.823, allocations: 31.92 kB / 1.258 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/2.823, allocations: 8 kB / 1.258 GB, free: 13.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004143/2.823, allocations: 294.9 kB / 1.259 GB, free: 13.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.823, allocations: 0 / 1.259 GB, free: 13.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002062/2.825, allocations: 411.5 kB / 1.259 GB, free: 13.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.004026/2.829, allocations: 2.248 MB / 1.261 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008684/2.83, allocations: 318.8 kB / 1.261 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/2.83, allocations: 0 / 1.261 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003374/2.831, allocations: 178.5 kB / 1.262 GB, free: 10.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/2.831, allocations: 78.53 kB / 1.262 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.543/8.374, allocations: 1.263 GB / 2.525 GB, free: 118.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/8.375, allocations: 0.8368 MB / 2.525 GB, free: 118 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005333/8.375, allocations: 128.8 kB / 2.525 GB, free: 118 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/8.375, allocations: 148.8 kB / 2.526 GB, free: 118 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/8.375, allocations: 0 / 2.526 GB, free: 118 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05979/8.435, allocations: 17 MB / 2.542 GB, free: 116.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/8.436, allocations: 240.6 kB / 2.542 GB, free: 116.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.532/11.97, allocations: 4 kB / 2.542 GB, free: 116.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat