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.001183/0.001183, allocations: 104.3 kB / 17.63 MB, free: 5.344 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.001165/0.001165, allocations: 192 kB / 18.56 MB, free: 4.434 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.341/1.341, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2078/0.2078, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 60.02 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.136, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4049/0.541, allocations: 150.1 MB / 0.605 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007231/0.5482, allocations: 5.15 MB / 0.61 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.5485, allocations: 0 / 0.61 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.5489, allocations: 55.66 kB / 0.61 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.5528, allocations: 1.197 MB / 0.6112 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.5532, allocations: 150.1 kB / 0.6114 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.5537, allocations: 390.2 kB / 0.6117 GB, free: 3.488 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.601e-05/0.5538, allocations: 13.67 kB / 0.6117 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.5541, allocations: 167.3 kB / 0.6119 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.5544, allocations: 171.5 kB / 0.6121 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.5544, allocations: 8 kB / 0.6121 GB, free: 3.137 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.5563, allocations: 0.977 MB / 0.613 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/0.5564, allocations: 47.75 kB / 0.6131 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.5566, allocations: 111.5 kB / 0.6132 GB, free: 2.004 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.5581, allocations: 0.8342 MB / 0.614 GB, free: 1.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5581, allocations: 0 / 0.614 GB, free: 1.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5581, allocations: 0 / 0.614 GB, free: 1.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.5581, allocations: 0 / 0.614 GB, free: 1.168 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.001352/0.5595, allocations: 0.6874 MB / 0.6147 GB, free: 444 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5595, allocations: 16.02 kB / 0.6147 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.85e-05/0.5596, allocations: 54.73 kB / 0.6147 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007932/0.5676, allocations: 0.5897 MB / 0.6153 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.568, allocations: 267.5 kB / 0.6156 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.5681, allocations: 127.3 kB / 0.6157 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-05/0.5682, allocations: 20 kB / 0.6157 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.5694, allocations: 0.5595 MB / 0.6162 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5695, allocations: 7.938 kB / 0.6163 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.741e-05/0.5696, allocations: 12 kB / 0.6163 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.5696, allocations: 8 kB / 0.6163 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.5711, allocations: 0.6299 MB / 0.6169 GB, free: 14.04 MB / 462.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.002154/0.5732, allocations: 1.711 MB / 0.6186 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.5736, allocations: 158.5 kB / 0.6187 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.5738, allocations: 76.83 kB / 0.6188 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/0.5745, allocations: 0.7003 MB / 0.6195 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.5745, allocations: 38.56 kB / 0.6195 GB, free: 11.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.5745, allocations: 0 / 0.6195 GB, free: 11.09 MB / 462.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.001071/0.5756, allocations: 319.5 kB / 0.6198 GB, free: 10.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.5756, allocations: 51.41 kB / 0.6199 GB, free: 10.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.5758, allocations: 202.8 kB / 0.6201 GB, free: 10.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.5759, allocations: 33.64 kB / 0.6201 GB, free: 10.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.576, allocations: 187.3 kB / 0.6203 GB, free: 10.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.576, allocations: 63.11 kB / 0.6203 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.5762, allocations: 93.95 kB / 0.6204 GB, free: 10.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5763, allocations: 330.8 kB / 0.6207 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.5765, allocations: 68.7 kB / 0.6208 GB, free: 9.715 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.5768, allocations: 263.8 kB / 0.621 GB, free: 9.363 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.5773, allocations: 370.1 kB / 0.6214 GB, free: 8.906 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5773, allocations: 0 / 0.6214 GB, free: 8.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006818/0.578, allocations: 374.5 kB / 0.6218 GB, free: 8.535 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.578, allocations: 8 kB / 0.6218 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.578, allocations: 4 kB / 0.6218 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.5781, allocations: 15.94 kB / 0.6218 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.5785, allocations: 127.8 kB / 0.6219 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004394/0.579, allocations: 0.5938 MB / 0.6225 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.5792, allocations: 51.52 kB / 0.6225 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.5793, allocations: 44.16 kB / 0.6226 GB, free: 7.672 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.0001718/0.5795, allocations: 147.2 kB / 0.6227 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.5796, allocations: 24.86 kB / 0.6227 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009591/0.5805, allocations: 436.8 kB / 0.6232 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.5805, allocations: 7.984 kB / 0.6232 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5806, allocations: 4 kB / 0.6232 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5806, allocations: 0 / 0.6232 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008887/0.5815, allocations: 0.6304 MB / 0.6238 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5815, allocations: 4.219 kB / 0.6238 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.5817, allocations: 55.97 kB / 0.6238 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5817, allocations: 4 kB / 0.6238 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.5818, allocations: 11.98 kB / 0.6239 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003305/0.5821, allocations: 0.5898 MB / 0.6244 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5821, allocations: 4.031 kB / 0.6244 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.5825, allocations: 293.3 kB / 0.6247 GB, free: 5.312 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.5826, allocations: 112.8 kB / 0.6248 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.5827, allocations: 7.984 kB / 0.6248 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.583, allocations: 15.94 kB / 0.6248 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.583, allocations: 19.97 kB / 0.6249 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.5831, allocations: 12 kB / 0.6249 GB, free: 5.129 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.5832, allocations: 148.1 kB / 0.625 GB, free: 4.984 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5832, allocations: 3.938 kB / 0.625 GB, free: 4.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006402/0.5839, allocations: 152 kB / 0.6252 GB, free: 4.832 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.001254/0.5851, allocations: 0.9605 MB / 0.6261 GB, free: 3.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005669/0.5857, allocations: 228.5 kB / 0.6263 GB, free: 3.609 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5857, allocations: 0 / 0.6263 GB, free: 3.609 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.5859, allocations: 79.83 kB / 0.6264 GB, free: 3.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.5865, allocations: 57.27 kB / 0.6265 GB, free: 3.477 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.5906, allocations: 2.839 MB / 0.6292 GB, free: 356 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.591, allocations: 0.7245 MB / 0.6299 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009624/0.592, allocations: 390.6 kB / 0.6303 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.5922, allocations: 95.38 kB / 0.6304 GB, free: 15.11 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5922, allocations: 0 / 0.6304 GB, free: 15.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7322/1.324, allocations: 7.306 MB / 0.6375 GB, free: 7.949 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/14.01, allocations: 5.016 kB / 0.6375 GB, free: 7.945 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