Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.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.001276/0.001276, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001668/0.001668, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2163/0.2163, allocations: 46.94 MB / 360.9 MB, free: 4.234 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 71.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3085, allocations: 66.04 MB / 0.5606 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1857/0.4942, allocations: 152.9 MB / 0.71 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.4962, allocations: 1.6 MB / 0.7116 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.4963, allocations: 0 / 0.7116 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.4966, allocations: 55.72 kB / 0.7116 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009583/0.4976, allocations: 411.9 kB / 0.712 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.498, allocations: 175.4 kB / 0.7122 GB, free: 8.676 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.4983, allocations: 183.3 kB / 0.7123 GB, free: 8.496 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.4983, allocations: 15.92 kB / 0.7124 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.4985, allocations: 79.7 kB / 0.7124 GB, free: 8.402 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.4986, allocations: 59.75 kB / 0.7125 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.4986, allocations: 8 kB / 0.7125 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.4997, allocations: 0.6392 MB / 0.7131 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.4998, allocations: 27.91 kB / 0.7131 GB, free: 7.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.4998, allocations: 51.78 kB / 0.7132 GB, free: 7.617 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.5004, allocations: 410.9 kB / 0.7136 GB, free: 7.215 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5004, allocations: 0 / 0.7136 GB, free: 7.215 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5004, allocations: 4 kB / 0.7136 GB, free: 7.211 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5004, allocations: 0 / 0.7136 GB, free: 7.211 MB / 0.545 GB 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.0005179/0.5009, allocations: 361.8 kB / 0.7139 GB, free: 6.828 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.501, allocations: 8.031 kB / 0.7139 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.501, allocations: 42.69 kB / 0.714 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.5032, allocations: 200.5 kB / 0.7142 GB, free: 6.574 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.5034, allocations: 169.7 kB / 0.7143 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5034, allocations: 4 kB / 0.7143 GB, free: 6.379 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.5035, allocations: 8 kB / 0.7144 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.5039, allocations: 202.9 kB / 0.7145 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.5039, allocations: 0 / 0.7145 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.504, allocations: 15.92 kB / 0.7146 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.504, allocations: 0 / 0.7146 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005693/0.5045, allocations: 235.9 kB / 0.7148 GB, free: 5.922 MB / 0.545 GB 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.001679/0.5062, allocations: 0.6018 MB / 0.7154 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.5067, allocations: 190.4 kB / 0.7156 GB, free: 5.082 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.5069, allocations: 92.81 kB / 0.7156 GB, free: 4.988 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.507, allocations: 11.98 kB / 0.7157 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.507, allocations: 34.56 kB / 0.7157 GB, free: 4.934 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.507, allocations: 0 / 0.7157 GB, free: 4.934 MB / 0.545 GB 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.005515/0.5125, allocations: 1.39 MB / 0.717 GB, free: 3.469 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.5126, allocations: 55.41 kB / 0.7171 GB, free: 3.402 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.5127, allocations: 113.8 kB / 0.7172 GB, free: 3.281 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.5127, allocations: 33.64 kB / 0.7172 GB, free: 3.242 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.5128, allocations: 104.3 kB / 0.7173 GB, free: 3.137 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.5128, allocations: 63.44 kB / 0.7174 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.196e-05/0.5129, allocations: 41.7 kB / 0.7174 GB, free: 3.027 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5131, allocations: 318.8 kB / 0.7177 GB, free: 2.707 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.5133, allocations: 87.95 kB / 0.7178 GB, free: 2.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.5136, allocations: 135 kB / 0.718 GB, free: 2.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.514, allocations: 225.5 kB / 0.7182 GB, free: 2.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.514, allocations: 0 / 0.7182 GB, free: 2.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006401/0.5147, allocations: 293 kB / 0.7185 GB, free: 1.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5147, allocations: 4 kB / 0.7185 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.5147, allocations: 8.25 kB / 0.7185 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.5148, allocations: 16.84 kB / 0.7185 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.5152, allocations: 63.89 kB / 0.7185 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004207/0.5157, allocations: 0.5329 MB / 0.7191 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.5159, allocations: 12.02 kB / 0.7191 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.516, allocations: 11.98 kB / 0.7191 GB, free: 1.281 MB / 0.545 GB 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.0001376/0.5161, allocations: 133.8 kB / 0.7192 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.5162, allocations: 8.047 kB / 0.7192 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00073/0.5169, allocations: 317.2 kB / 0.7195 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5169, allocations: 3.984 kB / 0.7195 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5169, allocations: 4 kB / 0.7195 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.5169, allocations: 0 / 0.7195 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.518, allocations: 0.6474 MB / 0.7202 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.518, allocations: 0 / 0.7202 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.5185, allocations: 52.05 kB / 0.7202 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.425e-05/0.5186, allocations: 20.84 kB / 0.7202 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.5186, allocations: 11.98 kB / 0.7202 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.5196, allocations: 1.26 MB / 0.7215 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5196, allocations: 3.984 kB / 0.7215 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008297/0.5205, allocations: 458.7 kB / 0.7219 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.5205, allocations: 11.89 kB / 0.7219 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.5205, allocations: 0 / 0.7219 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.5208, allocations: 12 kB / 0.7219 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.5209, allocations: 23.97 kB / 0.722 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.5209, allocations: 11.98 kB / 0.722 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.949e-05/0.5209, allocations: 95.25 kB / 0.7221 GB, free: 14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5209, allocations: 0 / 0.7221 GB, free: 14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005157/0.5215, allocations: 131.7 kB / 0.7222 GB, free: 13.88 MB / 0.5606 GB 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.001728/0.5232, allocations: 1.139 MB / 0.7233 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006277/0.5238, allocations: 227.7 kB / 0.7235 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5238, allocations: 8.125 kB / 0.7235 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.5242, allocations: 226.6 kB / 0.7237 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.5247, allocations: 54.45 kB / 0.7238 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.5278, allocations: 2.128 MB / 0.7259 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.5281, allocations: 0.7125 MB / 0.7266 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002857/0.5284, allocations: 49.39 kB / 0.7266 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.5286, allocations: 39.42 kB / 0.7266 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of SimCode: time 6.32e-07/0.5286, allocations: 0 / 0.7266 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03856/0.5671, allocations: 8.178 MB / 0.7346 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.36, allocations: 7.984 kB / 0.7346 GB, free: 1.051 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.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 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.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.55467293300171]