Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000806/0.000806, allocations: 95.58 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009015/0.0009016, allocations: 175.3 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.3 MB / 242.3 MB, free: 252 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2059/0.2059, allocations: 44.24 MB / 337.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 8.688 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 61.92 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3946/0.5114, allocations: 146 MB / 0.6039 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005917/0.5173, allocations: 5.16 MB / 0.6089 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.5175, allocations: 0 / 0.6089 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.5179, allocations: 43.72 kB / 0.6089 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.5209, allocations: 1.046 MB / 0.61 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.5213, allocations: 136.3 kB / 0.6101 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006196/0.5219, allocations: 462.1 kB / 0.6105 GB, free: 9.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.959e-05/0.522, allocations: 13.69 kB / 0.6105 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.5223, allocations: 171.2 kB / 0.6107 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.5227, allocations: 179.5 kB / 0.6109 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.5227, allocations: 8 kB / 0.6109 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.5246, allocations: 0.9908 MB / 0.6119 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.497e-05/0.5247, allocations: 47.75 kB / 0.6119 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.5249, allocations: 133.2 kB / 0.612 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.5266, allocations: 0.8537 MB / 0.6129 GB, free: 7.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5266, allocations: 0 / 0.6129 GB, free: 7.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5266, allocations: 0 / 0.6129 GB, free: 7.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.5266, allocations: 0 / 0.6129 GB, free: 7.48 MB / 446.1 MB 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.001323/0.5279, allocations: 0.6172 MB / 0.6135 GB, free: 6.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.528, allocations: 11.97 kB / 0.6135 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.272e-05/0.5281, allocations: 62.67 kB / 0.6135 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007482/0.5356, allocations: 0.5902 MB / 0.6141 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.536, allocations: 263.6 kB / 0.6144 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.5361, allocations: 119.4 kB / 0.6145 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.5363, allocations: 24 kB / 0.6145 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.5375, allocations: 0.5595 MB / 0.615 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5375, allocations: 0 / 0.615 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-05/0.5376, allocations: 15.94 kB / 0.6151 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.5376, allocations: 11.98 kB / 0.6151 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.539, allocations: 0.626 MB / 0.6157 GB, free: 4.434 MB / 446.1 MB 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.002147/0.5412, allocations: 1.719 MB / 0.6174 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.5416, allocations: 156.8 kB / 0.6175 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.5417, allocations: 79.41 kB / 0.6176 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006894/0.5424, allocations: 0.6964 MB / 0.6183 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5425, allocations: 41.94 kB / 0.6183 GB, free: 1.484 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 3.257e-06/0.5425, allocations: 4 kB / 0.6183 GB, free: 1.48 MB / 446.1 MB 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=17): time 0.0009973/0.5435, allocations: 323.2 kB / 0.6186 GB, free: 1.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.5435, allocations: 55.41 kB / 0.6187 GB, free: 1.094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.5437, allocations: 191 kB / 0.6188 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.5437, allocations: 29.7 kB / 0.6189 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.5439, allocations: 195.2 kB / 0.6191 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.5439, allocations: 63.09 kB / 0.6191 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.544, allocations: 33.7 kB / 0.6192 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5441, allocations: 326.8 kB / 0.6195 GB, free: 240 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.5442, allocations: 68.7 kB / 0.6195 GB, free: 172 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.5445, allocations: 267.8 kB / 0.6198 GB, free: 15.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/0.545, allocations: 367 kB / 0.6201 GB, free: 15.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.545, allocations: 4 kB / 0.6201 GB, free: 15.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006101/0.5456, allocations: 372.2 kB / 0.6205 GB, free: 14.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5457, allocations: 8 kB / 0.6205 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.5457, allocations: 11.98 kB / 0.6205 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.5457, allocations: 15.97 kB / 0.6205 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.5461, allocations: 127.8 kB / 0.6207 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000347/0.5465, allocations: 0.6016 MB / 0.6212 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.5467, allocations: 43.53 kB / 0.6213 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.5468, allocations: 43.98 kB / 0.6213 GB, free: 14.12 MB / 462.1 MB 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.547, allocations: 150.2 kB / 0.6215 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.547, allocations: 15.81 kB / 0.6215 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008715/0.5479, allocations: 428.9 kB / 0.6219 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5479, allocations: 0 / 0.6219 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5479, allocations: 0 / 0.6219 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5479, allocations: 3.984 kB / 0.6219 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/0.5488, allocations: 0.6266 MB / 0.6225 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5488, allocations: 4 kB / 0.6225 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.549, allocations: 64.05 kB / 0.6226 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.549, allocations: 8 kB / 0.6226 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.549, allocations: 8 kB / 0.6226 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002913/0.5493, allocations: 0.6005 MB / 0.6232 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5493, allocations: 4.031 kB / 0.6232 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.5497, allocations: 297.2 kB / 0.6235 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.5498, allocations: 116.8 kB / 0.6236 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.5498, allocations: 4 kB / 0.6236 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.5501, allocations: 19.98 kB / 0.6236 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.5501, allocations: 15.98 kB / 0.6236 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.5502, allocations: 12 kB / 0.6236 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.5503, allocations: 152.1 kB / 0.6238 GB, free: 11.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5503, allocations: 0 / 0.6238 GB, free: 11.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006185/0.5509, allocations: 152 kB / 0.6239 GB, free: 11.27 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.552, allocations: 0.9566 MB / 0.6248 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005035/0.5525, allocations: 217.1 kB / 0.6251 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5526, allocations: 4 kB / 0.6251 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.5527, allocations: 79.83 kB / 0.6251 GB, free: 9.988 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.5533, allocations: 64.69 kB / 0.6252 GB, free: 9.926 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.5569, allocations: 2.964 MB / 0.6281 GB, free: 6.664 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.5572, allocations: 0.7168 MB / 0.6288 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000924/0.5581, allocations: 389.9 kB / 0.6292 GB, free: 5.539 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.5584, allocations: 95.36 kB / 0.6293 GB, free: 5.445 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5584, allocations: 0 / 0.6293 GB, free: 5.445 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.5796, allocations: 6.97 MB / 0.6361 GB, free: 14.65 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000315/0.58, allocations: 280.8 kB / 0.6363 GB, free: 14.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.575, allocations: 3.938 kB / 0.6363 GB, free: 14.27 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches