Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001417/0.001417, allocations: 75.77 kB / 20.51 MB, free: 1.121 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.001681/0.001681, allocations: 167.4 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 158.6 MB / 185.5 MB, free: 6.125 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2356/0.2356, allocations: 32.38 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002504/0.002504, allocations: 67.91 kB / 407.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1421, allocations: 61.04 MB / 468.8 MB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4225/0.5645, allocations: 129.7 MB / 0.5845 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.5665, allocations: 1.342 MB / 0.5858 GB, free: 6.117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.5666, allocations: 0 / 0.5858 GB, free: 6.117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.567, allocations: 43.73 kB / 0.5859 GB, free: 6.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.568, allocations: 393.7 kB / 0.5862 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.5686, allocations: 175.4 kB / 0.5864 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.5689, allocations: 191.2 kB / 0.5866 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.5689, allocations: 0 / 0.5866 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.5691, allocations: 79.69 kB / 0.5867 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.5693, allocations: 55.81 kB / 0.5867 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.5693, allocations: 4 kB / 0.5867 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.5704, allocations: 0.5318 MB / 0.5872 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.5705, allocations: 31.91 kB / 0.5873 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.5705, allocations: 43.86 kB / 0.5873 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006192/0.5711, allocations: 382.3 kB / 0.5877 GB, free: 4.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5712, allocations: 4 kB / 0.5877 GB, free: 4.223 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5712, allocations: 0 / 0.5877 GB, free: 4.223 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.5712, allocations: 0 / 0.5877 GB, free: 4.223 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005463/0.5717, allocations: 350.7 kB / 0.588 GB, free: 3.852 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5717, allocations: 12.03 kB / 0.588 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.5742, allocations: 200.6 kB / 0.5882 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.5745, allocations: 150.4 kB / 0.5884 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5745, allocations: 4.312 kB / 0.5884 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.5746, allocations: 13.06 kB / 0.5884 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.5751, allocations: 286.6 kB / 0.5886 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5751, allocations: 0 / 0.5886 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.5752, allocations: 0 / 0.5886 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.5752, allocations: 4 kB / 0.5886 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.5758, allocations: 249.6 kB / 0.5889 GB, free: 2.906 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.001955/0.5778, allocations: 0.5506 MB / 0.5894 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.5782, allocations: 188.5 kB / 0.5896 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.5785, allocations: 88.81 kB / 0.5897 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.5786, allocations: 19.98 kB / 0.5897 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.5786, allocations: 37.69 kB / 0.5897 GB, free: 1.996 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.5786, allocations: 0 / 0.5897 GB, free: 1.996 MB / 494.1 MB 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.006386/0.585, allocations: 1.382 MB / 0.5911 GB, free: 0.543 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.5851, allocations: 59.34 kB / 0.5911 GB, free: 484 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.5852, allocations: 113.8 kB / 0.5913 GB, free: 360 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.5852, allocations: 30.83 kB / 0.5913 GB, free: 324 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.5853, allocations: 100.4 kB / 0.5914 GB, free: 220 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.5854, allocations: 71.38 kB / 0.5914 GB, free: 148 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.5855, allocations: 41.7 kB / 0.5915 GB, free: 100 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5856, allocations: 318.8 kB / 0.5918 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.5859, allocations: 95.95 kB / 0.5919 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.5861, allocations: 127.2 kB / 0.592 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.5867, allocations: 225.6 kB / 0.5922 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5867, allocations: 0 / 0.5922 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007113/0.5874, allocations: 282.3 kB / 0.5925 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.5874, allocations: 11.88 kB / 0.5925 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5874, allocations: 0.5625 kB / 0.5925 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001854/0.5876, allocations: 31.22 kB / 0.5925 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/0.5882, allocations: 51.97 kB / 0.5926 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004912/0.5887, allocations: 0.5367 MB / 0.5931 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.5891, allocations: 20.2 kB / 0.5931 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.5891, allocations: 6.438 kB / 0.5931 GB, free: 14.35 MB / 0.4981 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.0002208/0.5893, allocations: 125.8 kB / 0.5933 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.5894, allocations: 11.89 kB / 0.5933 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009694/0.5904, allocations: 318.5 kB / 0.5936 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.5904, allocations: 0 / 0.5936 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.5904, allocations: 4 kB / 0.5936 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.5904, allocations: 7.922 kB / 0.5936 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.5917, allocations: 0.5842 MB / 0.5941 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5917, allocations: 4.094 kB / 0.5942 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.5923, allocations: 59.83 kB / 0.5942 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.5924, allocations: 20.84 kB / 0.5942 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.5924, allocations: 7.984 kB / 0.5942 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.5938, allocations: 1.234 MB / 0.5954 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5938, allocations: 4.156 kB / 0.5954 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009113/0.5947, allocations: 450.8 kB / 0.5959 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.5947, allocations: 11.94 kB / 0.5959 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.5947, allocations: 8 kB / 0.5959 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.5951, allocations: 15.92 kB / 0.5959 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.5951, allocations: 15.97 kB / 0.5959 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.5952, allocations: 15.92 kB / 0.5959 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.274e-05/0.5952, allocations: 87.34 kB / 0.596 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.5952, allocations: 0 / 0.596 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005689/0.5958, allocations: 135.7 kB / 0.5962 GB, free: 11.06 MB / 0.4981 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.0006789/0.5965, allocations: 262.6 kB / 0.5964 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006568/0.5971, allocations: 211.8 kB / 0.5966 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5971, allocations: 0 / 0.5966 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004413/0.5976, allocations: 238.9 kB / 0.5968 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.598, allocations: 44.48 kB / 0.5969 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.599, allocations: 492.2 kB / 0.5973 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.659e-05/0.5991, allocations: 90.09 kB / 0.5974 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002804/0.5994, allocations: 61.38 kB / 0.5975 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.5995, allocations: 20.5 kB / 0.5975 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.5995, allocations: 0 / 0.5975 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of Templates: time 0.0124/0.6119, allocations: 6.321 MB / 0.6037 GB, free: 3.316 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.5375998300733045]