Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.009717/0.009717, allocations: 176.1 kB / 15.12 MB, free: 5.93 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.128/2.128, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.002056/0.002055, allocations: 112.7 kB / 255.6 MB, free: 11.21 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.2617/0.2617, allocations: 40 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005001, allocations: 13.25 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1219, allocations: 54.87 MB / 461.1 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.164/2.285, allocations: 0.6424 GB / 1.093 GB, free: 120.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/2.286, allocations: 83.69 kB / 1.093 GB, free: 120.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3342/2.62, allocations: 111.4 MB / 1.202 GB, free: 76.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.855e-06/2.62, allocations: 0 / 1.202 GB, free: 76.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/2.62, allocations: 4 kB / 1.202 GB, free: 76.7 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.003818/2.624, allocations: 1.053 MB / 1.203 GB, free: 75.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/2.624, allocations: 12.02 kB / 1.203 GB, free: 75.58 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/2.624, allocations: 62.55 kB / 1.203 GB, free: 75.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007765/2.625, allocations: 79.66 kB / 1.203 GB, free: 75.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/2.625, allocations: 254.7 kB / 1.203 GB, free: 75.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/2.625, allocations: 20.56 kB / 1.203 GB, free: 75.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/2.625, allocations: 28 kB / 1.203 GB, free: 75.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/2.627, allocations: 473.5 kB / 1.203 GB, free: 74.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/2.627, allocations: 0 / 1.203 GB, free: 74.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/2.627, allocations: 19.89 kB / 1.204 GB, free: 74.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/2.627, allocations: 12 kB / 1.204 GB, free: 74.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/2.628, allocations: 0.6773 MB / 1.204 GB, free: 73.89 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.01289/2.641, allocations: 4.186 MB / 1.208 GB, free: 69.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008507/2.642, allocations: 204.8 kB / 1.208 GB, free: 69.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1355/2.777, allocations: 39.82 MB / 1.247 GB, free: 25.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007709/2.778, allocations: 318.5 kB / 1.248 GB, free: 25.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.307e-06/2.778, allocations: 0 / 1.248 GB, free: 25.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.003323/2.782, allocations: 0.7969 MB / 1.248 GB, free: 24.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/2.782, allocations: 432 kB / 1.249 GB, free: 24.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/2.782, allocations: 149.1 kB / 1.249 GB, free: 23.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/2.782, allocations: 37.7 kB / 1.249 GB, free: 23.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/2.782, allocations: 167.9 kB / 1.249 GB, free: 23.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.821e-05/2.782, allocations: 114.3 kB / 1.249 GB, free: 23.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/2.782, allocations: 12 kB / 1.249 GB, free: 23.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.674e-05/2.782, allocations: 330.8 kB / 1.25 GB, free: 23.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/2.782, allocations: 65.08 kB / 1.25 GB, free: 23.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/2.783, allocations: 309.8 kB / 1.25 GB, free: 22.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/2.783, allocations: 119.8 kB / 1.25 GB, free: 22.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/2.783, allocations: 3.984 kB / 1.25 GB, free: 22.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009412/2.784, allocations: 401.5 kB / 1.25 GB, free: 22.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/2.784, allocations: 8 kB / 1.25 GB, free: 22.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/2.784, allocations: 11.94 kB / 1.25 GB, free: 22.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/2.784, allocations: 15.98 kB / 1.251 GB, free: 22.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003173/2.787, allocations: 255.8 kB / 1.251 GB, free: 21.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005347/2.788, allocations: 1.184 MB / 1.252 GB, free: 20.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/2.788, allocations: 19.91 kB / 1.252 GB, free: 20.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/2.788, allocations: 28 kB / 1.252 GB, free: 20.71 MB / 490.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.0002123/2.789, allocations: 165.8 kB / 1.252 GB, free: 20.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/2.789, allocations: 23.81 kB / 1.252 GB, free: 20.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/2.791, allocations: 0.9824 MB / 1.253 GB, free: 19.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/2.791, allocations: 8 kB / 1.253 GB, free: 19.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/2.791, allocations: 0 / 1.253 GB, free: 19.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/2.791, allocations: 7.984 kB / 1.253 GB, free: 19.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04401/2.835, allocations: 12.29 MB / 1.265 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/2.835, allocations: 4 kB / 1.265 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/2.836, allocations: 143.9 kB / 1.265 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/2.836, allocations: 4 kB / 1.265 GB, free: 5.895 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/2.836, allocations: 4 kB / 1.265 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002731/2.837, allocations: 0.5898 MB / 1.266 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/2.837, allocations: 11.92 kB / 1.266 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/2.838, allocations: 0.6278 MB / 1.266 GB, free: 4.551 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/2.838, allocations: 192.2 kB / 1.267 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/2.838, allocations: 8 kB / 1.267 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/2.838, allocations: 15.98 kB / 1.267 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/2.838, allocations: 23.92 kB / 1.267 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/2.838, allocations: 19.94 kB / 1.267 GB, free: 4.277 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002758/2.839, allocations: 215.2 kB / 1.267 GB, free: 4.066 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/2.839, allocations: 0 / 1.267 GB, free: 4.066 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002362/2.841, allocations: 475.4 kB / 1.267 GB, free: 3.602 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004642/2.846, allocations: 2.443 MB / 1.27 GB, free: 1.074 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002082/2.848, allocations: 392.1 kB / 1.27 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/2.848, allocations: 0 / 1.27 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/2.849, allocations: 237.7 kB / 1.27 GB, free: 472 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009285/2.85, allocations: 77.36 kB / 1.27 GB, free: 388 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.787/5.636, allocations: 0.6862 GB / 1.957 GB, free: 26.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/5.637, allocations: 0.8165 MB / 1.957 GB, free: 26.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007108/5.638, allocations: 148.3 kB / 1.958 GB, free: 25.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/5.638, allocations: 135.4 kB / 1.958 GB, free: 25.82 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/5.638, allocations: 0 / 1.958 GB, free: 25.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3981/6.036, allocations: 18.51 MB / 1.976 GB, free: 123.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/6.036, allocations: 233.7 kB / 1.976 GB, free: 123.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.854/9.89, allocations: 0 / 1.976 GB, free: 123.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat