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.00121/0.00121, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2606/0.2606, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 77.59 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1326, allocations: 62.45 MB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4221/0.5548, allocations: 150.8 MB / 0.6154 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006724/0.5616, allocations: 5.227 MB / 0.6205 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.5618, allocations: 4 kB / 0.6205 GB, free: 7.691 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.5622, allocations: 47.73 kB / 0.6205 GB, free: 7.645 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.5654, allocations: 1.044 MB / 0.6216 GB, free: 6.602 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.5658, allocations: 142.5 kB / 0.6217 GB, free: 6.469 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006997/0.5665, allocations: 470 kB / 0.6221 GB, free: 6.008 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.758e-05/0.5665, allocations: 13.69 kB / 0.6222 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/0.5669, allocations: 167.3 kB / 0.6223 GB, free: 5.832 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.5673, allocations: 179.5 kB / 0.6225 GB, free: 5.656 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.5674, allocations: 4 kB / 0.6225 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.5695, allocations: 0.9947 MB / 0.6235 GB, free: 4.656 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.5696, allocations: 47.77 kB / 0.6235 GB, free: 4.609 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.5697, allocations: 107.5 kB / 0.6236 GB, free: 4.504 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.5717, allocations: 0.8615 MB / 0.6245 GB, free: 3.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5717, allocations: 0 / 0.6245 GB, free: 3.641 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5717, allocations: 0 / 0.6245 GB, free: 3.641 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.5717, allocations: 4 kB / 0.6245 GB, free: 3.637 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.001507/0.5732, allocations: 0.6795 MB / 0.6251 GB, free: 2.906 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5733, allocations: 8.875 kB / 0.6251 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.866e-05/0.5734, allocations: 62.72 kB / 0.6252 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008069/0.5814, allocations: 0.6024 MB / 0.6258 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.582, allocations: 275.4 kB / 0.626 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.5821, allocations: 123.4 kB / 0.6262 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.5823, allocations: 16 kB / 0.6262 GB, free: 1.758 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.5836, allocations: 0.5673 MB / 0.6267 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5837, allocations: 0 / 0.6267 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/0.5838, allocations: 19.94 kB / 0.6267 GB, free: 1.141 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.5838, allocations: 4.875 kB / 0.6267 GB, free: 1.137 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.5853, allocations: 0.6299 MB / 0.6274 GB, free: 0.5039 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.00253/0.5879, allocations: 1.726 MB / 0.629 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.5883, allocations: 157.9 kB / 0.6292 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.5884, allocations: 76.83 kB / 0.6293 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007498/0.5892, allocations: 0.6966 MB / 0.63 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.5892, allocations: 38.56 kB / 0.63 GB, free: 13.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.565e-06/0.5893, allocations: 0 / 0.63 GB, free: 13.55 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.001167/0.5904, allocations: 319.1 kB / 0.6303 GB, free: 13.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.5905, allocations: 55.41 kB / 0.6303 GB, free: 13.17 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.5907, allocations: 198.9 kB / 0.6305 GB, free: 12.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.5908, allocations: 25.7 kB / 0.6306 GB, free: 12.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.5909, allocations: 191.2 kB / 0.6307 GB, free: 12.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/0.591, allocations: 63.09 kB / 0.6308 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.5911, allocations: 97.95 kB / 0.6309 GB, free: 12.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5913, allocations: 322.8 kB / 0.6312 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.5914, allocations: 76.64 kB / 0.6313 GB, free: 12.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.5917, allocations: 262.1 kB / 0.6315 GB, free: 11.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.5923, allocations: 366.8 kB / 0.6319 GB, free: 11.38 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.5923, allocations: 0 / 0.6319 GB, free: 11.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007199/0.593, allocations: 380.7 kB / 0.6322 GB, free: 11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.593, allocations: 8 kB / 0.6322 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.5931, allocations: 8 kB / 0.6323 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.5931, allocations: 11.94 kB / 0.6323 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.5935, allocations: 123.9 kB / 0.6324 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004389/0.594, allocations: 0.6055 MB / 0.633 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.5943, allocations: 39.66 kB / 0.633 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.5944, allocations: 51.98 kB / 0.6331 GB, free: 10.13 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.0001687/0.5945, allocations: 145.6 kB / 0.6332 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.5946, allocations: 15.81 kB / 0.6332 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009839/0.5956, allocations: 435.8 kB / 0.6336 GB, free: 9.539 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.5956, allocations: 4 kB / 0.6336 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5956, allocations: 4 kB / 0.6336 GB, free: 9.531 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5956, allocations: 3.984 kB / 0.6336 GB, free: 9.527 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009172/0.5966, allocations: 0.6266 MB / 0.6343 GB, free: 8.805 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.5966, allocations: 4.219 kB / 0.6343 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.5968, allocations: 63.91 kB / 0.6343 GB, free: 8.738 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.5969, allocations: 0 / 0.6343 GB, free: 8.738 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.5969, allocations: 12 kB / 0.6343 GB, free: 8.727 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000366/0.5973, allocations: 0.5938 MB / 0.6349 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.5973, allocations: 3.938 kB / 0.6349 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.5977, allocations: 289.3 kB / 0.6352 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.5978, allocations: 112.8 kB / 0.6353 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.5979, allocations: 15.98 kB / 0.6353 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.5982, allocations: 8 kB / 0.6353 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.5983, allocations: 15.98 kB / 0.6353 GB, free: 7.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.5983, allocations: 19.98 kB / 0.6354 GB, free: 7.598 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.5985, allocations: 144.1 kB / 0.6355 GB, free: 7.457 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5985, allocations: 0 / 0.6355 GB, free: 7.457 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007301/0.5992, allocations: 151.8 kB / 0.6356 GB, free: 7.309 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.001294/0.6005, allocations: 0.9685 MB / 0.6366 GB, free: 6.301 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000568/0.6011, allocations: 220.6 kB / 0.6368 GB, free: 6.086 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6011, allocations: 0 / 0.6368 GB, free: 6.086 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.6013, allocations: 83.91 kB / 0.6369 GB, free: 6.004 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.6019, allocations: 73.02 kB / 0.6369 GB, free: 5.934 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.6058, allocations: 2.918 MB / 0.6398 GB, free: 2.715 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.6062, allocations: 0.7245 MB / 0.6405 GB, free: 1.965 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008749/0.6071, allocations: 385.9 kB / 0.6409 GB, free: 1.586 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.6073, allocations: 95.38 kB / 0.641 GB, free: 1.492 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6073, allocations: 0 / 0.641 GB, free: 1.492 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.6298, allocations: 7.116 MB / 0.6479 GB, free: 10.52 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004319/0.6303, allocations: 276.7 kB / 0.6482 GB, free: 10.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.657, allocations: 0 / 0.6482 GB, free: 10.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches