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.001391/0.001391, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001565/0.001565, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2184/0.2184, allocations: 44.93 MB / 358.8 MB, free: 6.156 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.002237/0.002237, allocations: 64.08 kB / 0.493 GB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3434, allocations: 65.48 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1633/0.5067, allocations: 131.5 MB / 0.6854 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.5087, allocations: 1.441 MB / 0.6868 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.86e-05/0.5088, allocations: 3.938 kB / 0.6868 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.5092, allocations: 43.75 kB / 0.6868 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.5104, allocations: 415.9 kB / 0.6872 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.511, allocations: 175.3 kB / 0.6874 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.5112, allocations: 191.2 kB / 0.6876 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.5113, allocations: 0 / 0.6876 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.5115, allocations: 83.73 kB / 0.6877 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.5116, allocations: 59.75 kB / 0.6877 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.5116, allocations: 4 kB / 0.6877 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.5127, allocations: 0.5455 MB / 0.6882 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.5127, allocations: 27.91 kB / 0.6883 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.5128, allocations: 55.78 kB / 0.6883 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.5134, allocations: 399 kB / 0.6887 GB, free: 124 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5134, allocations: 0 / 0.6887 GB, free: 124 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5134, allocations: 0 / 0.6887 GB, free: 124 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.5134, allocations: 0 / 0.6887 GB, free: 124 kB / 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.00062/0.514, allocations: 361.7 kB / 0.6891 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.5141, allocations: 8.031 kB / 0.6891 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.5141, allocations: 42.75 kB / 0.6891 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.5164, allocations: 200.6 kB / 0.6893 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.5167, allocations: 165.7 kB / 0.6895 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.5167, allocations: 8 kB / 0.6895 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.5167, allocations: 4 kB / 0.6895 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.5172, allocations: 278.6 kB / 0.6897 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5172, allocations: 7.938 kB / 0.6897 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.5173, allocations: 3.938 kB / 0.6897 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5173, allocations: 0 / 0.6897 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005767/0.5179, allocations: 239.8 kB / 0.69 GB, free: 14.74 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.001774/0.5196, allocations: 0.5667 MB / 0.6905 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.5201, allocations: 190.5 kB / 0.6907 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.5203, allocations: 88.81 kB / 0.6908 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.5204, allocations: 15.98 kB / 0.6908 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.5204, allocations: 34.56 kB / 0.6908 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.5204, allocations: 0 / 0.6908 GB, free: 13.79 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.005706/0.5261, allocations: 1.388 MB / 0.6922 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.5262, allocations: 51.41 kB / 0.6922 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.5263, allocations: 113.8 kB / 0.6923 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.5263, allocations: 29.7 kB / 0.6924 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.5264, allocations: 108.3 kB / 0.6925 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.5265, allocations: 63.44 kB / 0.6925 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.894e-05/0.5266, allocations: 49.64 kB / 0.6926 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5267, allocations: 318.8 kB / 0.6929 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.5269, allocations: 95.94 kB / 0.693 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.5272, allocations: 119 kB / 0.6931 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.5277, allocations: 229 kB / 0.6933 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5277, allocations: 0 / 0.6933 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006205/0.5283, allocations: 288.4 kB / 0.6936 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.5283, allocations: 6.812 kB / 0.6936 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.5283, allocations: 3.938 kB / 0.6936 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/0.5284, allocations: 20.84 kB / 0.6936 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.5289, allocations: 59.95 kB / 0.6937 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004049/0.5293, allocations: 0.5406 MB / 0.6942 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.5296, allocations: 11.97 kB / 0.6942 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.5296, allocations: 8 kB / 0.6942 GB, free: 10.14 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.000135/0.5297, allocations: 129.8 kB / 0.6943 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.5298, allocations: 7.953 kB / 0.6944 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007449/0.5305, allocations: 322 kB / 0.6947 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5305, allocations: 0 / 0.6947 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5305, allocations: 7.938 kB / 0.6947 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5306, allocations: 0 / 0.6947 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.5317, allocations: 0.6124 MB / 0.6953 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5317, allocations: 4 kB / 0.6953 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/0.5321, allocations: 51.89 kB / 0.6953 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-05/0.5322, allocations: 20.84 kB / 0.6953 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.5322, allocations: 15.98 kB / 0.6954 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009471/0.5332, allocations: 1.263 MB / 0.6966 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5332, allocations: 0 / 0.6966 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008482/0.534, allocations: 450.6 kB / 0.697 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.534, allocations: 7.984 kB / 0.697 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.5341, allocations: 11.98 kB / 0.697 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.5344, allocations: 8 kB / 0.697 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.5344, allocations: 15.97 kB / 0.6971 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.5345, allocations: 16.11 kB / 0.6971 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.174e-05/0.5345, allocations: 87.28 kB / 0.6972 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5345, allocations: 0 / 0.6972 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005022/0.535, allocations: 143.6 kB / 0.6973 GB, free: 6.762 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.001686/0.5367, allocations: 1.139 MB / 0.6984 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006175/0.5373, allocations: 223.9 kB / 0.6986 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5373, allocations: 4 kB / 0.6986 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.5377, allocations: 230.5 kB / 0.6988 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.5382, allocations: 56.55 kB / 0.6989 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.5412, allocations: 2.126 MB / 0.701 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.591e-05/0.5413, allocations: 97.97 kB / 0.7011 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.5416, allocations: 49.39 kB / 0.7011 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.5417, allocations: 39.42 kB / 0.7012 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.5417, allocations: 0 / 0.7012 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03989/0.5816, allocations: 8.692 MB / 0.7096 GB, free: 10.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.6, allocations: 6.875 kB / 0.7097 GB, free: 10.07 MB / 0.545 GB " [Timeout remaining time 646] (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: 16.647193032782525]