Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007547/0.0007548, allocations: 88.78 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1679/0.1679, allocations: 45.14 MB / 389.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.989e-05/2.992e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08613/0.08617, allocations: 63.24 MB / 0.5114 GB, free: 6.734 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.565/7.652, allocations: 3.505 GB / 4.016 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/7.652, allocations: 75.52 kB / 4.016 GB, free: 118 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1864/7.838, allocations: 87.5 MB / 4.102 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.513e-06/7.838, allocations: 0 / 4.102 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.234e-05/7.838, allocations: 4 kB / 4.102 GB, free: 36.79 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002601/7.841, allocations: 1.033 MB / 4.103 GB, free: 35.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/7.841, allocations: 11.97 kB / 4.103 GB, free: 35.7 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.45e-05/7.841, allocations: 70.47 kB / 4.103 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/7.841, allocations: 39.62 kB / 4.103 GB, free: 35.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/7.841, allocations: 246.7 kB / 4.103 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/7.842, allocations: 131.6 kB / 4.103 GB, free: 35.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/7.842, allocations: 32 kB / 4.103 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/7.842, allocations: 0.5541 MB / 4.104 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/7.842, allocations: 0 / 4.104 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/7.842, allocations: 12 kB / 4.104 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/7.842, allocations: 28.55 kB / 4.104 GB, free: 34.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009464/7.843, allocations: 1.243 MB / 4.105 GB, free: 33.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/7.845, allocations: 1.905 MB / 4.107 GB, free: 31.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/7.846, allocations: 269.2 kB / 4.107 GB, free: 30.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/7.846, allocations: 110.1 kB / 4.107 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002693/7.848, allocations: 3.528 MB / 4.111 GB, free: 26.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/7.848, allocations: 42.56 kB / 4.111 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 1.993e-06/7.849, allocations: 0 / 4.111 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.001539/7.85, allocations: 0.6436 MB / 4.112 GB, free: 26.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/7.85, allocations: 63.39 kB / 4.112 GB, free: 25.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/7.85, allocations: 189.3 kB / 4.112 GB, free: 25.76 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/7.85, allocations: 41.69 kB / 4.112 GB, free: 25.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/7.85, allocations: 183.9 kB / 4.112 GB, free: 25.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/7.85, allocations: 165.7 kB / 4.112 GB, free: 25.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/7.85, allocations: 8 kB / 4.112 GB, free: 25.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.9e-05/7.85, allocations: 334.8 kB / 4.113 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/7.851, allocations: 105.5 kB / 4.113 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/7.851, allocations: 410.9 kB / 4.113 GB, free: 24.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/7.851, allocations: 170.4 kB / 4.113 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/7.851, allocations: 4 kB / 4.113 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007299/7.852, allocations: 0.5536 MB / 4.114 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/7.852, allocations: 9.406 kB / 4.114 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/7.852, allocations: 12 kB / 4.114 GB, free: 23.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/7.852, allocations: 16 kB / 4.114 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/7.853, allocations: 199.7 kB / 4.114 GB, free: 23.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003609/7.853, allocations: 1.192 MB / 4.115 GB, free: 22.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/7.853, allocations: 27.98 kB / 4.115 GB, free: 22.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-05/7.853, allocations: 59.98 kB / 4.115 GB, free: 22.09 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * 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.0001068/7.853, allocations: 157.5 kB / 4.115 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/7.854, allocations: 23.72 kB / 4.115 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/7.855, allocations: 0.6896 MB / 4.116 GB, free: 21.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/7.855, allocations: 4 kB / 4.116 GB, free: 21.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/7.855, allocations: 3.953 kB / 4.116 GB, free: 21.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/7.855, allocations: 3.984 kB / 4.116 GB, free: 21.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006741/7.855, allocations: 0.621 MB / 4.117 GB, free: 20.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/7.855, allocations: 11.97 kB / 4.117 GB, free: 20.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/7.856, allocations: 91.88 kB / 4.117 GB, free: 20.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/7.856, allocations: 3.953 kB / 4.117 GB, free: 20.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/7.856, allocations: 8 kB / 4.117 GB, free: 20.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002727/7.856, allocations: 1.168 MB / 4.118 GB, free: 19.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/7.856, allocations: 4.031 kB / 4.118 GB, free: 19.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/7.856, allocations: 355.2 kB / 4.118 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/7.857, allocations: 156.6 kB / 4.118 GB, free: 18.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/7.857, allocations: 16.05 kB / 4.118 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/7.857, allocations: 11.98 kB / 4.118 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/7.857, allocations: 19.97 kB / 4.118 GB, free: 18.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/7.857, allocations: 12 kB / 4.118 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001258/7.857, allocations: 183.1 kB / 4.119 GB, free: 18.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/7.857, allocations: 0 / 4.119 GB, free: 18.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001808/7.859, allocations: 0.5656 MB / 4.119 GB, free: 17.79 MB / 0.5261 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 (33): * Single equations (assignments): 30 * Array equations: 1 * 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.002723/7.862, allocations: 2.108 MB / 4.121 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000848/7.862, allocations: 362.1 kB / 4.122 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/7.862, allocations: 0 / 4.122 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/7.863, allocations: 131.9 kB / 4.122 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/7.863, allocations: 84.55 kB / 4.122 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.396/8.259, allocations: 53.82 MB / 4.174 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/8.26, allocations: 0.7756 MB / 4.175 GB, free: 125 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007392/8.26, allocations: 204.6 kB / 4.175 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/8.261, allocations: 136.2 kB / 4.175 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/8.261, allocations: 0 / 4.175 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0449/8.306, allocations: 27.47 MB / 4.202 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/8.306, allocations: 211.9 kB / 4.202 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/10.94, allocations: 3.844 kB / 4.202 GB, free: 122.9 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat does not exist to compare? outputFormat=mat