Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001382, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001443, allocations: 77.25 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1183, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4107/0.529, allocations: 153 MB / 0.6183 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006599/0.5356, allocations: 5.14 MB / 0.6233 GB, free: 4.988 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.5358, allocations: 0 / 0.6233 GB, free: 4.988 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.5362, allocations: 67.58 kB / 0.6234 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003505/0.5397, allocations: 1.199 MB / 0.6246 GB, free: 3.723 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.5401, allocations: 141.3 kB / 0.6247 GB, free: 3.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000674/0.5408, allocations: 398.1 kB / 0.6251 GB, free: 3.199 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.603e-05/0.5409, allocations: 13.69 kB / 0.6251 GB, free: 3.188 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004752/0.5414, allocations: 167.3 kB / 0.6252 GB, free: 3.023 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004982/0.5419, allocations: 167.5 kB / 0.6254 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/0.542, allocations: 8 kB / 0.6254 GB, free: 2.852 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.5449, allocations: 0.9832 MB / 0.6264 GB, free: 1.867 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.5451, allocations: 47.75 kB / 0.6264 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.5453, allocations: 111.5 kB / 0.6265 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.548, allocations: 0.8459 MB / 0.6273 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.548, allocations: 0 / 0.6273 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.548, allocations: 0 / 0.6273 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.5481, allocations: 0 / 0.6273 GB, free: 0.8633 MB / 462.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.002053/0.5501, allocations: 0.6833 MB / 0.628 GB, free: 132 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.5502, allocations: 8.031 kB / 0.628 GB, free: 124 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.5503, allocations: 62.72 kB / 0.6281 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008453/0.5588, allocations: 0.6058 MB / 0.6287 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.5593, allocations: 271.5 kB / 0.6289 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.5595, allocations: 119.4 kB / 0.629 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.5596, allocations: 20 kB / 0.6291 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.5609, allocations: 0.5634 MB / 0.6296 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.561, allocations: 4 kB / 0.6296 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.354e-05/0.5611, allocations: 12 kB / 0.6296 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.5611, allocations: 4 kB / 0.6296 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.5626, allocations: 0.6299 MB / 0.6302 GB, free: 13.73 MB / 478.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.002604/0.5652, allocations: 1.722 MB / 0.6319 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.5656, allocations: 150.5 kB / 0.6321 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.5658, allocations: 80.84 kB / 0.6321 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009354/0.5668, allocations: 0.6965 MB / 0.6328 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.5668, allocations: 38.56 kB / 0.6329 GB, free: 10.78 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.425e-06/0.5668, allocations: 7.938 kB / 0.6329 GB, free: 10.77 MB / 478.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.001161/0.568, allocations: 316.2 kB / 0.6332 GB, free: 10.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.568, allocations: 55.41 kB / 0.6332 GB, free: 10.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.5683, allocations: 203.7 kB / 0.6334 GB, free: 10.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.5683, allocations: 29.7 kB / 0.6334 GB, free: 10.15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.5685, allocations: 179.3 kB / 0.6336 GB, free: 9.965 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.5685, allocations: 71.08 kB / 0.6337 GB, free: 9.895 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.5687, allocations: 89.97 kB / 0.6338 GB, free: 9.801 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5688, allocations: 330.8 kB / 0.6341 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.569, allocations: 68.7 kB / 0.6342 GB, free: 9.402 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.5693, allocations: 264 kB / 0.6344 GB, free: 9.051 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.5698, allocations: 370.7 kB / 0.6348 GB, free: 8.594 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5698, allocations: 0 / 0.6348 GB, free: 8.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000687/0.5705, allocations: 374.3 kB / 0.6351 GB, free: 8.223 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.5705, allocations: 8 kB / 0.6351 GB, free: 8.215 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.5706, allocations: 4 kB / 0.6351 GB, free: 8.211 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/0.5706, allocations: 23.95 kB / 0.6352 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.571, allocations: 124.7 kB / 0.6353 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004527/0.5715, allocations: 0.5977 MB / 0.6359 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.5718, allocations: 47.53 kB / 0.6359 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.5719, allocations: 39.98 kB / 0.6359 GB, free: 7.359 MB / 478.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.0001701/0.5721, allocations: 153.7 kB / 0.6361 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/0.5721, allocations: 19.81 kB / 0.6361 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.5732, allocations: 425.1 kB / 0.6365 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.5732, allocations: 7.984 kB / 0.6365 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5732, allocations: 0 / 0.6365 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5732, allocations: 0 / 0.6365 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000956/0.5742, allocations: 0.6304 MB / 0.6371 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5742, allocations: 0 / 0.6371 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.5744, allocations: 68.58 kB / 0.6372 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5744, allocations: 4 kB / 0.6372 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.5745, allocations: 8.219 kB / 0.6372 GB, free: 5.949 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003305/0.5748, allocations: 0.5976 MB / 0.6378 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5748, allocations: 4.031 kB / 0.6378 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.5752, allocations: 293.3 kB / 0.6381 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.5754, allocations: 112.8 kB / 0.6382 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.5754, allocations: 4 kB / 0.6382 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.5757, allocations: 15.98 kB / 0.6382 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.5757, allocations: 15.98 kB / 0.6382 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.5758, allocations: 19.98 kB / 0.6382 GB, free: 4.816 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.5759, allocations: 144.1 kB / 0.6384 GB, free: 4.676 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5759, allocations: 0 / 0.6384 GB, free: 4.676 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007239/0.5767, allocations: 160 kB / 0.6385 GB, free: 4.52 MB / 478.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.001229/0.5779, allocations: 0.9597 MB / 0.6395 GB, free: 3.523 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005924/0.5785, allocations: 229.4 kB / 0.6397 GB, free: 3.301 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.5785, allocations: 4.062 kB / 0.6397 GB, free: 3.297 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.5788, allocations: 83.77 kB / 0.6398 GB, free: 3.215 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.5794, allocations: 64.69 kB / 0.6398 GB, free: 3.156 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/0.5836, allocations: 2.85 MB / 0.6426 GB, free: 8 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.584, allocations: 0.7322 MB / 0.6433 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009155/0.5849, allocations: 381 kB / 0.6437 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.5852, allocations: 95.36 kB / 0.6438 GB, free: 14.78 MB / 494.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5852, allocations: 4 kB / 0.6438 GB, free: 14.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.6161, allocations: 7.35 MB / 0.651 GB, free: 7.559 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.11, allocations: 8 kB / 0.651 GB, free: 7.551 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.csv","/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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches