Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.0103/0.0103, allocations: 166.5 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 2.028/2.028, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002028/0.002028, allocations: 115.4 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4543/0.4543, allocations: 38.06 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005157, allocations: 16 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1185, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 21.07/21.18, allocations: 6.53 GB / 6.932 GB, free: 92.51 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/21.18, allocations: 89.16 kB / 6.932 GB, free: 92.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.396/22.58, allocations: 245.9 MB / 7.172 GB, free: 57.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.866e-06/22.58, allocations: 3.938 kB / 7.172 GB, free: 57.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/22.58, allocations: 4.594 kB / 7.172 GB, free: 57.45 MB / 426.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.009679/22.59, allocations: 1.905 MB / 7.174 GB, free: 56.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/22.59, allocations: 11.19 kB / 7.174 GB, free: 56.24 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/22.59, allocations: 67.86 kB / 7.174 GB, free: 56.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/22.59, allocations: 28.69 kB / 7.174 GB, free: 56.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/22.59, allocations: 253.9 kB / 7.174 GB, free: 55.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/22.59, allocations: 22.16 kB / 7.174 GB, free: 55.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/22.59, allocations: 29.28 kB / 7.174 GB, free: 55.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/22.59, allocations: 0.4918 MB / 7.175 GB, free: 55.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/22.59, allocations: 3.938 kB / 7.175 GB, free: 55.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/22.59, allocations: 11.03 kB / 7.175 GB, free: 55.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-05/22.59, allocations: 27.41 kB / 7.175 GB, free: 55.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/22.59, allocations: 0.8788 MB / 7.175 GB, free: 55.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/22.6, allocations: 1.757 MB / 7.177 GB, free: 54.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/22.6, allocations: 331.4 kB / 7.178 GB, free: 54.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01974/22.62, allocations: 12.84 MB / 7.19 GB, free: 41.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006369/22.62, allocations: 230.5 kB / 7.19 GB, free: 41.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.557e-06/22.62, allocations: 4 kB / 7.19 GB, free: 41.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.003372/22.62, allocations: 0.7821 MB / 7.191 GB, free: 40.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/22.62, allocations: 268.5 kB / 7.191 GB, free: 40.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/22.62, allocations: 174 kB / 7.191 GB, free: 40.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/22.62, allocations: 37.02 kB / 7.192 GB, free: 40.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/22.62, allocations: 198.5 kB / 7.192 GB, free: 40.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/22.62, allocations: 121.1 kB / 7.192 GB, free: 40.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/22.62, allocations: 11.03 kB / 7.192 GB, free: 40.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/22.62, allocations: 341 kB / 7.192 GB, free: 39.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/22.62, allocations: 95.88 kB / 7.192 GB, free: 39.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/22.62, allocations: 362.8 kB / 7.193 GB, free: 39.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/22.62, allocations: 153.4 kB / 7.193 GB, free: 39.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/22.62, allocations: 3.969 kB / 7.193 GB, free: 39.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001739/22.63, allocations: 497.8 kB / 7.193 GB, free: 39.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/22.63, allocations: 11.44 kB / 7.193 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/22.63, allocations: 11.06 kB / 7.193 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-05/22.63, allocations: 14.94 kB / 7.193 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/22.63, allocations: 177.4 kB / 7.193 GB, free: 39.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00054/22.63, allocations: 1.193 MB / 7.195 GB, free: 37.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/22.63, allocations: 33.86 kB / 7.195 GB, free: 37.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/22.63, allocations: 44.03 kB / 7.195 GB, free: 37.89 MB / 426.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.0002406/22.63, allocations: 164 kB / 7.195 GB, free: 37.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/22.63, allocations: 35.33 kB / 7.195 GB, free: 37.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/22.63, allocations: 0.5124 MB / 7.195 GB, free: 37.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/22.63, allocations: 0 / 7.195 GB, free: 37.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/22.63, allocations: 3.938 kB / 7.195 GB, free: 37.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/22.63, allocations: 3.812 kB / 7.195 GB, free: 37.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/22.63, allocations: 0.5719 MB / 7.196 GB, free: 36.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/22.63, allocations: 4 kB / 7.196 GB, free: 36.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/22.63, allocations: 86.58 kB / 7.196 GB, free: 36.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/22.63, allocations: 4 kB / 7.196 GB, free: 36.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/22.63, allocations: 8 kB / 7.196 GB, free: 36.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004477/22.63, allocations: 1.168 MB / 7.197 GB, free: 35.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/22.63, allocations: 0 / 7.197 GB, free: 35.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008495/22.63, allocations: 332.8 kB / 7.197 GB, free: 35.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/22.63, allocations: 139 kB / 7.198 GB, free: 35.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/22.63, allocations: 4 kB / 7.198 GB, free: 35.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/22.63, allocations: 15.89 kB / 7.198 GB, free: 35.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/22.63, allocations: 15.78 kB / 7.198 GB, free: 35.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/22.63, allocations: 11.84 kB / 7.198 GB, free: 35.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002314/22.63, allocations: 180.3 kB / 7.198 GB, free: 34.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/22.63, allocations: 0 / 7.198 GB, free: 34.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009332/22.64, allocations: 1.936 MB / 7.2 GB, free: 32.98 MB / 426.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.01819/22.66, allocations: 3.68 MB / 7.203 GB, free: 29.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001502/22.66, allocations: 307.8 kB / 7.204 GB, free: 29.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/22.66, allocations: 0.6875 kB / 7.204 GB, free: 29.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006015/22.66, allocations: 109.3 kB / 7.204 GB, free: 29.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/22.67, allocations: 52.2 kB / 7.204 GB, free: 29.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.507/24.17, allocations: 278.9 MB / 7.476 GB, free: 53.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/24.17, allocations: 0.7545 MB / 7.477 GB, free: 52.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009984/24.17, allocations: 140.4 kB / 7.477 GB, free: 52.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/24.17, allocations: 89.31 kB / 7.477 GB, free: 52.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/24.17, allocations: 0 / 7.477 GB, free: 52.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1408/24.31, allocations: 57.18 MB / 7.533 GB, free: 47.32 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/24.31, allocations: 276.8 kB / 7.533 GB, free: 46.96 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.317/29.63, allocations: 0 / 7.533 GB, free: 46.96 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat