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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 208.6 kB / 24.49 MB, free: 4.059 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.334/1.334, allocations: 207.6 MB / 235.3 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 55.92 kB / 347.2 MB, free: 9.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2484, allocations: 49.16 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.2106/0.459, allocations: 173.5 MB / 0.5565 GB, free: 5.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004799/0.4638, allocations: 3.263 MB / 0.5597 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.4642, allocations: 4 kB / 0.5597 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007675/0.4649, allocations: 178.9 kB / 0.5599 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.4662, allocations: 417.5 kB / 0.5603 GB, free: 1.316 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.4672, allocations: 355.2 kB / 0.5606 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.4685, allocations: 0.907 MB / 0.5615 GB, free: 60 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2299/0.6984, allocations: 71.64 kB / 0.5616 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.7004, allocations: 0.8071 MB / 0.5624 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.7008, allocations: 288.2 kB / 0.5626 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/0.7009, allocations: 31.89 kB / 0.5627 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.7012, allocations: 122.5 kB / 0.5628 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.7013, allocations: 103.8 kB / 0.5629 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.7015, allocations: 180 kB / 0.5631 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005836/0.7021, allocations: 0.5215 MB / 0.5636 GB, free: 2.316 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7021, allocations: 2.688 kB / 0.5636 GB, free: 2.316 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.7021, allocations: 0 / 0.5636 GB, free: 2.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.7021, allocations: 1.969 kB / 0.5636 GB, free: 2.316 MB / 478.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.0008399/0.703, allocations: 0.52 MB / 0.5641 GB, free: 17.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.703, allocations: 12.98 kB / 0.5641 GB, free: 17.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.276e-05/0.7031, allocations: 60.41 kB / 0.5641 GB, free: 17.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.7033, allocations: 45.22 kB / 0.5642 GB, free: 17.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.7038, allocations: 229.3 kB / 0.5644 GB, free: 17.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.7038, allocations: 22.62 kB / 0.5644 GB, free: 17.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.7038, allocations: 25.88 kB / 0.5645 GB, free: 17.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.7043, allocations: 318.8 kB / 0.5648 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.7043, allocations: 1.969 kB / 0.5648 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.7043, allocations: 13.88 kB / 0.5648 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.7043, allocations: 7.875 kB / 0.5648 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.7047, allocations: 206.5 kB / 0.565 GB, free: 17.66 MB / 494.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.001793/0.7064, allocations: 1.555 MB / 0.5665 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.7067, allocations: 170.3 kB / 0.5667 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.7069, allocations: 88.72 kB / 0.5667 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.7069, allocations: 5.703 kB / 0.5667 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.7069, allocations: 40.72 kB / 0.5668 GB, free: 16.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.7069, allocations: 0.9062 kB / 0.5668 GB, free: 16.44 MB / 494.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.005123/0.7121, allocations: 1.326 MB / 0.5681 GB, free: 16.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.7121, allocations: 55.72 kB / 0.5681 GB, free: 16.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.7124, allocations: 254.7 kB / 0.5684 GB, free: 15.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.7124, allocations: 31.92 kB / 0.5684 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.7125, allocations: 175.3 kB / 0.5686 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.7126, allocations: 105.9 kB / 0.5687 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.7127, allocations: 78.48 kB / 0.5688 GB, free: 15.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7128, allocations: 338.4 kB / 0.5691 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.713, allocations: 86.81 kB / 0.5692 GB, free: 15.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.7132, allocations: 191.9 kB / 0.5693 GB, free: 15.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.7136, allocations: 299.7 kB / 0.5696 GB, free: 15.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7136, allocations: 1.375 kB / 0.5696 GB, free: 15.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006473/0.7142, allocations: 401.8 kB / 0.57 GB, free: 15.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.7143, allocations: 12.11 kB / 0.57 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.7143, allocations: 3.906 kB / 0.57 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002186/0.7145, allocations: 77.3 kB / 0.5701 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.7148, allocations: 81.06 kB / 0.5702 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.7165, allocations: 1.851 MB / 0.572 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.7167, allocations: 9.281 kB / 0.572 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.7167, allocations: 39.31 kB / 0.572 GB, free: 13.32 MB / 494.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.0001682/0.7169, allocations: 161.6 kB / 0.5722 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.717, allocations: 31.97 kB / 0.5722 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008027/0.7178, allocations: 441.2 kB / 0.5726 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7178, allocations: 4.906 kB / 0.5726 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.7178, allocations: 1.875 kB / 0.5726 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005561/0.7183, allocations: 0.5619 MB / 0.5732 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009408/0.7193, allocations: 0.6997 MB / 0.5739 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7193, allocations: 1.906 kB / 0.5739 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.7196, allocations: 67.73 kB / 0.5739 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.545e-05/0.7196, allocations: 25.22 kB / 0.574 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.7197, allocations: 19.25 kB / 0.574 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009109/0.7206, allocations: 1.274 MB / 0.5752 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7206, allocations: 5.297 kB / 0.5752 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006923/0.7213, allocations: 489.1 kB / 0.5757 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.7213, allocations: 23.41 kB / 0.5757 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.7214, allocations: 7.219 kB / 0.5757 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.7216, allocations: 7.688 kB / 0.5757 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.7217, allocations: 31.08 kB / 0.5758 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.7217, allocations: 29.41 kB / 0.5758 GB, free: 10.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.7219, allocations: 191.2 kB / 0.576 GB, free: 10.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7219, allocations: 0 / 0.576 GB, free: 10.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005446/0.7224, allocations: 125.8 kB / 0.5761 GB, free: 10.86 MB / 494.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.001293/0.7237, allocations: 1.062 MB / 0.5771 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006963/0.7244, allocations: 365.7 kB / 0.5775 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.7244, allocations: 0.8438 kB / 0.5775 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.7247, allocations: 225.8 kB / 0.5777 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009179/0.7257, allocations: 163.5 kB / 0.5779 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.73, allocations: 3.188 MB / 0.581 GB, free: 8.258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.7304, allocations: 0.7652 MB / 0.5817 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004023/0.7309, allocations: 116.3 kB / 0.5818 GB, free: 7.547 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.7311, allocations: 128.8 kB / 0.5819 GB, free: 7.539 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.7311, allocations: 0 / 0.5819 GB, free: 7.539 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04327/0.7743, allocations: 12.22 MB / 0.5939 GB, free: 6.266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.98, allocations: 2.281 kB / 0.5939 GB, free: 6.266 MB / 494.1 MB " [Timeout remaining time 646] (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/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/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: 16.363016749033704]