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.001759/0.001759, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002081/0.002081, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.524/1.524, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2286/0.2286, allocations: 44.94 MB / 359.6 MB, free: 6.078 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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") [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.002992/0.002992, allocations: 67.89 kB / 0.4942 GB, free: 10.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3434, allocations: 65.47 MB / 0.5582 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1782/0.5216, allocations: 131.3 MB / 0.6864 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.5232, allocations: 0.8761 MB / 0.6873 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.5233, allocations: 3.938 kB / 0.6873 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.5236, allocations: 23.83 kB / 0.6873 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008334/0.5244, allocations: 250.7 kB / 0.6875 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.5249, allocations: 126.7 kB / 0.6877 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.5252, allocations: 167.3 kB / 0.6878 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.5253, allocations: 7.938 kB / 0.6878 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.5255, allocations: 103.5 kB / 0.6879 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.5257, allocations: 51.83 kB / 0.688 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.5257, allocations: 4 kB / 0.688 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005871/0.5263, allocations: 255.7 kB / 0.6882 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.5263, allocations: 19.92 kB / 0.6882 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.5264, allocations: 47.78 kB / 0.6883 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.527, allocations: 278 kB / 0.6886 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.527, allocations: 4 kB / 0.6886 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.527, allocations: 0 / 0.6886 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.527, allocations: 0 / 0.6886 GB, free: 1.469 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.0006572/0.5276, allocations: 341.8 kB / 0.6889 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.5277, allocations: 8.031 kB / 0.6889 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.5299, allocations: 196.6 kB / 0.6891 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.5303, allocations: 157.8 kB / 0.6892 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.5303, allocations: 7.938 kB / 0.6892 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.5304, allocations: 8 kB / 0.6892 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.531, allocations: 301.2 kB / 0.6895 GB, free: 392 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.531, allocations: 0 / 0.6895 GB, free: 392 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.531, allocations: 4 kB / 0.6895 GB, free: 388 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.531, allocations: 4 kB / 0.6895 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.5315, allocations: 167.8 kB / 0.6897 GB, free: 216 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.001133/0.5326, allocations: 0.4975 MB / 0.6902 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.533, allocations: 138.5 kB / 0.6903 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.5331, allocations: 72.81 kB / 0.6904 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.5332, allocations: 0 / 0.6904 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.5332, allocations: 34.56 kB / 0.6904 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.5332, allocations: 0 / 0.6904 GB, free: 15.41 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.005385/0.5386, allocations: 1.158 MB / 0.6916 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.5386, allocations: 59.34 kB / 0.6916 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.5387, allocations: 109.8 kB / 0.6917 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.5388, allocations: 33.64 kB / 0.6917 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.5388, allocations: 95.98 kB / 0.6918 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.5389, allocations: 75.38 kB / 0.6919 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-05/0.539, allocations: 53.69 kB / 0.692 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5392, allocations: 318.8 kB / 0.6923 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.5393, allocations: 71.97 kB / 0.6923 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.5395, allocations: 107.2 kB / 0.6924 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.5399, allocations: 186 kB / 0.6926 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5399, allocations: 0 / 0.6926 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005104/0.5404, allocations: 258.2 kB / 0.6929 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.5404, allocations: 10.81 kB / 0.6929 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.5404, allocations: 0 / 0.6929 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.5406, allocations: 52.92 kB / 0.6929 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.5409, allocations: 55.89 kB / 0.693 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004746/0.5414, allocations: 0.5602 MB / 0.6935 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.5416, allocations: 8.016 kB / 0.6935 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.5416, allocations: 28 kB / 0.6936 GB, free: 12.04 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.0001357/0.5417, allocations: 121.8 kB / 0.6937 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.5418, allocations: 11.91 kB / 0.6937 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007803/0.5426, allocations: 360.2 kB / 0.694 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5426, allocations: 0 / 0.694 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5426, allocations: 4 kB / 0.694 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5426, allocations: 0 / 0.694 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.5436, allocations: 0.5447 MB / 0.6946 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5436, allocations: 0 / 0.6946 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.5439, allocations: 63.95 kB / 0.6946 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-05/0.544, allocations: 20.94 kB / 0.6946 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.544, allocations: 15.98 kB / 0.6947 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.5451, allocations: 1.248 MB / 0.6959 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5451, allocations: 0 / 0.6959 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007396/0.5458, allocations: 440.5 kB / 0.6963 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.5459, allocations: 19.86 kB / 0.6963 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.5459, allocations: 15.92 kB / 0.6963 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.5461, allocations: 8 kB / 0.6963 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.5462, allocations: 23.91 kB / 0.6964 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.5462, allocations: 27.98 kB / 0.6964 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.511e-05/0.5463, allocations: 95.56 kB / 0.6965 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5463, allocations: 0 / 0.6965 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004115/0.5467, allocations: 75.94 kB / 0.6966 GB, free: 8.785 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.0003817/0.5471, allocations: 159.1 kB / 0.6967 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005168/0.5476, allocations: 199.9 kB / 0.6969 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5476, allocations: 0 / 0.6969 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.548, allocations: 220.2 kB / 0.6971 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.5484, allocations: 44.14 kB / 0.6971 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009081/0.5493, allocations: 0.501 MB / 0.6976 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.452e-05/0.5494, allocations: 89.97 kB / 0.6977 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.5496, allocations: 59.41 kB / 0.6978 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.5496, allocations: 0 / 0.6978 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of Templates: time 0.007283/0.5569, allocations: 3.937 MB / 0.7016 GB, free: 3.508 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/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: 8.505423939786851]