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.0008606/0.0008605, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008616/0.0008616, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002793, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 63.55 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4411/0.587, allocations: 148.9 MB / 0.6172 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005566/0.5926, allocations: 5.148 MB / 0.6223 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.5927, allocations: 0 / 0.6223 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.593, allocations: 47.72 kB / 0.6223 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00275/0.5958, allocations: 1.052 MB / 0.6233 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.5961, allocations: 138 kB / 0.6235 GB, free: 9.352 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005429/0.5966, allocations: 466 kB / 0.6239 GB, free: 8.895 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.5967, allocations: 9.688 kB / 0.6239 GB, free: 8.887 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.597, allocations: 175.3 kB / 0.6241 GB, free: 8.715 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.5972, allocations: 179.4 kB / 0.6243 GB, free: 8.539 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.5973, allocations: 4 kB / 0.6243 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.599, allocations: 0.9908 MB / 0.6252 GB, free: 7.543 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.5991, allocations: 55.75 kB / 0.6253 GB, free: 7.488 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.5992, allocations: 129.3 kB / 0.6254 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.6004, allocations: 0.8575 MB / 0.6262 GB, free: 6.496 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6005, allocations: 4 kB / 0.6263 GB, free: 6.492 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.6005, allocations: 0 / 0.6263 GB, free: 6.492 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.6005, allocations: 0 / 0.6263 GB, free: 6.492 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.00108/0.6016, allocations: 0.6131 MB / 0.6269 GB, free: 5.828 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.6016, allocations: 16.88 kB / 0.6269 GB, free: 5.812 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.497e-05/0.6017, allocations: 58.72 kB / 0.6269 GB, free: 5.746 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007891/0.6096, allocations: 0.6063 MB / 0.6275 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.6099, allocations: 263.6 kB / 0.6278 GB, free: 4.844 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.6101, allocations: 119.4 kB / 0.6279 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.6102, allocations: 24 kB / 0.6279 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.6113, allocations: 0.5711 MB / 0.6285 GB, free: 4.078 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.6113, allocations: 3.984 kB / 0.6285 GB, free: 4.074 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.059e-05/0.6114, allocations: 12 kB / 0.6285 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.6114, allocations: 8 kB / 0.6285 GB, free: 4.055 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.6129, allocations: 0.6338 MB / 0.6291 GB, free: 3.418 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.00197/0.6148, allocations: 1.714 MB / 0.6308 GB, free: 1.555 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.6152, allocations: 162.2 kB / 0.6309 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.6153, allocations: 72.83 kB / 0.631 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/0.6159, allocations: 0.6888 MB / 0.6317 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.616, allocations: 50.48 kB / 0.6317 GB, free: 480 kB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.765e-06/0.616, allocations: 4 kB / 0.6317 GB, free: 476 kB / 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.0009701/0.617, allocations: 311.7 kB / 0.632 GB, free: 160 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.617, allocations: 55.41 kB / 0.6321 GB, free: 92 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.6172, allocations: 195 kB / 0.6323 GB, free: 15.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.6173, allocations: 33.7 kB / 0.6323 GB, free: 15.85 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6174, allocations: 187.2 kB / 0.6325 GB, free: 15.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.6174, allocations: 63.09 kB / 0.6325 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.6175, allocations: 37.64 kB / 0.6326 GB, free: 15.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.6176, allocations: 326.8 kB / 0.6329 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.6177, allocations: 64.7 kB / 0.6329 GB, free: 15.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.618, allocations: 268 kB / 0.6332 GB, free: 14.81 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.6184, allocations: 370.8 kB / 0.6336 GB, free: 14.35 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6185, allocations: 4 kB / 0.6336 GB, free: 14.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005767/0.619, allocations: 363.6 kB / 0.6339 GB, free: 13.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6191, allocations: 8.906 kB / 0.6339 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.6191, allocations: 8 kB / 0.6339 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.6191, allocations: 11.94 kB / 0.6339 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.6195, allocations: 135.8 kB / 0.6341 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003215/0.6198, allocations: 0.6016 MB / 0.6346 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.6201, allocations: 43.53 kB / 0.6347 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.6202, allocations: 40 kB / 0.6347 GB, free: 13.12 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.0001526/0.6203, allocations: 153.7 kB / 0.6349 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.6204, allocations: 15.81 kB / 0.6349 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00089/0.6213, allocations: 438 kB / 0.6353 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6213, allocations: 3.984 kB / 0.6353 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6213, allocations: 0 / 0.6353 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6213, allocations: 4 kB / 0.6353 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008237/0.6221, allocations: 0.6275 MB / 0.6359 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6222, allocations: 0 / 0.6359 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.6224, allocations: 55.91 kB / 0.636 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.6224, allocations: 4 kB / 0.636 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.6224, allocations: 12.2 kB / 0.636 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003082/0.6227, allocations: 0.5956 MB / 0.6366 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6227, allocations: 4.031 kB / 0.6366 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.6231, allocations: 301.2 kB / 0.6369 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.6232, allocations: 112.8 kB / 0.637 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.6233, allocations: 4 kB / 0.637 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.6235, allocations: 15.98 kB / 0.637 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.6236, allocations: 23.91 kB / 0.637 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.6236, allocations: 19.98 kB / 0.637 GB, free: 10.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.6237, allocations: 144.1 kB / 0.6372 GB, free: 10.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6237, allocations: 3.938 kB / 0.6372 GB, free: 10.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005988/0.6243, allocations: 147.9 kB / 0.6373 GB, free: 10.28 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.0009498/0.6253, allocations: 0.9584 MB / 0.6383 GB, free: 9.277 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.6257, allocations: 225.3 kB / 0.6385 GB, free: 9.059 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6258, allocations: 4.062 kB / 0.6385 GB, free: 9.055 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.6259, allocations: 75.89 kB / 0.6385 GB, free: 8.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.6265, allocations: 72.02 kB / 0.6386 GB, free: 8.914 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.6297, allocations: 2.976 MB / 0.6415 GB, free: 5.645 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.63, allocations: 0.7206 MB / 0.6422 GB, free: 4.898 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008172/0.6308, allocations: 393.2 kB / 0.6426 GB, free: 4.508 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.631, allocations: 95.36 kB / 0.6427 GB, free: 4.414 MB / 478.1 MB Notification: Performance of SimCode: time 2.8e-07/0.631, allocations: 0 / 0.6427 GB, free: 4.414 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.6495, allocations: 7.01 MB / 0.6495 GB, free: 13.59 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/0.6498, allocations: 264.7 kB / 0.6498 GB, free: 13.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.69, allocations: 0 / 0.6498 GB, free: 13.23 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