Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.001877/0.001877, allocations: 123.4 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.002216/0.002216, allocations: 209.6 kB / 20.75 MB, free: 2.27 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.556/1.556, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2226/0.2226, allocations: 44.9 MB / 355.1 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001966/0.001966, allocations: 71.89 kB / 499.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1209, allocations: 65.42 MB / 0.5517 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4494/0.5703, allocations: 152.7 MB / 0.7009 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.5718, allocations: 0.9656 MB / 0.7018 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.5719, allocations: 4 kB / 0.7018 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.5722, allocations: 40.83 kB / 0.7018 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007817/0.573, allocations: 242.8 kB / 0.7021 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.5734, allocations: 124.5 kB / 0.7022 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.5737, allocations: 167.3 kB / 0.7023 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.5738, allocations: 7.938 kB / 0.7024 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.574, allocations: 95.62 kB / 0.7024 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.5742, allocations: 55.77 kB / 0.7025 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.5742, allocations: 4 kB / 0.7025 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.5748, allocations: 267.7 kB / 0.7028 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.5748, allocations: 15.98 kB / 0.7028 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.5749, allocations: 51.78 kB / 0.7028 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.5754, allocations: 282.5 kB / 0.7031 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5754, allocations: 4 kB / 0.7031 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.919e-06/0.5754, allocations: 7.922 kB / 0.7031 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.5754, allocations: 0 / 0.7031 GB, free: 12.18 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006518/0.5761, allocations: 411 kB / 0.7035 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.5761, allocations: 12.03 kB / 0.7035 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.5762, allocations: 34.75 kB / 0.7035 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.5784, allocations: 205.1 kB / 0.7037 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.5789, allocations: 207.8 kB / 0.7039 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.5789, allocations: 8 kB / 0.7039 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.5789, allocations: 8 kB / 0.7039 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.5795, allocations: 217.9 kB / 0.7042 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.5795, allocations: 4 kB / 0.7042 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.5795, allocations: 8 kB / 0.7042 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.5795, allocations: 4 kB / 0.7042 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.58, allocations: 167.8 kB / 0.7043 GB, free: 10.82 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.001138/0.5811, allocations: 0.5771 MB / 0.7049 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.5815, allocations: 130.5 kB / 0.705 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.5817, allocations: 72.81 kB / 0.7051 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.5817, allocations: 4 kB / 0.7051 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.5817, allocations: 30.56 kB / 0.7051 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.5817, allocations: 0 / 0.7051 GB, free: 9.93 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.005587/0.5873, allocations: 1.314 MB / 0.7064 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.5873, allocations: 55.41 kB / 0.7065 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.732e-05/0.5874, allocations: 109.8 kB / 0.7066 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.5875, allocations: 35.95 kB / 0.7066 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.5875, allocations: 99.97 kB / 0.7067 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.5876, allocations: 63.44 kB / 0.7068 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.5877, allocations: 61.64 kB / 0.7068 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5878, allocations: 322.8 kB / 0.7071 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.588, allocations: 63.97 kB / 0.7072 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.5882, allocations: 123.1 kB / 0.7073 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.5885, allocations: 175.4 kB / 0.7075 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5885, allocations: 0 / 0.7075 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005214/0.5891, allocations: 261.3 kB / 0.7077 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5891, allocations: 4 kB / 0.7077 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5891, allocations: 4 kB / 0.7077 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.5893, allocations: 52.83 kB / 0.7078 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.5896, allocations: 55.89 kB / 0.7078 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004621/0.5901, allocations: 0.5601 MB / 0.7084 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.5902, allocations: 12.16 kB / 0.7084 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.5903, allocations: 24 kB / 0.7084 GB, free: 6.379 MB / 0.5137 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.0001336/0.5904, allocations: 132 kB / 0.7085 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.5905, allocations: 7.953 kB / 0.7085 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000792/0.5913, allocations: 348 kB / 0.7089 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.5913, allocations: 4 kB / 0.7089 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5913, allocations: 4 kB / 0.7089 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.5913, allocations: 0 / 0.7089 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.5923, allocations: 0.6345 MB / 0.7095 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5923, allocations: 7.938 kB / 0.7095 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.5927, allocations: 55.95 kB / 0.7096 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-05/0.5928, allocations: 24.94 kB / 0.7096 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.5928, allocations: 15.98 kB / 0.7096 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.5938, allocations: 1.367 MB / 0.7109 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5938, allocations: 4.031 kB / 0.7109 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.5946, allocations: 435.5 kB / 0.7114 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.5946, allocations: 85.09 kB / 0.7114 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.5947, allocations: 8 kB / 0.7114 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.5949, allocations: 7.984 kB / 0.7115 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.5949, allocations: 23.92 kB / 0.7115 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.595, allocations: 27.98 kB / 0.7115 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.595, allocations: 95.33 kB / 0.7116 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.595, allocations: 0 / 0.7116 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004176/0.5955, allocations: 75.94 kB / 0.7117 GB, free: 2.773 MB / 0.5137 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 (21): * Single equations (assignments): 20 * 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.001281/0.5967, allocations: 1.014 MB / 0.7127 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005316/0.5973, allocations: 203.7 kB / 0.7128 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5973, allocations: 0 / 0.7128 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.5976, allocations: 212.8 kB / 0.7131 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.5981, allocations: 44.83 kB / 0.7131 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.6009, allocations: 2.084 MB / 0.7151 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.6012, allocations: 0.7085 MB / 0.7158 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002966/0.6015, allocations: 77.39 kB / 0.7159 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.6017, allocations: 71.34 kB / 0.716 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.6017, allocations: 0 / 0.716 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.6382, allocations: 7.343 MB / 0.7231 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.66, allocations: 11.3 kB / 0.7231 GB, free: 6.934 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_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_0_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.841659772675484]