Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00179/0.00179, 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.002426/0.002426, 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.511/1.511, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2119/0.2119, allocations: 44.91 MB / 355.1 MB, free: 12.34 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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.001932/0.001932, allocations: 67.89 kB / 499.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1214, allocations: 65.42 MB / 0.5517 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4951/0.6166, allocations: 152.9 MB / 0.701 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.6187, allocations: 1.6 MB / 0.7026 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.6187, allocations: 0 / 0.7026 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.6191, allocations: 51.72 kB / 0.7027 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.6202, allocations: 421.6 kB / 0.7031 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.6208, allocations: 179.1 kB / 0.7032 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.621, allocations: 171.3 kB / 0.7034 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.6211, allocations: 4 kB / 0.7034 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.6213, allocations: 83.62 kB / 0.7035 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.6214, allocations: 62.14 kB / 0.7035 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.6214, allocations: 11.94 kB / 0.7035 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.6225, allocations: 0.6158 MB / 0.7041 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.6226, allocations: 39.83 kB / 0.7042 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.6227, allocations: 51.8 kB / 0.7042 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006638/0.6233, allocations: 401 kB / 0.7046 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6233, allocations: 0 / 0.7046 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6233, allocations: 0 / 0.7046 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6233, allocations: 0 / 0.7046 GB, free: 10.87 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.0006247/0.624, allocations: 434.9 kB / 0.705 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.624, allocations: 12.03 kB / 0.705 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.6241, allocations: 42.73 kB / 0.7051 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.6264, allocations: 201.1 kB / 0.7053 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.6267, allocations: 219.9 kB / 0.7055 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.6267, allocations: 4 kB / 0.7055 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.6268, allocations: 11.94 kB / 0.7055 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.6272, allocations: 202.8 kB / 0.7057 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.6273, allocations: 4 kB / 0.7057 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.6273, allocations: 4 kB / 0.7057 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.6273, allocations: 7.938 kB / 0.7057 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.6279, allocations: 231.8 kB / 0.7059 GB, free: 9.426 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.001835/0.6297, allocations: 0.6644 MB / 0.7066 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.6302, allocations: 188.5 kB / 0.7068 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.6304, allocations: 92.81 kB / 0.7068 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.6306, allocations: 89.09 kB / 0.7069 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6306, allocations: 30.56 kB / 0.707 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.532e-06/0.6306, allocations: 4 kB / 0.707 GB, free: 8.273 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.005988/0.6366, allocations: 1.543 MB / 0.7085 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.6366, allocations: 63.33 kB / 0.7085 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.6367, allocations: 109.8 kB / 0.7086 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.6368, allocations: 29.7 kB / 0.7087 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.6369, allocations: 96.36 kB / 0.7088 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.6369, allocations: 75.36 kB / 0.7088 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.637, allocations: 41.64 kB / 0.7089 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6372, allocations: 326.8 kB / 0.7092 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.6374, allocations: 87.95 kB / 0.7093 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.6377, allocations: 126.6 kB / 0.7094 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.6382, allocations: 229.1 kB / 0.7096 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6382, allocations: 0 / 0.7096 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006678/0.6388, allocations: 281.1 kB / 0.7099 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.6388, allocations: 7.984 kB / 0.7099 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6389, allocations: 8.094 kB / 0.7099 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.639, allocations: 24.78 kB / 0.7099 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.6395, allocations: 55.97 kB / 0.71 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004381/0.6399, allocations: 0.5292 MB / 0.7105 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.6402, allocations: 15.95 kB / 0.7105 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.6402, allocations: 16.09 kB / 0.7105 GB, free: 4.434 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.0001373/0.6404, allocations: 124 kB / 0.7106 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.6405, allocations: 7.953 kB / 0.7106 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.6412, allocations: 316.8 kB / 0.7109 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.6413, allocations: 7.938 kB / 0.7109 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6413, allocations: 0 / 0.7109 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6413, allocations: 0 / 0.7109 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.6425, allocations: 0.6797 MB / 0.7116 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6425, allocations: 0 / 0.7116 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.6429, allocations: 51.89 kB / 0.7117 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.862e-05/0.643, allocations: 20.84 kB / 0.7117 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.643, allocations: 4 kB / 0.7117 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.6442, allocations: 1.374 MB / 0.713 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6442, allocations: 8.188 kB / 0.713 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009046/0.6451, allocations: 450.4 kB / 0.7135 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.6451, allocations: 93.14 kB / 0.7136 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.6452, allocations: 8 kB / 0.7136 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.6455, allocations: 8 kB / 0.7136 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.6456, allocations: 19.91 kB / 0.7136 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.6456, allocations: 12 kB / 0.7136 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.241e-05/0.6457, allocations: 83.27 kB / 0.7137 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6457, allocations: 0 / 0.7137 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005876/0.6462, allocations: 135.7 kB / 0.7138 GB, free: 0.7812 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 (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.001841/0.6481, allocations: 1.148 MB / 0.7149 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006537/0.6487, allocations: 223.8 kB / 0.7151 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6487, allocations: 0 / 0.7151 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.6492, allocations: 226.6 kB / 0.7154 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.6496, allocations: 48.5 kB / 0.7154 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.6529, allocations: 2.147 MB / 0.7175 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.6533, allocations: 0.7085 MB / 0.7182 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002855/0.6536, allocations: 49.39 kB / 0.7182 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.6537, allocations: 47.41 kB / 0.7183 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/0.6537, allocations: 0 / 0.7183 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03568/0.6894, allocations: 7.982 MB / 0.7261 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.88, allocations: 14.88 kB / 0.7261 GB, free: 4.133 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.986686280928552]