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.002218/0.002218, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.016/2.016, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001107/0.001107, allocations: 96.34 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5545/0.5545, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000677/0.000677, allocations: 12 kB / 431.5 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1365, allocations: 58.85 MB / 490.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.072/2.208, allocations: 0.5962 GB / 1.075 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/2.209, allocations: 80.61 kB / 1.075 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5894/2.798, allocations: 61.22 MB / 1.135 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.795e-06/2.798, allocations: 0 / 1.135 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.52e-05/2.798, allocations: 0 / 1.135 GB, free: 163.7 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.002351/2.8, allocations: 0.7118 MB / 1.136 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/2.8, allocations: 10.5 kB / 1.136 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/2.801, allocations: 62.53 kB / 1.136 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/2.813, allocations: 0.5897 MB / 1.136 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/2.814, allocations: 257.8 kB / 1.137 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/2.814, allocations: 126.8 kB / 1.137 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/2.814, allocations: 31.45 kB / 1.137 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/2.816, allocations: 0.5548 MB / 1.137 GB, free: 162 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/2.816, allocations: 0 / 1.137 GB, free: 162 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/2.816, allocations: 11.19 kB / 1.137 GB, free: 162 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/2.816, allocations: 7.125 kB / 1.137 GB, free: 162 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/2.818, allocations: 0.6097 MB / 1.138 GB, free: 161.7 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002893/2.821, allocations: 1.621 MB / 1.139 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/2.822, allocations: 164.7 kB / 1.14 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009984/2.823, allocations: 0.6699 MB / 1.14 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/2.823, allocations: 34.56 kB / 1.14 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.156e-06/2.823, allocations: 0 / 1.14 GB, free: 159.3 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.001615/2.825, allocations: 328.7 kB / 1.141 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/2.825, allocations: 51.41 kB / 1.141 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/2.825, allocations: 172 kB / 1.141 GB, free: 159 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/2.825, allocations: 33.67 kB / 1.141 GB, free: 159 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/2.825, allocations: 257.3 kB / 1.141 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.307e-05/2.825, allocations: 67 kB / 1.141 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/2.825, allocations: 4 kB / 1.141 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/2.825, allocations: 326.7 kB / 1.141 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/2.825, allocations: 68.17 kB / 1.141 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/2.826, allocations: 266.9 kB / 1.142 GB, free: 158 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/2.826, allocations: 102.8 kB / 1.142 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/2.826, allocations: 3.938 kB / 1.142 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009283/2.827, allocations: 370.9 kB / 1.142 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/2.827, allocations: 7.844 kB / 1.142 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/2.827, allocations: 8.594 kB / 1.142 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.789e-05/2.827, allocations: 7.812 kB / 1.142 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/2.828, allocations: 132.8 kB / 1.142 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003531/2.828, allocations: 0.597 MB / 1.143 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/2.829, allocations: 47.08 kB / 1.143 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/2.829, allocations: 42.69 kB / 1.143 GB, free: 157.1 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 () * Number of clocked 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.0002066/2.829, allocations: 153.3 kB / 1.143 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/2.829, allocations: 19.78 kB / 1.143 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/2.83, allocations: 294 kB / 1.143 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/2.83, allocations: 3.906 kB / 1.143 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/2.83, allocations: 0 / 1.143 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/2.83, allocations: 3.984 kB / 1.143 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/2.831, allocations: 0.5273 MB / 1.144 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/2.831, allocations: 4.125 kB / 1.144 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/2.832, allocations: 67.89 kB / 1.144 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/2.832, allocations: 4 kB / 1.144 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/2.832, allocations: 8 kB / 1.144 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003112/2.832, allocations: 0.5938 MB / 1.145 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.832, allocations: 3.938 kB / 1.145 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/2.833, allocations: 324.4 kB / 1.145 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/2.833, allocations: 112.8 kB / 1.145 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.395e-05/2.833, allocations: 11.94 kB / 1.145 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/2.833, allocations: 15.98 kB / 1.145 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/2.833, allocations: 19.88 kB / 1.145 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/2.834, allocations: 19.98 kB / 1.145 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001501/2.834, allocations: 135 kB / 1.145 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.6e-07/2.834, allocations: 0 / 1.145 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00137/2.835, allocations: 243.8 kB / 1.145 GB, free: 154.5 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 () * Number of clocked 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.002597/2.838, allocations: 1.773 MB / 1.147 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008746/2.839, allocations: 213.1 kB / 1.147 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/2.839, allocations: 0 / 1.147 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002966/2.839, allocations: 88.33 kB / 1.148 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/2.84, allocations: 51.11 kB / 1.148 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.119/2.959, allocations: 38.11 MB / 1.185 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/2.959, allocations: 0.7248 MB / 1.185 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/2.959, allocations: 99.38 kB / 1.186 GB, free: 113 MB / 0.5105 GB Notification: Performance of SimCode: time 1.463e-06/2.959, allocations: 0 / 1.186 GB, free: 113 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.943/5.902, allocations: 9.176 MB / 1.195 GB, free: 103.9 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