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.00105/0.00105, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 79.09 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1204, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3615/0.482, allocations: 153 MB / 0.6183 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006333/0.4884, allocations: 5.159 MB / 0.6233 GB, free: 5.055 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.4885, allocations: 0 / 0.6233 GB, free: 5.055 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.4889, allocations: 51.61 kB / 0.6234 GB, free: 5.004 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.4923, allocations: 1.199 MB / 0.6245 GB, free: 3.805 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.4927, allocations: 144.6 kB / 0.6247 GB, free: 3.672 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005761/0.4933, allocations: 398.1 kB / 0.6251 GB, free: 3.281 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.4934, allocations: 13.69 kB / 0.6251 GB, free: 3.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.4937, allocations: 171.3 kB / 0.6252 GB, free: 3.102 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.494, allocations: 171.5 kB / 0.6254 GB, free: 2.934 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.494, allocations: 12 kB / 0.6254 GB, free: 2.922 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.4959, allocations: 0.9754 MB / 0.6264 GB, free: 1.945 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.496, allocations: 51.75 kB / 0.6264 GB, free: 1.895 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.4961, allocations: 103.5 kB / 0.6265 GB, free: 1.793 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.4975, allocations: 0.8498 MB / 0.6273 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4976, allocations: 0 / 0.6273 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4976, allocations: 0 / 0.6273 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.4976, allocations: 0 / 0.6273 GB, free: 0.9414 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.00134/0.4989, allocations: 0.6794 MB / 0.628 GB, free: 216 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.499, allocations: 8.031 kB / 0.628 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.233e-05/0.4991, allocations: 66.72 kB / 0.6281 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007995/0.5071, allocations: 0.6019 MB / 0.6287 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.5074, allocations: 267.5 kB / 0.6289 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.5076, allocations: 123.4 kB / 0.629 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.524e-05/0.5077, allocations: 20 kB / 0.6291 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.5088, allocations: 0.5698 MB / 0.6296 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.5088, allocations: 3.938 kB / 0.6296 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/0.5089, allocations: 12 kB / 0.6296 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5089, allocations: 12 kB / 0.6296 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.5103, allocations: 0.6299 MB / 0.6303 GB, free: 13.8 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.002007/0.5123, allocations: 1.718 MB / 0.6319 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.5127, allocations: 154.5 kB / 0.6321 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.5128, allocations: 75.23 kB / 0.6321 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006382/0.5135, allocations: 0.7004 MB / 0.6328 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.5135, allocations: 38.56 kB / 0.6329 GB, free: 10.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.5135, allocations: 0 / 0.6329 GB, free: 10.85 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.0009763/0.5145, allocations: 327.2 kB / 0.6332 GB, free: 10.53 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.5146, allocations: 55.41 kB / 0.6332 GB, free: 10.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.5147, allocations: 199.7 kB / 0.6334 GB, free: 10.26 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.5148, allocations: 25.7 kB / 0.6334 GB, free: 10.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/0.5149, allocations: 183.2 kB / 0.6336 GB, free: 10.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.5149, allocations: 67.08 kB / 0.6337 GB, free: 9.977 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.5151, allocations: 102 kB / 0.6338 GB, free: 9.871 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5152, allocations: 322.8 kB / 0.6341 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.5154, allocations: 68.7 kB / 0.6342 GB, free: 9.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.5156, allocations: 260.1 kB / 0.6344 GB, free: 9.133 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.5161, allocations: 370.1 kB / 0.6348 GB, free: 8.676 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.5161, allocations: 4 kB / 0.6348 GB, free: 8.672 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006353/0.5167, allocations: 370.5 kB / 0.6351 GB, free: 8.305 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5167, allocations: 12 kB / 0.6351 GB, free: 8.293 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.5168, allocations: 8 kB / 0.6351 GB, free: 8.285 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.5168, allocations: 11.94 kB / 0.6351 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.5172, allocations: 119.9 kB / 0.6353 GB, free: 8.156 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003424/0.5175, allocations: 0.6094 MB / 0.6359 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.5178, allocations: 43.53 kB / 0.6359 GB, free: 7.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.5178, allocations: 44.08 kB / 0.6359 GB, free: 7.438 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.0001421/0.518, allocations: 149.6 kB / 0.6361 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.5181, allocations: 15.81 kB / 0.6361 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009018/0.519, allocations: 436.9 kB / 0.6365 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.519, allocations: 0 / 0.6365 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.519, allocations: 0 / 0.6365 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.519, allocations: 3.984 kB / 0.6365 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000832/0.5198, allocations: 0.6265 MB / 0.6371 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.5199, allocations: 4 kB / 0.6371 GB, free: 6.105 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.5201, allocations: 60.12 kB / 0.6372 GB, free: 6.047 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.5201, allocations: 11.94 kB / 0.6372 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.5201, allocations: 8 kB / 0.6372 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003153/0.5204, allocations: 0.5938 MB / 0.6378 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5204, allocations: 7.969 kB / 0.6378 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.5208, allocations: 288.8 kB / 0.6381 GB, free: 5.086 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.5209, allocations: 112.8 kB / 0.6382 GB, free: 4.957 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.521, allocations: 8.875 kB / 0.6382 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.5212, allocations: 11.98 kB / 0.6382 GB, free: 4.938 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.5213, allocations: 15.98 kB / 0.6382 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.5213, allocations: 19.98 kB / 0.6382 GB, free: 4.902 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.5214, allocations: 144.1 kB / 0.6384 GB, free: 4.762 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5214, allocations: 4 kB / 0.6384 GB, free: 4.758 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005753/0.522, allocations: 152 kB / 0.6385 GB, free: 4.609 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.001067/0.5231, allocations: 0.9663 MB / 0.6395 GB, free: 3.605 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004909/0.5236, allocations: 232.5 kB / 0.6397 GB, free: 3.383 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5236, allocations: 4 kB / 0.6397 GB, free: 3.379 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.5238, allocations: 79.83 kB / 0.6398 GB, free: 3.301 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.5243, allocations: 71.05 kB / 0.6398 GB, free: 3.234 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.5278, allocations: 2.858 MB / 0.6426 GB, free: 80 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.5281, allocations: 0.7205 MB / 0.6433 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008352/0.5289, allocations: 397 kB / 0.6437 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.5292, allocations: 95.36 kB / 0.6438 GB, free: 14.84 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5292, allocations: 0 / 0.6438 GB, free: 14.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.5583, allocations: 7.328 MB / 0.651 GB, free: 7.633 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.31, allocations: 3.984 kB / 0.651 GB, free: 7.629 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