Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",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.009532/0.009532, allocations: 176.1 kB / 15.12 MB, free: 5.984 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.065/2.065, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.00216/0.00216, allocations: 120.7 kB / 255.6 MB, free: 10.24 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.2635/0.2635, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006896/0.0006899, allocations: 13.84 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1215, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.25/19.38, allocations: 6.537 GB / 6.987 GB, free: 58.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/19.38, allocations: 86.45 kB / 6.987 GB, free: 58.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.338/20.71, allocations: 247.1 MB / 7.229 GB, free: 18.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.274e-06/20.71, allocations: 0 / 7.229 GB, free: 18.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/20.71, allocations: 4 kB / 7.229 GB, free: 18.42 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.009289/20.72, allocations: 1.909 MB / 7.23 GB, free: 16.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/20.72, allocations: 8.031 kB / 7.23 GB, free: 16.45 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/20.72, allocations: 70.53 kB / 7.231 GB, free: 16.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/20.72, allocations: 35.67 kB / 7.231 GB, free: 16.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/20.72, allocations: 246.6 kB / 7.231 GB, free: 16.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/20.72, allocations: 24.56 kB / 7.231 GB, free: 16.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/20.72, allocations: 31.94 kB / 7.231 GB, free: 16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/20.73, allocations: 496.7 kB / 7.231 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/20.73, allocations: 0 / 7.231 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/20.73, allocations: 16 kB / 7.231 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-05/20.73, allocations: 24.55 kB / 7.231 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/20.73, allocations: 0.8958 MB / 7.232 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/20.73, allocations: 1.8 MB / 7.234 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009978/20.73, allocations: 329 kB / 7.234 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3736/21.1, allocations: 12.83 MB / 7.247 GB, free: 65.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007103/21.11, allocations: 244.3 kB / 7.247 GB, free: 65.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.637e-06/21.11, allocations: 0 / 7.247 GB, free: 65.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.003632/21.11, allocations: 0.7869 MB / 7.248 GB, free: 65.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/21.11, allocations: 266.1 kB / 7.248 GB, free: 65.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/21.11, allocations: 185.3 kB / 7.248 GB, free: 65.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/21.11, allocations: 31.11 kB / 7.248 GB, free: 65.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/21.11, allocations: 197.5 kB / 7.248 GB, free: 64.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/21.11, allocations: 125.6 kB / 7.249 GB, free: 64.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/21.11, allocations: 10.5 kB / 7.249 GB, free: 64.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/21.11, allocations: 337.9 kB / 7.249 GB, free: 64.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/21.11, allocations: 90.2 kB / 7.249 GB, free: 64.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000618/21.11, allocations: 359.2 kB / 7.249 GB, free: 64.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/21.11, allocations: 152.7 kB / 7.249 GB, free: 64.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/21.11, allocations: 7.312 kB / 7.25 GB, free: 64.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00187/21.11, allocations: 0.489 MB / 7.25 GB, free: 64.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/21.11, allocations: 7.469 kB / 7.25 GB, free: 64.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/21.11, allocations: 11.47 kB / 7.25 GB, free: 64.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/21.11, allocations: 13.09 kB / 7.25 GB, free: 64.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/21.11, allocations: 178.5 kB / 7.25 GB, free: 64.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005567/21.12, allocations: 1.191 MB / 7.251 GB, free: 63.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/21.12, allocations: 33.03 kB / 7.251 GB, free: 63.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/21.12, allocations: 43.64 kB / 7.251 GB, free: 63.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (66): * Single equations (assignments): 64 * 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.000257/21.12, allocations: 170.5 kB / 7.252 GB, free: 62.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/21.12, allocations: 40.05 kB / 7.252 GB, free: 62.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/21.12, allocations: 0.5117 MB / 7.252 GB, free: 62.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/21.12, allocations: 7.766 kB / 7.252 GB, free: 62.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/21.12, allocations: 1.344 kB / 7.252 GB, free: 62.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/21.12, allocations: 1.219 kB / 7.252 GB, free: 62.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/21.12, allocations: 0.5678 MB / 7.253 GB, free: 62.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/21.12, allocations: 5.016 kB / 7.253 GB, free: 62.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/21.12, allocations: 84.81 kB / 7.253 GB, free: 62.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/21.12, allocations: 0.6875 kB / 7.253 GB, free: 62.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/21.12, allocations: 8.062 kB / 7.253 GB, free: 62.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004757/21.12, allocations: 1.174 MB / 7.254 GB, free: 61.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/21.12, allocations: 3.859 kB / 7.254 GB, free: 61.22 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009156/21.12, allocations: 325.8 kB / 7.254 GB, free: 61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/21.12, allocations: 132.7 kB / 7.254 GB, free: 60.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/21.12, allocations: 10.39 kB / 7.254 GB, free: 60.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/21.12, allocations: 16.92 kB / 7.254 GB, free: 60.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/21.12, allocations: 16.36 kB / 7.254 GB, free: 60.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/21.12, allocations: 12.55 kB / 7.254 GB, free: 60.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002758/21.12, allocations: 177.1 kB / 7.255 GB, free: 60.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/21.12, allocations: 0 / 7.255 GB, free: 60.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01011/21.13, allocations: 1.934 MB / 7.256 GB, free: 60.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 19 * 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 Backend phase and start with SimCode phase: time 0.01876/21.15, allocations: 3.696 MB / 7.26 GB, free: 59.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001665/21.15, allocations: 308.5 kB / 7.26 GB, free: 59.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/21.15, allocations: 0.9375 kB / 7.26 GB, free: 59.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006749/21.16, allocations: 111.4 kB / 7.26 GB, free: 59.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/21.16, allocations: 44.17 kB / 7.261 GB, free: 59.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.119/22.28, allocations: 279 MB / 7.533 GB, free: 56.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/22.28, allocations: 0.7617 MB / 7.534 GB, free: 56.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008873/22.28, allocations: 133.8 kB / 7.534 GB, free: 55.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/22.28, allocations: 99.12 kB / 7.534 GB, free: 55.98 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/22.28, allocations: 2.25 kB / 7.534 GB, free: 55.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/22.41, allocations: 57.24 MB / 7.59 GB, free: 32.76 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003027/22.41, allocations: 277.7 kB / 7.59 GB, free: 32.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.542/27.95, allocations: 0 / 7.59 GB, free: 32.4 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat