Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 109.3 kB / 18.44 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 193.2 kB / 21.39 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 207.6 MB / 231.8 MB, free: 4.098 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 51.92 kB / 342.3 MB, free: 10.12 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08424/0.08585, allocations: 49.12 MB / 391.4 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.388/0.4738, allocations: 173.3 MB / 0.5515 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004123/0.478, allocations: 3.245 MB / 0.5546 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.4782, allocations: 7.938 kB / 0.5547 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.4788, allocations: 175 kB / 0.5548 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009356/0.4797, allocations: 417.5 kB / 0.5552 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009011/0.4806, allocations: 345.2 kB / 0.5556 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.4816, allocations: 0.8954 MB / 0.5564 GB, free: 248 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.4818, allocations: 72.69 kB / 0.5565 GB, free: 180 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.4836, allocations: 0.804 MB / 0.5573 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.484, allocations: 290.9 kB / 0.5576 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/0.484, allocations: 32 kB / 0.5576 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.4843, allocations: 127.8 kB / 0.5577 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.4844, allocations: 91.73 kB / 0.5578 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.4846, allocations: 187.3 kB / 0.558 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.4853, allocations: 0.5216 MB / 0.5585 GB, free: 14.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4853, allocations: 0 / 0.5585 GB, free: 14.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4853, allocations: 0 / 0.5585 GB, free: 14.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.4853, allocations: 0 / 0.5585 GB, free: 14.13 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009483/0.4862, allocations: 0.5999 MB / 0.5591 GB, free: 13.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4863, allocations: 8.031 kB / 0.5591 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.099e-05/0.4863, allocations: 66.53 kB / 0.5591 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.4866, allocations: 39.81 kB / 0.5592 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.4871, allocations: 294.5 kB / 0.5595 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.4871, allocations: 16.56 kB / 0.5595 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.4872, allocations: 24 kB / 0.5595 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.4877, allocations: 323.6 kB / 0.5598 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.4877, allocations: 3.938 kB / 0.5598 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.4877, allocations: 12 kB / 0.5598 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.4877, allocations: 15.31 kB / 0.5598 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.488, allocations: 201.6 kB / 0.56 GB, free: 12.43 MB / 446.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.001876/0.4899, allocations: 1.589 MB / 0.5616 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.4902, allocations: 163.7 kB / 0.5617 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.4904, allocations: 92.75 kB / 0.5618 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.4904, allocations: 11.98 kB / 0.5618 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4904, allocations: 34.56 kB / 0.5619 GB, free: 10.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.4904, allocations: 0 / 0.5619 GB, free: 10.37 MB / 446.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005396/0.4958, allocations: 1.625 MB / 0.5635 GB, free: 8.617 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.4959, allocations: 59.41 kB / 0.5635 GB, free: 8.547 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.4962, allocations: 249 kB / 0.5638 GB, free: 8.297 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.4962, allocations: 33.7 kB / 0.5638 GB, free: 8.258 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.4963, allocations: 180.5 kB / 0.564 GB, free: 8.078 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.171e-05/0.4964, allocations: 99.17 kB / 0.5641 GB, free: 7.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.4965, allocations: 81.64 kB / 0.5641 GB, free: 7.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4967, allocations: 338.8 kB / 0.5645 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.4969, allocations: 95.89 kB / 0.5645 GB, free: 7.461 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.4972, allocations: 187.8 kB / 0.5647 GB, free: 7.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.4976, allocations: 304.3 kB / 0.565 GB, free: 6.895 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4976, allocations: 4 kB / 0.565 GB, free: 6.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006599/0.4982, allocations: 402.8 kB / 0.5654 GB, free: 6.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4983, allocations: 8 kB / 0.5654 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4983, allocations: 0 / 0.5654 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.4985, allocations: 77.61 kB / 0.5655 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.4988, allocations: 80.31 kB / 0.5656 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.5004, allocations: 1.955 MB / 0.5675 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.5006, allocations: 8 kB / 0.5675 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.5007, allocations: 40 kB / 0.5675 GB, free: 4.148 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001831/0.5009, allocations: 161.6 kB / 0.5677 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.5009, allocations: 31.81 kB / 0.5677 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008303/0.5018, allocations: 433.9 kB / 0.5681 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5018, allocations: 4 kB / 0.5681 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.5018, allocations: 0 / 0.5681 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005781/0.5023, allocations: 0.5591 MB / 0.5687 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.5034, allocations: 0.7353 MB / 0.5694 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5034, allocations: 7.984 kB / 0.5694 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.5037, allocations: 63.91 kB / 0.5694 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.265e-05/0.5038, allocations: 24.78 kB / 0.5695 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.5038, allocations: 15.98 kB / 0.5695 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.5049, allocations: 1.386 MB / 0.5708 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5049, allocations: 4.031 kB / 0.5708 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.5056, allocations: 483.2 kB / 0.5713 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.5057, allocations: 100.9 kB / 0.5714 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.5057, allocations: 8 kB / 0.5714 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.506, allocations: 16.11 kB / 0.5714 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.506, allocations: 23.97 kB / 0.5714 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.5061, allocations: 27.98 kB / 0.5715 GB, free: 15.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.5063, allocations: 190 kB / 0.5717 GB, free: 15.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5063, allocations: 0 / 0.5717 GB, free: 15.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004943/0.5067, allocations: 127.8 kB / 0.5718 GB, free: 15.41 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/0.508, allocations: 1.054 MB / 0.5728 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006967/0.5087, allocations: 358.4 kB / 0.5731 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5087, allocations: 0 / 0.5731 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.509, allocations: 227.4 kB / 0.5734 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/0.5099, allocations: 176.1 kB / 0.5735 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.5142, allocations: 3.179 MB / 0.5766 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.5147, allocations: 0.7644 MB / 0.5774 GB, free: 9.398 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004214/0.5151, allocations: 118.9 kB / 0.5775 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.5153, allocations: 127.4 kB / 0.5776 GB, free: 9.16 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5153, allocations: 4 kB / 0.5776 GB, free: 9.156 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/0.557, allocations: 11.97 MB / 0.5893 GB, free: 13.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.4, allocations: 7.938 kB / 0.5893 GB, free: 13.11 MB / 478.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.69814624870196]