Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.00119/0.00119, allocations: 179.8 kB / 14.15 MB, free: 1.172 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.507/1.507, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001067, allocations: 87.75 kB / 287 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2218/0.2218, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.202e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.136, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9924/1.128, allocations: 301 MB / 0.7958 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.129, allocations: 75.58 kB / 0.7958 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.04295/1.172, allocations: 20.68 MB / 0.816 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.834e-06/1.172, allocations: 0 / 0.816 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.519e-05/1.172, allocations: 3.984 kB / 0.816 GB, free: 90.63 MB / 0.5105 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.0008833/1.173, allocations: 0.5538 MB / 0.8166 GB, free: 90.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.173, allocations: 12.03 kB / 0.8166 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/1.173, allocations: 58.05 kB / 0.8166 GB, free: 89.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/1.173, allocations: 19.81 kB / 0.8167 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/1.173, allocations: 227.8 kB / 0.8169 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/1.173, allocations: 130.6 kB / 0.817 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/1.173, allocations: 18.38 kB / 0.817 GB, free: 89.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/1.174, allocations: 314.6 kB / 0.8173 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/1.174, allocations: 0 / 0.8173 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/1.174, allocations: 9.688 kB / 0.8173 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/1.174, allocations: 7.984 kB / 0.8173 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006255/1.174, allocations: 0.7313 MB / 0.818 GB, free: 88.67 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/1.175, allocations: 1.17 MB / 0.8192 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/1.176, allocations: 150.9 kB / 0.8193 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.668e-05/1.176, allocations: 72.59 kB / 0.8194 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/1.178, allocations: 2.877 MB / 0.8222 GB, free: 84.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/1.178, allocations: 37.19 kB / 0.8222 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/1.178, allocations: 0 / 0.8222 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0005476/1.178, allocations: 204.7 kB / 0.8224 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/1.179, allocations: 59.34 kB / 0.8225 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/1.179, allocations: 186.3 kB / 0.8227 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/1.179, allocations: 32.2 kB / 0.8227 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/1.179, allocations: 199.2 kB / 0.8229 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/1.179, allocations: 68.81 kB / 0.823 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/1.179, allocations: 5.062 kB / 0.823 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.618e-05/1.179, allocations: 330.4 kB / 0.8233 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/1.179, allocations: 47.17 kB / 0.8233 GB, free: 83.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/1.179, allocations: 308.6 kB / 0.8236 GB, free: 82.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/1.179, allocations: 108.9 kB / 0.8237 GB, free: 82.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.179, allocations: 4 kB / 0.8237 GB, free: 82.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004121/1.18, allocations: 356.4 kB / 0.8241 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.18, allocations: 8 kB / 0.8241 GB, free: 82.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.18, allocations: 8.094 kB / 0.8241 GB, free: 82.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.18, allocations: 23.94 kB / 0.8241 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/1.18, allocations: 115.1 kB / 0.8242 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/1.18, allocations: 15.94 kB / 0.8242 GB, free: 82.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/1.18, allocations: 14.38 kB / 0.8242 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/1.18, allocations: 31.23 kB / 0.8243 GB, free: 82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 6.762e-05/1.18, allocations: 140.9 kB / 0.8244 GB, free: 81.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/1.18, allocations: 23.72 kB / 0.8244 GB, free: 81.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/1.181, allocations: 174.4 kB / 0.8246 GB, free: 81.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/1.181, allocations: 7.984 kB / 0.8246 GB, free: 81.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.181, allocations: 0 / 0.8246 GB, free: 81.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.181, allocations: 3.984 kB / 0.8246 GB, free: 81.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/1.181, allocations: 457.7 kB / 0.825 GB, free: 81.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.181, allocations: 0 / 0.825 GB, free: 81.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/1.181, allocations: 43.97 kB / 0.8251 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.181, allocations: 4 kB / 0.8251 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.181, allocations: 7.547 kB / 0.8251 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.181, allocations: 4 kB / 0.8251 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.181, allocations: 0 / 0.8251 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/1.182, allocations: 254.4 kB / 0.8253 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/1.182, allocations: 113 kB / 0.8255 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/1.182, allocations: 7.062 kB / 0.8255 GB, free: 80.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/1.182, allocations: 11.94 kB / 0.8255 GB, free: 80.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/1.182, allocations: 11.05 kB / 0.8255 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/1.182, allocations: 8 kB / 0.8255 GB, free: 80.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.055e-05/1.182, allocations: 149.8 kB / 0.8256 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/1.182, allocations: 0 / 0.8256 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004286/1.183, allocations: 101.4 kB / 0.8257 GB, free: 80.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.0004801/1.183, allocations: 1.009 MB / 0.8267 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002266/1.183, allocations: 173 kB / 0.8269 GB, free: 79.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.183, allocations: 0 / 0.8269 GB, free: 79.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.766e-05/1.183, allocations: 41.86 kB / 0.8269 GB, free: 79.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/1.184, allocations: 57.44 kB / 0.827 GB, free: 79.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/1.194, allocations: 5.674 MB / 0.8325 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/1.194, allocations: 0.7289 MB / 0.8332 GB, free: 72.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002631/1.195, allocations: 70.7 kB / 0.8333 GB, free: 72.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/1.195, allocations: 67.41 kB / 0.8334 GB, free: 72.62 MB / 0.5105 GB Notification: Performance of SimCode: time 8.12e-07/1.195, allocations: 0 / 0.8334 GB, free: 72.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/1.211, allocations: 5.604 MB / 0.8388 GB, free: 67.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/1.212, allocations: 175.6 kB / 0.839 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/3.102, allocations: 1.969 kB / 0.839 GB, free: 66.93 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat