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.001841/0.001841, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002123/0.002123, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.503/1.503, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2338/0.2338, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.001958/0.001958, allocations: 63.91 kB / 0.4909 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1276, allocations: 66 MB / 0.5554 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4745/0.6021, allocations: 152.9 MB / 0.7047 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.6043, allocations: 1.6 MB / 0.7062 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.6044, allocations: 4 kB / 0.7062 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.6048, allocations: 51.72 kB / 0.7063 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.606, allocations: 410 kB / 0.7067 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.6065, allocations: 168.3 kB / 0.7068 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.6068, allocations: 183.3 kB / 0.707 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.6068, allocations: 4 kB / 0.707 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.607, allocations: 83.62 kB / 0.7071 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.6072, allocations: 62.16 kB / 0.7072 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.6072, allocations: 15.94 kB / 0.7072 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.6083, allocations: 0.6197 MB / 0.7078 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.6084, allocations: 35.83 kB / 0.7078 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.224e-05/0.6085, allocations: 47.8 kB / 0.7079 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007471/0.6092, allocations: 402.8 kB / 0.7082 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6092, allocations: 0 / 0.7082 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6092, allocations: 0 / 0.7082 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.6092, allocations: 0 / 0.7082 GB, free: 5.184 MB / 0.5137 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.0006564/0.6099, allocations: 446.8 kB / 0.7087 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.6099, allocations: 8.031 kB / 0.7087 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.61, allocations: 38.75 kB / 0.7087 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.6124, allocations: 197.1 kB / 0.7089 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.6127, allocations: 215.9 kB / 0.7091 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.6127, allocations: 8 kB / 0.7091 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.6127, allocations: 8 kB / 0.7091 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.6133, allocations: 201.5 kB / 0.7093 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.6133, allocations: 4 kB / 0.7093 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.6133, allocations: 4 kB / 0.7093 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.6133, allocations: 3.938 kB / 0.7093 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006391/0.6139, allocations: 235.8 kB / 0.7095 GB, free: 3.742 MB / 0.5137 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.001943/0.6159, allocations: 0.6644 MB / 0.7102 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.6164, allocations: 184.5 kB / 0.7104 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.6166, allocations: 92.81 kB / 0.7105 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.6168, allocations: 85.09 kB / 0.7105 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.6168, allocations: 43.44 kB / 0.7106 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.6168, allocations: 0 / 0.7106 GB, free: 2.59 MB / 0.5137 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.00624/0.6231, allocations: 1.542 MB / 0.7121 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.6231, allocations: 59.34 kB / 0.7121 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.6232, allocations: 109.8 kB / 0.7123 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.6233, allocations: 33.7 kB / 0.7123 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.6234, allocations: 100.3 kB / 0.7124 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.6234, allocations: 75.36 kB / 0.7125 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.6236, allocations: 41.7 kB / 0.7125 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.6237, allocations: 322.8 kB / 0.7128 GB, free: 172 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.624, allocations: 91.95 kB / 0.7129 GB, free: 80 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.6243, allocations: 123.5 kB / 0.713 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/0.6248, allocations: 234.2 kB / 0.7132 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6248, allocations: 0 / 0.7132 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006857/0.6255, allocations: 282.3 kB / 0.7135 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.6255, allocations: 4 kB / 0.7135 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.6255, allocations: 1.062 kB / 0.7135 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.6257, allocations: 28.78 kB / 0.7135 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.6261, allocations: 51.95 kB / 0.7136 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000466/0.6266, allocations: 0.5368 MB / 0.7141 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.6269, allocations: 15.95 kB / 0.7141 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.627, allocations: 8 kB / 0.7141 GB, free: 14.75 MB / 0.5294 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.0001611/0.6271, allocations: 124 kB / 0.7142 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.6272, allocations: 11.95 kB / 0.7143 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008359/0.6281, allocations: 316.5 kB / 0.7146 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.6281, allocations: 7.938 kB / 0.7146 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.6281, allocations: 0.875 kB / 0.7146 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.6281, allocations: 3.984 kB / 0.7146 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.6293, allocations: 0.6697 MB / 0.7152 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6293, allocations: 4 kB / 0.7152 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.6298, allocations: 51.89 kB / 0.7153 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-05/0.6298, allocations: 20.84 kB / 0.7153 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.6299, allocations: 16.09 kB / 0.7153 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.631, allocations: 1.364 MB / 0.7166 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.631, allocations: 3.984 kB / 0.7166 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009352/0.6319, allocations: 459.6 kB / 0.7171 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.632, allocations: 85.09 kB / 0.7172 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.632, allocations: 4 kB / 0.7172 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.6323, allocations: 11.98 kB / 0.7172 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.6324, allocations: 15.98 kB / 0.7172 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.6324, allocations: 11.98 kB / 0.7172 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.501e-05/0.6325, allocations: 87.34 kB / 0.7173 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6325, allocations: 0 / 0.7173 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000605/0.6331, allocations: 135.7 kB / 0.7174 GB, free: 11.09 MB / 0.5294 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.001939/0.635, allocations: 1.154 MB / 0.7185 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007091/0.6357, allocations: 222.6 kB / 0.7188 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6357, allocations: 0 / 0.7188 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004433/0.6362, allocations: 230.9 kB / 0.719 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.6366, allocations: 50.61 kB / 0.719 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.64, allocations: 2.129 MB / 0.7211 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.6403, allocations: 0.7085 MB / 0.7218 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002793/0.6406, allocations: 53.39 kB / 0.7219 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.6408, allocations: 43.41 kB / 0.7219 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.6408, allocations: 0 / 0.7219 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03979/0.6806, allocations: 7.991 MB / 0.7297 GB, free: 14.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.83, allocations: 19.84 kB / 0.7297 GB, free: 14.43 MB / 0.545 GB " [Timeout remaining time 647] (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: 15.99174349399982]