Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_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.001097/0.001097, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.000868/0.0008679, allocations: 88.56 kB / 267.1 MB, free: 9.277 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.4605/0.4605, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.902e-05/4.905e-05, allocations: 4 kB / 425.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1553, allocations: 58.84 MB / 484.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.569/1.725, allocations: 0.5962 GB / 1.069 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/1.725, allocations: 73.19 kB / 1.069 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5131/2.238, allocations: 61.07 MB / 1.129 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.724e-06/2.238, allocations: 2.25 kB / 1.129 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.512e-05/2.238, allocations: 3.094 kB / 1.129 GB, free: 153.4 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.001943/2.24, allocations: 0.7016 MB / 1.129 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/2.24, allocations: 14.44 kB / 1.129 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.568e-05/2.24, allocations: 53.95 kB / 1.13 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006753/2.247, allocations: 0.5964 MB / 1.13 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/2.248, allocations: 247.6 kB / 1.13 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/2.248, allocations: 126.4 kB / 1.13 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.731e-05/2.248, allocations: 21.25 kB / 1.13 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009036/2.249, allocations: 0.5244 MB / 1.131 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/2.249, allocations: 3.094 kB / 1.131 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.562e-05/2.249, allocations: 9 kB / 1.131 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/2.249, allocations: 9.391 kB / 1.131 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/2.25, allocations: 0.569 MB / 1.132 GB, free: 152.4 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.001924/2.252, allocations: 1.616 MB / 1.133 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/2.252, allocations: 156.3 kB / 1.133 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/2.252, allocations: 73.12 kB / 1.133 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000862/2.253, allocations: 0.6955 MB / 1.134 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/2.253, allocations: 42.3 kB / 1.134 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.986e-06/2.253, allocations: 0 / 1.134 GB, free: 150.5 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.001001/2.254, allocations: 272.7 kB / 1.134 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/2.254, allocations: 55.28 kB / 1.134 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/2.255, allocations: 179.2 kB / 1.135 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/2.255, allocations: 32.38 kB / 1.135 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/2.255, allocations: 182.4 kB / 1.135 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/2.255, allocations: 68.12 kB / 1.135 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/2.255, allocations: 5.75 kB / 1.135 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001037/2.255, allocations: 326.3 kB / 1.135 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/2.255, allocations: 58.41 kB / 1.135 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/2.255, allocations: 266.6 kB / 1.135 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/2.256, allocations: 112.3 kB / 1.136 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/2.256, allocations: 0 / 1.136 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005649/2.256, allocations: 351.2 kB / 1.136 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/2.256, allocations: 12.41 kB / 1.136 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/2.256, allocations: 10.05 kB / 1.136 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/2.256, allocations: 11.75 kB / 1.136 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/2.257, allocations: 123.6 kB / 1.136 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003125/2.257, allocations: 0.6079 MB / 1.137 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/2.257, allocations: 44.34 kB / 1.137 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/2.257, allocations: 41.2 kB / 1.137 GB, free: 148.8 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.0001049/2.257, allocations: 140.8 kB / 1.137 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/2.257, allocations: 17.75 kB / 1.137 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007245/2.258, allocations: 288.2 kB / 1.137 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/2.258, allocations: 7.75 kB / 1.137 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/2.258, allocations: 0 / 1.137 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/2.258, allocations: 1.453 kB / 1.137 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/2.259, allocations: 0.5259 MB / 1.138 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/2.259, allocations: 2 kB / 1.138 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/2.259, allocations: 64.58 kB / 1.138 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/2.259, allocations: 6.156 kB / 1.138 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/2.259, allocations: 6.938 kB / 1.138 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002191/2.259, allocations: 0.5979 MB / 1.138 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/2.259, allocations: 3.125 kB / 1.138 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/2.26, allocations: 313.9 kB / 1.139 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/2.26, allocations: 117.4 kB / 1.139 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/2.26, allocations: 6.047 kB / 1.139 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/2.26, allocations: 14.53 kB / 1.139 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/2.26, allocations: 25.98 kB / 1.139 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/2.26, allocations: 23.62 kB / 1.139 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.867e-05/2.26, allocations: 133.1 kB / 1.139 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.26, allocations: 0 / 1.139 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001118/2.261, allocations: 249.8 kB / 1.139 GB, free: 147.2 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.001857/2.263, allocations: 1.769 MB / 1.141 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004725/2.264, allocations: 209.5 kB / 1.141 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/2.264, allocations: 3.094 kB / 1.141 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/2.264, allocations: 71.59 kB / 1.141 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/2.264, allocations: 54.62 kB / 1.141 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07899/2.343, allocations: 32.5 MB / 1.173 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/2.344, allocations: 0.7304 MB / 1.174 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009194/2.345, allocations: 110.8 kB / 1.174 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/2.345, allocations: 82.16 kB / 1.174 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of SimCode: time 3.907e-06/2.345, allocations: 0 / 1.174 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04805/2.393, allocations: 17.4 MB / 1.191 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/2.393, allocations: 211.4 kB / 1.191 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/4.752, allocations: 0 / 1.191 GB, free: 130.9 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat