Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 117.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 190.9 kB / 21.39 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.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.4732/0.4732, allocations: 44.22 MB / 343.5 MB, free: 7.602 MB / 270.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.73 kB / 478.8 MB, free: 24.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1385, allocations: 60.83 MB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5924/0.7309, allocations: 149.9 MB / 0.6734 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.7352, allocations: 3.13 MB / 0.6764 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.7354, allocations: 0 / 0.6764 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.7358, allocations: 61.7 kB / 0.6765 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002756/0.7387, allocations: 1.035 MB / 0.6775 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.7392, allocations: 192.1 kB / 0.6777 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.7397, allocations: 359.2 kB / 0.678 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.98e-05/0.7398, allocations: 16.55 kB / 0.678 GB, free: 10 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.7401, allocations: 140.7 kB / 0.6782 GB, free: 9.938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.7403, allocations: 113.9 kB / 0.6783 GB, free: 9.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.7404, allocations: 14 kB / 0.6783 GB, free: 9.871 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.7437, allocations: 1.485 MB / 0.6798 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.7439, allocations: 79.77 kB / 0.6798 GB, free: 8.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.7441, allocations: 107.6 kB / 0.6799 GB, free: 8.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.7462, allocations: 0.9859 MB / 0.6809 GB, free: 7.375 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7463, allocations: 3.938 kB / 0.6809 GB, free: 7.371 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.7463, allocations: 0 / 0.6809 GB, free: 7.371 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.7463, allocations: 0 / 0.6809 GB, free: 7.371 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001188/0.7475, allocations: 0.5607 MB / 0.6814 GB, free: 6.762 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.7475, allocations: 8.031 kB / 0.6815 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.737e-05/0.7476, allocations: 54.73 kB / 0.6815 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.7491, allocations: 204.6 kB / 0.6817 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.7495, allocations: 248.2 kB / 0.6819 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.7495, allocations: 20.31 kB / 0.682 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.7496, allocations: 20 kB / 0.682 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.7502, allocations: 377.4 kB / 0.6823 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.7502, allocations: 0 / 0.6823 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.7503, allocations: 8 kB / 0.6823 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.7503, allocations: 4 kB / 0.6824 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005974/0.7509, allocations: 399.7 kB / 0.6827 GB, free: 5.391 MB / 494.1 MB 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.001756/0.7527, allocations: 0.8086 MB / 0.6835 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.7531, allocations: 228.1 kB / 0.6837 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.7533, allocations: 117.7 kB / 0.6839 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001915/0.7552, allocations: 0.9878 MB / 0.6848 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.7553, allocations: 34.56 kB / 0.6848 GB, free: 2.969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.7553, allocations: 0 / 0.6848 GB, free: 2.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.00124/0.7565, allocations: 366.3 kB / 0.6852 GB, free: 2.605 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.7566, allocations: 85.11 kB / 0.6853 GB, free: 2.504 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.7567, allocations: 107.4 kB / 0.6854 GB, free: 2.391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.7568, allocations: 33.7 kB / 0.6854 GB, free: 2.352 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.7568, allocations: 108.6 kB / 0.6855 GB, free: 2.242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.757, allocations: 122.9 kB / 0.6856 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.7571, allocations: 58.03 kB / 0.6857 GB, free: 2.059 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7572, allocations: 334.8 kB / 0.686 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.7574, allocations: 96.61 kB / 0.6861 GB, free: 1.629 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.7577, allocations: 175.6 kB / 0.6863 GB, free: 1.422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.7582, allocations: 313.1 kB / 0.6866 GB, free: 1.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.7582, allocations: 4 kB / 0.6866 GB, free: 1.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006925/0.7589, allocations: 341.2 kB / 0.6869 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.759, allocations: 8 kB / 0.6869 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.759, allocations: 0 / 0.6869 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.759, allocations: 4 kB / 0.6869 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.7594, allocations: 75.89 kB / 0.687 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.7594, allocations: 4 kB / 0.687 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.7596, allocations: 23.84 kB / 0.687 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/0.7596, allocations: 23.98 kB / 0.687 GB, free: 0.6055 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.7598, allocations: 145.7 kB / 0.6872 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-05/0.7599, allocations: 19.91 kB / 0.6872 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006635/0.7606, allocations: 325.9 kB / 0.6875 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.7606, allocations: 4 kB / 0.6875 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7606, allocations: 3.984 kB / 0.6875 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7606, allocations: 0 / 0.6875 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.7612, allocations: 335.1 kB / 0.6878 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7612, allocations: 1.312 kB / 0.6878 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.7616, allocations: 59.84 kB / 0.6879 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.7616, allocations: 4 kB / 0.6879 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.7616, allocations: 8 kB / 0.6879 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.7616, allocations: 4 kB / 0.6879 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7616, allocations: 0 / 0.6879 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/0.7624, allocations: 0.4986 MB / 0.6884 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.7625, allocations: 96.95 kB / 0.6885 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.7626, allocations: 11.98 kB / 0.6885 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.7629, allocations: 12 kB / 0.6885 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.7629, allocations: 19.97 kB / 0.6885 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.763, allocations: 19.98 kB / 0.6885 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.763, allocations: 95.2 kB / 0.6886 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.763, allocations: 0 / 0.6886 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008251/0.7639, allocations: 235.3 kB / 0.6889 GB, free: 14.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002011/0.7659, allocations: 1.369 MB / 0.6902 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000552/0.7665, allocations: 268.6 kB / 0.6904 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7665, allocations: 0 / 0.6904 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.7667, allocations: 121.9 kB / 0.6906 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.7674, allocations: 86.11 kB / 0.6906 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.7709, allocations: 2.675 MB / 0.6933 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.7713, allocations: 0.7285 MB / 0.694 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003093/0.7716, allocations: 73.97 kB / 0.694 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.7718, allocations: 63.41 kB / 0.6941 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.7718, allocations: 0 / 0.6941 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03664/0.8084, allocations: 10.47 MB / 0.7043 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/9.003, allocations: 16.5 kB / 0.7043 GB, free: 14.71 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_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_MixIdealGasAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.425633035018109]