Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.158/2.158, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002185/0.002185, allocations: 82.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2921/0.2921, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.422e-05/4.452e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.891/2.017, allocations: 0.5962 GB / 1.069 GB, free: 35.31 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/2.017, allocations: 71.09 kB / 1.069 GB, free: 35.28 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6049/2.622, allocations: 61.05 MB / 1.129 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/2.622, allocations: 0 / 1.129 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.636e-05/2.622, allocations: 3.312 kB / 1.129 GB, free: 172.1 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.002371/2.625, allocations: 0.7084 MB / 1.129 GB, free: 171.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/2.625, allocations: 7.781 kB / 1.129 GB, free: 171.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/2.625, allocations: 58.16 kB / 1.13 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/2.638, allocations: 0.5925 MB / 1.13 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/2.638, allocations: 256.4 kB / 1.13 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/2.638, allocations: 122.5 kB / 1.13 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/2.639, allocations: 26.61 kB / 1.13 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/2.64, allocations: 0.525 MB / 1.131 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/2.64, allocations: 1.219 kB / 1.131 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/2.64, allocations: 9.5 kB / 1.131 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/2.64, allocations: 7.875 kB / 1.131 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/2.642, allocations: 0.5707 MB / 1.132 GB, free: 171.1 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/2.645, allocations: 1.621 MB / 1.133 GB, free: 169.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/2.646, allocations: 147.7 kB / 1.133 GB, free: 169.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/2.646, allocations: 75.97 kB / 1.133 GB, free: 169.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/2.647, allocations: 0.6996 MB / 1.134 GB, free: 169.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/2.647, allocations: 36.55 kB / 1.134 GB, free: 169.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.196e-06/2.647, allocations: 0 / 1.134 GB, free: 169.2 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001345/2.648, allocations: 282 kB / 1.134 GB, free: 169.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/2.648, allocations: 51.41 kB / 1.134 GB, free: 169.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/2.649, allocations: 167.8 kB / 1.135 GB, free: 169 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/2.649, allocations: 39.3 kB / 1.135 GB, free: 168.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/2.649, allocations: 252 kB / 1.135 GB, free: 168.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/2.649, allocations: 63.62 kB / 1.135 GB, free: 168.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/2.649, allocations: 10.12 kB / 1.135 GB, free: 168.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.075e-05/2.649, allocations: 328.6 kB / 1.135 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/2.649, allocations: 64.03 kB / 1.135 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/2.649, allocations: 262.3 kB / 1.136 GB, free: 168.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/2.65, allocations: 105.5 kB / 1.136 GB, free: 168.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/2.65, allocations: 6.469 kB / 1.136 GB, free: 168.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008552/2.651, allocations: 347.1 kB / 1.136 GB, free: 168.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/2.651, allocations: 10.03 kB / 1.136 GB, free: 168.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/2.651, allocations: 12.05 kB / 1.136 GB, free: 168.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.875e-05/2.651, allocations: 11.16 kB / 1.136 GB, free: 168.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/2.651, allocations: 128.5 kB / 1.136 GB, free: 168.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003862/2.652, allocations: 0.6126 MB / 1.137 GB, free: 167.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/2.652, allocations: 42.62 kB / 1.137 GB, free: 167.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.894e-05/2.652, allocations: 40.59 kB / 1.137 GB, free: 167.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/2.653, allocations: 133.2 kB / 1.137 GB, free: 167.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/2.653, allocations: 22.5 kB / 1.137 GB, free: 167.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/2.654, allocations: 289.3 kB / 1.137 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/2.654, allocations: 0 / 1.137 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.654, allocations: 3.375 kB / 1.137 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/2.654, allocations: 3 kB / 1.137 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009806/2.655, allocations: 0.5384 MB / 1.138 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/2.655, allocations: 0 / 1.138 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/2.655, allocations: 59.75 kB / 1.138 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/2.655, allocations: 2.031 kB / 1.138 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/2.655, allocations: 9.062 kB / 1.138 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003107/2.656, allocations: 0.5985 MB / 1.138 GB, free: 166.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/2.656, allocations: 3.219 kB / 1.138 GB, free: 166.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/2.656, allocations: 321 kB / 1.139 GB, free: 166.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/2.657, allocations: 116.6 kB / 1.139 GB, free: 166 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/2.657, allocations: 6.062 kB / 1.139 GB, free: 166 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/2.657, allocations: 12.67 kB / 1.139 GB, free: 166 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/2.657, allocations: 22.25 kB / 1.139 GB, free: 166 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/2.657, allocations: 20.33 kB / 1.139 GB, free: 166 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001555/2.657, allocations: 132.3 kB / 1.139 GB, free: 165.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/2.657, allocations: 0 / 1.139 GB, free: 165.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001362/2.659, allocations: 246.8 kB / 1.139 GB, free: 165.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002756/2.662, allocations: 1.754 MB / 1.141 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008141/2.662, allocations: 211.4 kB / 1.141 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/2.662, allocations: 0 / 1.141 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002719/2.663, allocations: 80.5 kB / 1.141 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/2.663, allocations: 58.05 kB / 1.141 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1277/2.791, allocations: 32.53 MB / 1.173 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/2.791, allocations: 0.7364 MB / 1.174 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004404/2.792, allocations: 95.39 kB / 1.174 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/2.792, allocations: 0 / 1.174 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.184/5.976, allocations: 9.173 MB / 1.183 GB, free: 138.7 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat