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.001322/0.001322, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001461/0.001461, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.363/1.363, allocations: 207.7 MB / 235.3 MB, free: 9.809 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.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.001819/0.001819, allocations: 54.73 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2296, allocations: 49.15 MB / 396.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.1651/0.3947, allocations: 129.8 MB / 0.5138 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.3967, allocations: 1.347 MB / 0.5151 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.3967, allocations: 0 / 0.5151 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.3971, allocations: 47.73 kB / 0.5151 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.3981, allocations: 393.9 kB / 0.5155 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.3986, allocations: 171.5 kB / 0.5157 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.3988, allocations: 183.2 kB / 0.5158 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.3989, allocations: 8 kB / 0.5158 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.399, allocations: 79.75 kB / 0.5159 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.3992, allocations: 59.69 kB / 0.516 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.3992, allocations: 11.98 kB / 0.516 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009652/0.4002, allocations: 0.5144 MB / 0.5165 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.4002, allocations: 27.97 kB / 0.5165 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.4003, allocations: 51.72 kB / 0.5166 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005695/0.4008, allocations: 380.8 kB / 0.5169 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4009, allocations: 4 kB / 0.5169 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4009, allocations: 0 / 0.5169 GB, free: 13.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.4009, allocations: 11.94 kB / 0.5169 GB, free: 13.65 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000533/0.4014, allocations: 357.8 kB / 0.5173 GB, free: 13.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4014, allocations: 11.98 kB / 0.5173 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.4015, allocations: 42.75 kB / 0.5173 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.4036, allocations: 188.6 kB / 0.5175 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.4039, allocations: 154.4 kB / 0.5177 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.4039, allocations: 7.938 kB / 0.5177 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.4039, allocations: 12 kB / 0.5177 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.4044, allocations: 282.5 kB / 0.518 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4045, allocations: 3.984 kB / 0.518 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.4045, allocations: 4 kB / 0.518 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.4045, allocations: 4 kB / 0.518 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/0.4051, allocations: 243.8 kB / 0.5182 GB, free: 12.28 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.001709/0.4068, allocations: 0.5669 MB / 0.5188 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.4072, allocations: 186.4 kB / 0.5189 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.4074, allocations: 88.81 kB / 0.519 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.4076, allocations: 19.98 kB / 0.519 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4076, allocations: 30.56 kB / 0.5191 GB, free: 11.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.4076, allocations: 0 / 0.5191 GB, free: 11.32 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005567/0.4132, allocations: 1.396 MB / 0.5204 GB, free: 9.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.4132, allocations: 55.41 kB / 0.5205 GB, free: 9.781 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.895e-05/0.4133, allocations: 109.8 kB / 0.5206 GB, free: 9.664 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.4133, allocations: 29.7 kB / 0.5206 GB, free: 9.629 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.4134, allocations: 104.3 kB / 0.5207 GB, free: 9.523 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.4135, allocations: 67.42 kB / 0.5208 GB, free: 9.457 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.4136, allocations: 41.7 kB / 0.5208 GB, free: 9.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4137, allocations: 322.8 kB / 0.5211 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.414, allocations: 91.89 kB / 0.5212 GB, free: 8.996 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.4142, allocations: 123.2 kB / 0.5213 GB, free: 8.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.4147, allocations: 239.2 kB / 0.5216 GB, free: 8.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.4147, allocations: 0 / 0.5216 GB, free: 8.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000618/0.4153, allocations: 282.3 kB / 0.5218 GB, free: 8.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4153, allocations: 4 kB / 0.5218 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4153, allocations: 8.094 kB / 0.5218 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001173/0.4155, allocations: 16.84 kB / 0.5219 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/0.4159, allocations: 67.89 kB / 0.5219 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004028/0.4163, allocations: 0.529 MB / 0.5224 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.4166, allocations: 7.984 kB / 0.5224 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.4166, allocations: 11.94 kB / 0.5225 GB, free: 7.66 MB / 446.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.0001358/0.4168, allocations: 133.9 kB / 0.5226 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.4168, allocations: 7.953 kB / 0.5226 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007334/0.4176, allocations: 319 kB / 0.5229 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4176, allocations: 11.94 kB / 0.5229 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4176, allocations: 0 / 0.5229 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4176, allocations: 0 / 0.5229 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.4187, allocations: 0.6124 MB / 0.5235 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4187, allocations: 0 / 0.5235 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.4191, allocations: 51.95 kB / 0.5236 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.746e-05/0.4192, allocations: 24.88 kB / 0.5236 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.4192, allocations: 15.92 kB / 0.5236 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000967/0.4202, allocations: 1.252 MB / 0.5248 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4202, allocations: 3.938 kB / 0.5248 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008727/0.421, allocations: 463.3 kB / 0.5253 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.4211, allocations: 7.953 kB / 0.5253 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.4211, allocations: 7.984 kB / 0.5253 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.4214, allocations: 11.98 kB / 0.5253 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.4215, allocations: 19.91 kB / 0.5253 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.4215, allocations: 11.98 kB / 0.5253 GB, free: 4.504 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.749e-05/0.4215, allocations: 87.28 kB / 0.5254 GB, free: 4.418 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4215, allocations: 0 / 0.5254 GB, free: 4.418 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005115/0.4221, allocations: 131.7 kB / 0.5255 GB, free: 4.289 MB / 446.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.4238, allocations: 1.141 MB / 0.5266 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006401/0.4244, allocations: 227.6 kB / 0.5269 GB, free: 2.887 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4244, allocations: 3.938 kB / 0.5269 GB, free: 2.883 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.4248, allocations: 231 kB / 0.5271 GB, free: 2.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.4253, allocations: 49.69 kB / 0.5271 GB, free: 2.598 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.4287, allocations: 2.137 MB / 0.5292 GB, free: 340 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.825e-05/0.4288, allocations: 89.97 kB / 0.5293 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003332/0.4291, allocations: 61.38 kB / 0.5294 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.4293, allocations: 39.42 kB / 0.5294 GB, free: 132 kB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4293, allocations: 0 / 0.5294 GB, free: 132 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/0.4708, allocations: 8.711 MB / 0.5379 GB, free: 7.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/13.92, allocations: 256 / 0.5379 GB, free: 7.34 MB / 462.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.332925293128937]