Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.001289/0.001289, allocations: 108.5 kB / 21.18 MB, free: 0.7188 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.001424/0.001424, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.314/1.314, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.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.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.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",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.001758/0.001758, allocations: 59.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2364, allocations: 49.15 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.1707/0.4071, allocations: 151.3 MB / 0.5348 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.4092, allocations: 1.503 MB / 0.5363 GB, free: 9.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.4093, allocations: 4 kB / 0.5363 GB, free: 9.926 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.4096, allocations: 51.73 kB / 0.5364 GB, free: 9.875 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009025/0.4105, allocations: 402.1 kB / 0.5368 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.411, allocations: 167.4 kB / 0.5369 GB, free: 9.316 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.4112, allocations: 195.2 kB / 0.5371 GB, free: 9.125 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.4113, allocations: 7.797 kB / 0.5371 GB, free: 9.121 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.4114, allocations: 79.69 kB / 0.5372 GB, free: 9.043 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.4116, allocations: 63.75 kB / 0.5372 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.4116, allocations: 12 kB / 0.5373 GB, free: 8.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.4127, allocations: 0.5963 MB / 0.5378 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.4127, allocations: 35.89 kB / 0.5379 GB, free: 8.336 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.4128, allocations: 43.8 kB / 0.5379 GB, free: 8.293 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.4134, allocations: 396 kB / 0.5383 GB, free: 7.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4134, allocations: 0 / 0.5383 GB, free: 7.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4134, allocations: 4 kB / 0.5383 GB, free: 7.906 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.4134, allocations: 3.938 kB / 0.5383 GB, free: 7.902 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000538/0.4139, allocations: 357.8 kB / 0.5386 GB, free: 7.523 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.414, allocations: 11.98 kB / 0.5387 GB, free: 7.512 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.414, allocations: 46.67 kB / 0.5387 GB, free: 7.457 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.4161, allocations: 192.6 kB / 0.5389 GB, free: 7.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.4163, allocations: 142.5 kB / 0.539 GB, free: 7.105 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.4163, allocations: 11.94 kB / 0.539 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.4164, allocations: 15.94 kB / 0.539 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.4169, allocations: 201.5 kB / 0.5392 GB, free: 6.875 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4169, allocations: 3.938 kB / 0.5392 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.4169, allocations: 4 kB / 0.5392 GB, free: 6.867 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4169, allocations: 4 kB / 0.5392 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.4175, allocations: 239.8 kB / 0.5395 GB, free: 6.629 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.001702/0.4192, allocations: 0.6098 MB / 0.5401 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.4196, allocations: 190.4 kB / 0.5403 GB, free: 5.777 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.4198, allocations: 96.75 kB / 0.5403 GB, free: 5.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.42, allocations: 19.98 kB / 0.5404 GB, free: 5.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.42, allocations: 30.56 kB / 0.5404 GB, free: 5.621 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.173e-06/0.42, allocations: 0 / 0.5404 GB, free: 5.621 MB / 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=19): time 0.00554/0.4256, allocations: 1.389 MB / 0.5417 GB, free: 4.152 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.4256, allocations: 51.41 kB / 0.5418 GB, free: 4.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.4257, allocations: 121.8 kB / 0.5419 GB, free: 3.961 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.4257, allocations: 25.7 kB / 0.5419 GB, free: 3.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.4258, allocations: 104.3 kB / 0.542 GB, free: 3.824 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/0.4259, allocations: 79.41 kB / 0.5421 GB, free: 3.746 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.315e-05/0.426, allocations: 41.7 kB / 0.5422 GB, free: 3.699 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4261, allocations: 318.8 kB / 0.5425 GB, free: 3.379 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.4263, allocations: 87.95 kB / 0.5425 GB, free: 3.293 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.4266, allocations: 131.2 kB / 0.5427 GB, free: 3.152 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.4271, allocations: 223.3 kB / 0.5429 GB, free: 2.922 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4271, allocations: 0 / 0.5429 GB, free: 2.922 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006325/0.4277, allocations: 290.2 kB / 0.5432 GB, free: 2.629 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4277, allocations: 8 kB / 0.5432 GB, free: 2.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4277, allocations: 0 / 0.5432 GB, free: 2.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001397/0.4279, allocations: 24.84 kB / 0.5432 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.4283, allocations: 59.89 kB / 0.5432 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004044/0.4287, allocations: 0.533 MB / 0.5438 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.429, allocations: 8 kB / 0.5438 GB, free: 1.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.429, allocations: 15.92 kB / 0.5438 GB, free: 1.953 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.4292, allocations: 125.8 kB / 0.5439 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.4292, allocations: 7.953 kB / 0.5439 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007449/0.43, allocations: 315.1 kB / 0.5442 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.43, allocations: 3.938 kB / 0.5442 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.43, allocations: 4 kB / 0.5442 GB, free: 1.488 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.43, allocations: 4 kB / 0.5442 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.4311, allocations: 0.6474 MB / 0.5449 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.4312, allocations: 7.969 kB / 0.5449 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.4316, allocations: 47.97 kB / 0.5449 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.927e-05/0.4317, allocations: 24.88 kB / 0.5449 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.4317, allocations: 15.98 kB / 0.5449 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.4327, allocations: 1.256 MB / 0.5462 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4327, allocations: 0 / 0.5462 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008683/0.4336, allocations: 463 kB / 0.5466 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.4336, allocations: 7.984 kB / 0.5466 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.4337, allocations: 8 kB / 0.5466 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.434, allocations: 7.984 kB / 0.5466 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.434, allocations: 19.97 kB / 0.5467 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.434, allocations: 7.984 kB / 0.5467 GB, free: 14.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.88e-05/0.4341, allocations: 95.28 kB / 0.5468 GB, free: 14.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4341, allocations: 0 / 0.5468 GB, free: 14.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005164/0.4346, allocations: 131.7 kB / 0.5469 GB, free: 14.55 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * 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.001719/0.4363, allocations: 1.133 MB / 0.548 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006291/0.437, allocations: 227.9 kB / 0.5482 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.437, allocations: 0 / 0.5482 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.4374, allocations: 234.8 kB / 0.5484 GB, free: 12.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.4378, allocations: 52.42 kB / 0.5485 GB, free: 12.87 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.441, allocations: 2.141 MB / 0.5506 GB, free: 10.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.4413, allocations: 0.7047 MB / 0.5513 GB, free: 9.867 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.4416, allocations: 57.39 kB / 0.5513 GB, free: 9.812 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.4418, allocations: 39.42 kB / 0.5514 GB, free: 9.773 MB / 478.1 MB Notification: Performance of SimCode: time 6.22e-07/0.4418, allocations: 0 / 0.5514 GB, free: 9.773 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04067/0.4824, allocations: 8.208 MB / 0.5594 GB, free: 1.504 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.62, allocations: 4.312 kB / 0.5594 GB, free: 1.5 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.196579094998015]