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.001905/0.001905, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001907/0.001907, allocations: 213.1 kB / 23.73 MB, free: 4.16 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.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2535/0.2535, allocations: 44.94 MB / 358.9 MB, free: 6.047 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.002271/0.002271, allocations: 63.91 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3535, allocations: 65.47 MB / 0.5569 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1643/0.5178, allocations: 131.3 MB / 0.6852 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.5192, allocations: 0.8722 MB / 0.6861 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.5192, allocations: 7.938 kB / 0.6861 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.5195, allocations: 19.84 kB / 0.6861 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006607/0.5201, allocations: 248.5 kB / 0.6863 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.5205, allocations: 127.3 kB / 0.6864 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.5208, allocations: 171.2 kB / 0.6866 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.617e-05/0.5208, allocations: 15.92 kB / 0.6866 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.5211, allocations: 87.69 kB / 0.6867 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.5212, allocations: 51.77 kB / 0.6868 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.5212, allocations: 4 kB / 0.6868 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.5217, allocations: 259.7 kB / 0.687 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.5218, allocations: 15.92 kB / 0.687 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.5219, allocations: 43.84 kB / 0.6871 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.5223, allocations: 295.1 kB / 0.6873 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5224, allocations: 0 / 0.6873 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-05/0.5224, allocations: 4 kB / 0.6874 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5224, allocations: 0 / 0.6874 GB, free: 1.488 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.0006129/0.523, allocations: 333.8 kB / 0.6877 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.523, allocations: 12.03 kB / 0.6877 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.5231, allocations: 38.73 kB / 0.6877 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/0.5252, allocations: 196.6 kB / 0.6879 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.5256, allocations: 153.6 kB / 0.6881 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.5256, allocations: 4 kB / 0.6881 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.5256, allocations: 12 kB / 0.6881 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.5262, allocations: 297.1 kB / 0.6884 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.5262, allocations: 0 / 0.6884 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.5262, allocations: 8 kB / 0.6884 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5262, allocations: 0 / 0.6884 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.5267, allocations: 167.8 kB / 0.6885 GB, free: 200 kB / 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.001103/0.5278, allocations: 0.5395 MB / 0.689 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.5282, allocations: 138.4 kB / 0.6892 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.5283, allocations: 64.83 kB / 0.6892 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.5283, allocations: 4 kB / 0.6892 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.5284, allocations: 34.56 kB / 0.6893 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.5284, allocations: 0 / 0.6893 GB, free: 15.35 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.005329/0.5337, allocations: 1.155 MB / 0.6904 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.5337, allocations: 55.41 kB / 0.6905 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.5338, allocations: 117.8 kB / 0.6906 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.5339, allocations: 25.7 kB / 0.6906 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.5339, allocations: 104 kB / 0.6907 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.534, allocations: 67.39 kB / 0.6908 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.5341, allocations: 57.69 kB / 0.6908 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5343, allocations: 326.8 kB / 0.6911 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.5344, allocations: 63.97 kB / 0.6912 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.5346, allocations: 108.9 kB / 0.6913 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.5349, allocations: 181.4 kB / 0.6915 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5349, allocations: 4 kB / 0.6915 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005303/0.5355, allocations: 259.7 kB / 0.6917 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.5355, allocations: 4 kB / 0.6917 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.5355, allocations: 4 kB / 0.6917 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.5358, allocations: 52.83 kB / 0.6918 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.5361, allocations: 55.89 kB / 0.6918 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005967/0.5367, allocations: 0.5601 MB / 0.6924 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.5369, allocations: 8.031 kB / 0.6924 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.5369, allocations: 28.19 kB / 0.6924 GB, free: 11.98 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.0001702/0.5371, allocations: 129.8 kB / 0.6925 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.5371, allocations: 15.84 kB / 0.6925 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008594/0.538, allocations: 353.3 kB / 0.6929 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.538, allocations: 0 / 0.6929 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.538, allocations: 0 / 0.6929 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.538, allocations: 4 kB / 0.6929 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.5391, allocations: 0.5753 MB / 0.6934 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5391, allocations: 3.938 kB / 0.6935 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.5394, allocations: 59.95 kB / 0.6935 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.8e-05/0.5395, allocations: 20.84 kB / 0.6935 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.5395, allocations: 11.98 kB / 0.6935 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.5407, allocations: 1.271 MB / 0.6948 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5407, allocations: 0 / 0.6948 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.5414, allocations: 434.6 kB / 0.6952 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.5414, allocations: 11.92 kB / 0.6952 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.5414, allocations: 11.98 kB / 0.6952 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.5416, allocations: 4 kB / 0.6952 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.5417, allocations: 23.97 kB / 0.6952 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.5417, allocations: 23.98 kB / 0.6953 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.204e-05/0.5418, allocations: 107.3 kB / 0.6954 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5418, allocations: 0 / 0.6954 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004385/0.5423, allocations: 79.94 kB / 0.6954 GB, free: 8.648 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 (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.001389/0.5436, allocations: 1.012 MB / 0.6964 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005227/0.5442, allocations: 195.8 kB / 0.6966 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5442, allocations: 0 / 0.6966 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.5445, allocations: 224.7 kB / 0.6968 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.545, allocations: 50.14 kB / 0.6969 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.5478, allocations: 2.077 MB / 0.6989 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.5479, allocations: 93.97 kB / 0.699 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003192/0.5483, allocations: 73.77 kB / 0.6991 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.5485, allocations: 71.39 kB / 0.6991 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of SimCode: time 1.373e-06/0.5485, allocations: 3.938 kB / 0.6991 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03968/0.5881, allocations: 7.886 MB / 0.7068 GB, free: 12.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.57, allocations: 4 kB / 0.7068 GB, free: 12.94 MB / 0.545 GB " [Timeout remaining time 646] (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: 16.866741858422756]