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.001526/0.001531, allocations: 114 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001978/0.001978, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.09 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 79.88 kB / 417.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1217, allocations: 62.45 MB / 479.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4259/0.5476, allocations: 150.9 MB / 0.6157 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00587/0.5536, allocations: 5.125 MB / 0.6207 GB, free: 7.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.5537, allocations: 4 kB / 0.6207 GB, free: 7.566 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.5541, allocations: 39.73 kB / 0.6208 GB, free: 7.527 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.5574, allocations: 1.095 MB / 0.6218 GB, free: 6.43 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.5578, allocations: 144.6 kB / 0.622 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006593/0.5585, allocations: 390.2 kB / 0.6224 GB, free: 5.914 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.482e-05/0.5586, allocations: 13.67 kB / 0.6224 GB, free: 5.902 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.5589, allocations: 179.3 kB / 0.6225 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.5593, allocations: 179.5 kB / 0.6227 GB, free: 5.551 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.5594, allocations: 8 kB / 0.6227 GB, free: 5.543 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.5614, allocations: 1.021 MB / 0.6237 GB, free: 4.523 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.491e-05/0.5615, allocations: 47.77 kB / 0.6238 GB, free: 4.477 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.5617, allocations: 103.6 kB / 0.6239 GB, free: 4.375 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.5638, allocations: 0.8692 MB / 0.6247 GB, free: 3.504 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.5638, allocations: 0 / 0.6247 GB, free: 3.504 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5639, allocations: 4 kB / 0.6247 GB, free: 3.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.5639, allocations: 0 / 0.6247 GB, free: 3.5 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.001696/0.5656, allocations: 0.6833 MB / 0.6254 GB, free: 2.766 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5656, allocations: 8.031 kB / 0.6254 GB, free: 2.758 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.173e-05/0.5657, allocations: 62.73 kB / 0.6254 GB, free: 2.688 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008187/0.5739, allocations: 0.6058 MB / 0.626 GB, free: 2.082 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.5745, allocations: 263.5 kB / 0.6263 GB, free: 1.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.5746, allocations: 127.4 kB / 0.6264 GB, free: 1.637 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.5747, allocations: 31.94 kB / 0.6264 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.5761, allocations: 0.5556 MB / 0.627 GB, free: 1.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5761, allocations: 0 / 0.627 GB, free: 1.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.5762, allocations: 12.88 kB / 0.627 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.5762, allocations: 8 kB / 0.627 GB, free: 1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.5777, allocations: 0.6299 MB / 0.6276 GB, free: 376 kB / 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.002367/0.5801, allocations: 1.722 MB / 0.6293 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.5805, allocations: 154.5 kB / 0.6294 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.5807, allocations: 76.88 kB / 0.6295 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007439/0.5814, allocations: 0.6966 MB / 0.6302 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.5815, allocations: 34.56 kB / 0.6302 GB, free: 13.42 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.913e-06/0.5815, allocations: 7.875 kB / 0.6302 GB, free: 13.41 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.001144/0.5826, allocations: 317.9 kB / 0.6305 GB, free: 13.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.5827, allocations: 55.41 kB / 0.6306 GB, free: 13.03 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.5829, allocations: 195.7 kB / 0.6308 GB, free: 12.83 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.583, allocations: 29.7 kB / 0.6308 GB, free: 12.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.5831, allocations: 187.3 kB / 0.631 GB, free: 12.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.5832, allocations: 67.05 kB / 0.6311 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.5833, allocations: 97.95 kB / 0.6311 GB, free: 12.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5834, allocations: 322.8 kB / 0.6315 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.5836, allocations: 72.64 kB / 0.6315 GB, free: 12.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.5839, allocations: 268 kB / 0.6318 GB, free: 11.69 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.5844, allocations: 364.9 kB / 0.6321 GB, free: 11.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5844, allocations: 8 kB / 0.6321 GB, free: 11.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006645/0.5851, allocations: 365.2 kB / 0.6325 GB, free: 10.87 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.5851, allocations: 8 kB / 0.6325 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.5851, allocations: 8 kB / 0.6325 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.5851, allocations: 11.94 kB / 0.6325 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.5856, allocations: 127.8 kB / 0.6326 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003841/0.586, allocations: 0.606 MB / 0.6332 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.5863, allocations: 47.52 kB / 0.6333 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.5864, allocations: 40 kB / 0.6333 GB, free: 10 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.0001864/0.5866, allocations: 145.6 kB / 0.6334 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.157e-05/0.5867, allocations: 19.8 kB / 0.6335 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009833/0.5876, allocations: 440.1 kB / 0.6339 GB, free: 9.395 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.5877, allocations: 3.984 kB / 0.6339 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.5877, allocations: 0 / 0.6339 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5877, allocations: 0 / 0.6339 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.5887, allocations: 0.6304 MB / 0.6345 GB, free: 8.664 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5887, allocations: 4 kB / 0.6345 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.5889, allocations: 55.91 kB / 0.6346 GB, free: 8.605 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.5889, allocations: 4 kB / 0.6346 GB, free: 8.602 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.589, allocations: 11.98 kB / 0.6346 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000343/0.5893, allocations: 0.5961 MB / 0.6352 GB, free: 7.973 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.5893, allocations: 4.031 kB / 0.6352 GB, free: 7.969 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.5898, allocations: 292 kB / 0.6354 GB, free: 7.648 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.5899, allocations: 108.8 kB / 0.6355 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.59, allocations: 11.98 kB / 0.6356 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.5903, allocations: 4 kB / 0.6356 GB, free: 7.508 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.5903, allocations: 23.91 kB / 0.6356 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.5904, allocations: 16 kB / 0.6356 GB, free: 7.469 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.5905, allocations: 156 kB / 0.6357 GB, free: 7.316 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5906, allocations: 0 / 0.6357 GB, free: 7.316 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007834/0.5913, allocations: 152 kB / 0.6359 GB, free: 7.168 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.001221/0.5926, allocations: 0.9687 MB / 0.6368 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005505/0.5931, allocations: 229.3 kB / 0.6371 GB, free: 5.938 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5931, allocations: 0 / 0.6371 GB, free: 5.938 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.5934, allocations: 80.34 kB / 0.6371 GB, free: 5.859 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.5939, allocations: 65.66 kB / 0.6372 GB, free: 5.797 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.5978, allocations: 2.924 MB / 0.6401 GB, free: 2.574 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.5982, allocations: 0.7322 MB / 0.6408 GB, free: 1.816 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009036/0.5991, allocations: 389.8 kB / 0.6411 GB, free: 1.434 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.5994, allocations: 91.38 kB / 0.6412 GB, free: 1.344 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5994, allocations: 0 / 0.6412 GB, free: 1.344 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.621, allocations: 7.241 MB / 0.6483 GB, free: 10.27 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/0.6213, allocations: 272 kB / 0.6486 GB, free: 9.922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/2.763, allocations: 7.5 kB / 0.6486 GB, free: 9.918 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