Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001187/0.001187, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001419/0.001419, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.754 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.2366/0.2366, allocations: 46.96 MB / 361.6 MB, free: 4.02 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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002954/0.002954, allocations: 67.84 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3645, allocations: 66.04 MB / 0.5618 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.172/0.5365, allocations: 131.3 MB / 0.6901 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.5381, allocations: 0.9539 MB / 0.691 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.5382, allocations: 0 / 0.691 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.5385, allocations: 31.77 kB / 0.691 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008277/0.5393, allocations: 278.5 kB / 0.6913 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.5397, allocations: 115.4 kB / 0.6914 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.5399, allocations: 179.3 kB / 0.6916 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.54, allocations: 3.938 kB / 0.6916 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.5402, allocations: 103.6 kB / 0.6917 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.5403, allocations: 51.83 kB / 0.6917 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.5403, allocations: 4 kB / 0.6917 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.5408, allocations: 275.7 kB / 0.692 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.652e-05/0.5409, allocations: 27.84 kB / 0.692 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.9e-05/0.541, allocations: 35.86 kB / 0.6921 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.5414, allocations: 286 kB / 0.6923 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5414, allocations: 0 / 0.6923 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5414, allocations: 0 / 0.6923 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.5414, allocations: 3.938 kB / 0.6923 GB, free: 13.94 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006193/0.5421, allocations: 329.8 kB / 0.6927 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5421, allocations: 8.031 kB / 0.6927 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.5444, allocations: 204.6 kB / 0.6929 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.5448, allocations: 153.7 kB / 0.693 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.5448, allocations: 4 kB / 0.693 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-05/0.5449, allocations: 15.98 kB / 0.693 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.5455, allocations: 299.9 kB / 0.6933 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.5456, allocations: 0 / 0.6933 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.5456, allocations: 4 kB / 0.6933 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5456, allocations: 8 kB / 0.6933 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.5461, allocations: 163.8 kB / 0.6935 GB, free: 12.69 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.001136/0.5472, allocations: 0.5205 MB / 0.694 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.5476, allocations: 142.2 kB / 0.6941 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.5477, allocations: 64.83 kB / 0.6942 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.5477, allocations: 8 kB / 0.6942 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.5478, allocations: 30.81 kB / 0.6942 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.522e-06/0.5478, allocations: 0 / 0.6942 GB, free: 11.87 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.005591/0.5534, allocations: 1.155 MB / 0.6954 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.5534, allocations: 51.41 kB / 0.6954 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.5535, allocations: 109.8 kB / 0.6955 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.5536, allocations: 33.7 kB / 0.6955 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.5536, allocations: 104 kB / 0.6956 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.5537, allocations: 71.38 kB / 0.6957 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.5538, allocations: 53.69 kB / 0.6958 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.554, allocations: 326.8 kB / 0.6961 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.5541, allocations: 67.97 kB / 0.6961 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.5543, allocations: 104.9 kB / 0.6962 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.5547, allocations: 189.3 kB / 0.6964 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.5547, allocations: 0 / 0.6964 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005328/0.5552, allocations: 255.8 kB / 0.6967 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5553, allocations: 8 kB / 0.6967 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5553, allocations: 0 / 0.6967 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.5555, allocations: 48.83 kB / 0.6967 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.5558, allocations: 55.89 kB / 0.6968 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005032/0.5563, allocations: 0.572 MB / 0.6973 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.5565, allocations: 7.938 kB / 0.6973 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.5566, allocations: 24 kB / 0.6974 GB, free: 8.5 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.0001376/0.5567, allocations: 125.8 kB / 0.6975 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.5568, allocations: 15.91 kB / 0.6975 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008099/0.5576, allocations: 341.6 kB / 0.6978 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.5576, allocations: 7.922 kB / 0.6978 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5576, allocations: 4 kB / 0.6978 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.5576, allocations: 11.94 kB / 0.6978 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.5576, allocations: 4 kB / 0.6978 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.5579, allocations: 4 kB / 0.6978 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.5579, allocations: 27.91 kB / 0.6979 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009013/0.5588, allocations: 329.5 kB / 0.6982 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006952/0.5595, allocations: 465.5 kB / 0.6986 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001855/0.5597, allocations: 68 kB / 0.6987 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.192e-05/0.5598, allocations: 91.58 kB / 0.6988 GB, free: 7 MB / 0.5294 GB Notification: Performance of Backend: time 6.61e-07/0.5598, allocations: 0 / 0.6988 GB, free: 7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.5609, allocations: 316.5 kB / 0.6991 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001111/0.562, allocations: 0.8708 MB / 0.6999 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of Templates: time 0.01209/0.5741, allocations: 6.939 MB / 0.7067 GB, free: 14.83 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.303921646998788]