Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009308/0.0009308, allocations: 94.66 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3928/0.3928, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003664, allocations: 11.98 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4317, allocations: 61.89 MB / 0.5096 GB, free: 38.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7243/1.156, allocations: 378.8 MB / 0.8796 GB, free: 416 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/1.156, allocations: 79.06 kB / 0.8796 GB, free: 376 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.3767/1.533, allocations: 21.77 MB / 0.9009 GB, free: 188.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/1.533, allocations: 3.188 kB / 0.9009 GB, free: 188.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.358e-05/1.533, allocations: 0 / 0.9009 GB, free: 188.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001093/1.534, allocations: 0.5743 MB / 0.9015 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.534, allocations: 8.031 kB / 0.9015 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.413e-05/1.534, allocations: 61.08 kB / 0.9015 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/1.535, allocations: 28.66 kB / 0.9015 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/1.535, allocations: 229 kB / 0.9018 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/1.535, allocations: 124.7 kB / 0.9019 GB, free: 188 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/1.535, allocations: 20.41 kB / 0.9019 GB, free: 188 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/1.536, allocations: 326.1 kB / 0.9022 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/1.536, allocations: 3.938 kB / 0.9022 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/1.536, allocations: 11.81 kB / 0.9022 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/1.536, allocations: 7.328 kB / 0.9022 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009091/1.537, allocations: 0.7332 MB / 0.903 GB, free: 187.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/1.538, allocations: 1.152 MB / 0.9041 GB, free: 186.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/1.538, allocations: 169.3 kB / 0.9042 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002196/1.54, allocations: 2.639 MB / 0.9068 GB, free: 183.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/1.54, allocations: 38.12 kB / 0.9069 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/1.54, allocations: 0 / 0.9069 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0007312/1.541, allocations: 238 kB / 0.9071 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/1.541, allocations: 54.41 kB / 0.9071 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/1.541, allocations: 189.6 kB / 0.9073 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/1.541, allocations: 32.64 kB / 0.9073 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/1.542, allocations: 202.6 kB / 0.9075 GB, free: 183.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/1.542, allocations: 62.2 kB / 0.9076 GB, free: 183.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/1.542, allocations: 10.97 kB / 0.9076 GB, free: 183.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.542, allocations: 335.2 kB / 0.9079 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/1.542, allocations: 48.27 kB / 0.908 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/1.542, allocations: 313.9 kB / 0.9083 GB, free: 182.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/1.542, allocations: 104.3 kB / 0.9084 GB, free: 182.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/1.542, allocations: 6.969 kB / 0.9084 GB, free: 182.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006023/1.543, allocations: 362.3 kB / 0.9087 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/1.543, allocations: 10.09 kB / 0.9087 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.543, allocations: 14.2 kB / 0.9087 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/1.543, allocations: 16.22 kB / 0.9088 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/1.543, allocations: 110.2 kB / 0.9089 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/1.543, allocations: 22.48 kB / 0.9089 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/1.544, allocations: 16.44 kB / 0.9089 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/1.544, allocations: 30.77 kB / 0.9089 GB, free: 182.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001312/1.544, allocations: 155.2 kB / 0.9091 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/1.544, allocations: 17.25 kB / 0.9091 GB, free: 182.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/1.544, allocations: 183.4 kB / 0.9093 GB, free: 182 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/1.544, allocations: 4.109 kB / 0.9093 GB, free: 182 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.544, allocations: 4 kB / 0.9093 GB, free: 182 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.544, allocations: 0.6562 kB / 0.9093 GB, free: 182 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/1.545, allocations: 450 kB / 0.9097 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.545, allocations: 1.094 kB / 0.9097 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/1.545, allocations: 33.69 kB / 0.9097 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/1.545, allocations: 2.125 kB / 0.9097 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/1.545, allocations: 2.969 kB / 0.9097 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/1.545, allocations: 8.672 kB / 0.9098 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.545, allocations: 5.391 kB / 0.9098 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/1.545, allocations: 268.6 kB / 0.91 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-05/1.545, allocations: 113.8 kB / 0.9101 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/1.546, allocations: 5.438 kB / 0.9101 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/1.546, allocations: 9.141 kB / 0.9101 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/1.546, allocations: 12.72 kB / 0.9102 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/1.546, allocations: 5.344 kB / 0.9102 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001364/1.546, allocations: 146.7 kB / 0.9103 GB, free: 181.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.546, allocations: 4 kB / 0.9103 GB, free: 181.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006273/1.547, allocations: 99.86 kB / 0.9104 GB, free: 181.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007707/1.547, allocations: 1.084 MB / 0.9115 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003459/1.548, allocations: 176.8 kB / 0.9116 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.548, allocations: 0.8125 kB / 0.9116 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/1.548, allocations: 38.73 kB / 0.9117 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/1.548, allocations: 38.67 kB / 0.9117 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.564, allocations: 13.31 MB / 0.9247 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/1.565, allocations: 0.7364 MB / 0.9254 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003635/1.565, allocations: 54.08 kB / 0.9255 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/1.565, allocations: 68.75 kB / 0.9255 GB, free: 169.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/1.565, allocations: 0 / 0.9255 GB, free: 169.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/1.584, allocations: 5.374 MB / 0.9308 GB, free: 167.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/1.585, allocations: 190.7 kB / 0.931 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/3.521, allocations: 0 / 0.931 GB, free: 166.9 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat