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.002301/0.002301, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001813/0.001813, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.561/1.561, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.4/0.4, allocations: 32.79 MB / 293.9 MB, free: 1.238 MB / 266.7 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.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: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.545e-05, allocations: 9.484 kB / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3741/0.3741, allocations: 131.4 MB / 0.4947 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3752, allocations: 0.8822 MB / 0.4956 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.3752, allocations: 1.438 kB / 0.4956 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.3755, allocations: 28.92 kB / 0.4956 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000637/0.3761, allocations: 252.9 kB / 0.4959 GB, free: 26.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.3765, allocations: 122.2 kB / 0.496 GB, free: 26.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.3767, allocations: 168.6 kB / 0.4961 GB, free: 26.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.3767, allocations: 4.266 kB / 0.4961 GB, free: 26.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.377, allocations: 115.2 kB / 0.4963 GB, free: 26.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.435e-05/0.377, allocations: 47.52 kB / 0.4963 GB, free: 26.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.3771, allocations: 4.312 kB / 0.4963 GB, free: 26.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.3776, allocations: 264.8 kB / 0.4966 GB, free: 26.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.3776, allocations: 22.47 kB / 0.4966 GB, free: 26.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.3777, allocations: 27.73 kB / 0.4966 GB, free: 26.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.3782, allocations: 323.7 kB / 0.4969 GB, free: 25.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3783, allocations: 0.7969 kB / 0.4969 GB, free: 25.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3783, allocations: 0 / 0.4969 GB, free: 25.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3783, allocations: 1.344 kB / 0.4969 GB, free: 25.9 MB / 410.7 MB 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.0004843/0.3787, allocations: 338.3 kB / 0.4972 GB, free: 25.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3788, allocations: 9.375 kB / 0.4972 GB, free: 25.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.3809, allocations: 231.4 kB / 0.4975 GB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.3813, allocations: 160.1 kB / 0.4976 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3813, allocations: 7.938 kB / 0.4976 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.3813, allocations: 11.75 kB / 0.4976 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.3819, allocations: 306.1 kB / 0.4979 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3819, allocations: 3.938 kB / 0.4979 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.3819, allocations: 2.219 kB / 0.4979 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3819, allocations: 2.25 kB / 0.4979 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.3823, allocations: 163.3 kB / 0.4981 GB, free: 25.13 MB / 410.7 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.0009425/0.3833, allocations: 0.5003 MB / 0.4986 GB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.3836, allocations: 134.4 kB / 0.4987 GB, free: 24.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.3838, allocations: 69.17 kB / 0.4988 GB, free: 24.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.3838, allocations: 4.875 kB / 0.4988 GB, free: 24.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.3838, allocations: 36.05 kB / 0.4988 GB, free: 24.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.3838, allocations: 5.188 kB / 0.4988 GB, free: 24.55 MB / 410.7 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.004968/0.3888, allocations: 1.112 MB / 0.4999 GB, free: 24.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.3888, allocations: 57.62 kB / 0.5 GB, free: 23.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.3889, allocations: 113.1 kB / 0.5001 GB, free: 23.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3889, allocations: 31.47 kB / 0.5001 GB, free: 23.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.3889, allocations: 99.75 kB / 0.5002 GB, free: 23.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.389, allocations: 66.62 kB / 0.5003 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.3891, allocations: 54.16 kB / 0.5003 GB, free: 23.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.3891, allocations: 321.8 kB / 0.5006 GB, free: 23.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3893, allocations: 62.88 kB / 0.5007 GB, free: 23.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3894, allocations: 103.6 kB / 0.5008 GB, free: 23.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.3897, allocations: 180 kB / 0.5009 GB, free: 23.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3897, allocations: 0 / 0.5009 GB, free: 23.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004829/0.3902, allocations: 252.7 kB / 0.5012 GB, free: 23.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3902, allocations: 5.656 kB / 0.5012 GB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3902, allocations: 1.953 kB / 0.5012 GB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/0.3904, allocations: 35.67 kB / 0.5012 GB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.3907, allocations: 65.16 kB / 0.5013 GB, free: 23.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002679/0.391, allocations: 0.5459 MB / 0.5018 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.3912, allocations: 7.641 kB / 0.5018 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.3912, allocations: 21.84 kB / 0.5019 GB, free: 22.48 MB / 410.7 MB 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 8.673e-05/0.3913, allocations: 124.2 kB / 0.502 GB, free: 22.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.3913, allocations: 17.48 kB / 0.502 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006566/0.392, allocations: 302.8 kB / 0.5023 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.392, allocations: 2.531 kB / 0.5023 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.392, allocations: 1.219 kB / 0.5023 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.392, allocations: 5.484 kB / 0.5023 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/0.3929, allocations: 0.5257 MB / 0.5028 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3929, allocations: 5.469 kB / 0.5028 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.3932, allocations: 54.36 kB / 0.5029 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.8e-05/0.3933, allocations: 18.23 kB / 0.5029 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.3934, allocations: 12.84 kB / 0.5029 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000631/0.394, allocations: 1.246 MB / 0.5041 GB, free: 20.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.394, allocations: 2 kB / 0.5041 GB, free: 20.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/0.3946, allocations: 417 kB / 0.5045 GB, free: 20.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.3946, allocations: 8.125 kB / 0.5045 GB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.3947, allocations: 7.047 kB / 0.5045 GB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.3949, allocations: 12.97 kB / 0.5045 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.395, allocations: 31.53 kB / 0.5046 GB, free: 20.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.395, allocations: 21.34 kB / 0.5046 GB, free: 20.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.662e-05/0.3951, allocations: 84.56 kB / 0.5047 GB, free: 20.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3951, allocations: 0 / 0.5047 GB, free: 20.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004399/0.3955, allocations: 81.11 kB / 0.5047 GB, free: 20.19 MB / 410.7 MB 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 (20): * Single equations (assignments): 19 * 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.0003589/0.3959, allocations: 152.2 kB / 0.5049 GB, free: 20.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004746/0.3963, allocations: 185 kB / 0.5051 GB, free: 20.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3963, allocations: 1.125 kB / 0.5051 GB, free: 20.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.3966, allocations: 217.3 kB / 0.5053 GB, free: 19.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.3971, allocations: 57.03 kB / 0.5053 GB, free: 19.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.3978, allocations: 389.8 kB / 0.5057 GB, free: 19.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.296e-05/0.3979, allocations: 90.91 kB / 0.5058 GB, free: 19.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002634/0.3981, allocations: 63.98 kB / 0.5058 GB, free: 19.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3983, allocations: 44.08 kB / 0.5059 GB, free: 19.47 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3983, allocations: 0 / 0.5059 GB, free: 19.47 MB / 410.7 MB Notification: Performance of Templates: time 0.009152/0.4074, allocations: 5.279 MB / 0.511 GB, free: 19 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/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: 5.515401100041345]