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.001334/0.001334, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001409/0.001409, allocations: 207.5 kB / 23.73 MB, free: 4.379 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.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.226/0.226, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.001941/0.001941, allocations: 71.89 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2988, allocations: 66.03 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1851/0.4839, allocations: 131.5 MB / 0.689 GB, free: 224 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003153/0.487, allocations: 1.429 MB / 0.6904 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.4871, allocations: 4 kB / 0.6904 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.4875, allocations: 39.75 kB / 0.6904 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.4891, allocations: 419.8 kB / 0.6908 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.4899, allocations: 171 kB / 0.691 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004332/0.4904, allocations: 191.2 kB / 0.6912 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.613e-05/0.4904, allocations: 7.922 kB / 0.6912 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.4907, allocations: 87.62 kB / 0.6913 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.4909, allocations: 63.81 kB / 0.6913 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.491, allocations: 7.938 kB / 0.6913 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.4928, allocations: 0.5533 MB / 0.6919 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.4929, allocations: 27.91 kB / 0.6919 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.493, allocations: 47.84 kB / 0.692 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.4942, allocations: 402.9 kB / 0.6923 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4942, allocations: 3.938 kB / 0.6924 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4942, allocations: 0 / 0.6924 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.4942, allocations: 0 / 0.6924 GB, free: 12.79 MB / 0.5294 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.000795/0.495, allocations: 369.7 kB / 0.6927 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4951, allocations: 8.031 kB / 0.6927 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.04e-05/0.4951, allocations: 42.73 kB / 0.6928 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/0.4982, allocations: 196.6 kB / 0.6929 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.4987, allocations: 161.8 kB / 0.6931 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.4987, allocations: 4 kB / 0.6931 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.686e-05/0.4988, allocations: 8 kB / 0.6931 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/0.4995, allocations: 285.6 kB / 0.6934 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4995, allocations: 0 / 0.6934 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.4996, allocations: 7.938 kB / 0.6934 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.4996, allocations: 4 kB / 0.6934 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.5004, allocations: 231.8 kB / 0.6936 GB, free: 11.41 MB / 0.5294 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.00236/0.5028, allocations: 0.5668 MB / 0.6942 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.5034, allocations: 182.4 kB / 0.6943 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.5037, allocations: 92.81 kB / 0.6944 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.5039, allocations: 19.97 kB / 0.6944 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.5039, allocations: 34.56 kB / 0.6945 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 2.344e-06/0.5039, allocations: 0 / 0.6945 GB, free: 10.46 MB / 0.5294 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.007615/0.5115, allocations: 1.387 MB / 0.6958 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.5116, allocations: 51.41 kB / 0.6959 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.5117, allocations: 117.8 kB / 0.696 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/0.5118, allocations: 29.7 kB / 0.696 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5119, allocations: 108.3 kB / 0.6961 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.452e-05/0.512, allocations: 71.42 kB / 0.6962 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.5121, allocations: 45.66 kB / 0.6962 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5123, allocations: 322.8 kB / 0.6965 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.5126, allocations: 91.89 kB / 0.6966 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.513, allocations: 121 kB / 0.6967 GB, free: 8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006823/0.5136, allocations: 229 kB / 0.697 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5136, allocations: 0 / 0.697 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001091/0.5147, allocations: 278.3 kB / 0.6972 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.5148, allocations: 4 kB / 0.6972 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.5148, allocations: 4 kB / 0.6972 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.515, allocations: 24.94 kB / 0.6973 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/0.5156, allocations: 59.89 kB / 0.6973 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005633/0.5162, allocations: 0.5367 MB / 0.6978 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.5165, allocations: 8 kB / 0.6979 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/0.5166, allocations: 7.984 kB / 0.6979 GB, free: 6.812 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.0002017/0.5168, allocations: 128.2 kB / 0.698 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.5169, allocations: 12.05 kB / 0.698 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.518, allocations: 325.7 kB / 0.6983 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.518, allocations: 0 / 0.6983 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.518, allocations: 4 kB / 0.6983 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.518, allocations: 4 kB / 0.6983 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.5194, allocations: 0.6148 MB / 0.6989 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.5194, allocations: 7.984 kB / 0.6989 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.5199, allocations: 43.97 kB / 0.699 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.74e-05/0.52, allocations: 20.84 kB / 0.699 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.52, allocations: 12.08 kB / 0.699 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.521, allocations: 1.263 MB / 0.7002 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.521, allocations: 3.938 kB / 0.7002 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008854/0.5219, allocations: 458.8 kB / 0.7007 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.5219, allocations: 7.984 kB / 0.7007 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.522, allocations: 8 kB / 0.7007 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.5223, allocations: 7.984 kB / 0.7007 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.5223, allocations: 19.92 kB / 0.7007 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.5224, allocations: 11.98 kB / 0.7007 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.5224, allocations: 91.2 kB / 0.7008 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5224, allocations: 4 kB / 0.7008 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005424/0.523, allocations: 139.6 kB / 0.7009 GB, free: 3.43 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.001782/0.5248, allocations: 1.137 MB / 0.7021 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006307/0.5254, allocations: 233.4 kB / 0.7023 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5254, allocations: 0 / 0.7023 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.5258, allocations: 222.6 kB / 0.7025 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.5262, allocations: 44.33 kB / 0.7025 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.5295, allocations: 2.134 MB / 0.7046 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.5297, allocations: 101.8 kB / 0.7047 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002909/0.5299, allocations: 53.53 kB / 0.7048 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.5301, allocations: 39.42 kB / 0.7048 GB, free: 15.29 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/0.5301, allocations: 3.938 kB / 0.7048 GB, free: 15.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04109/0.5712, allocations: 8.755 MB / 0.7134 GB, free: 6.676 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.35, allocations: 8.062 kB / 0.7134 GB, free: 6.668 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: 16.289578718977282]