Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001194/0.001194, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001954/0.001954, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 18.57 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 0.9211/0.9211, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] 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.1283/0.1283, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.146e-05, allocations: 12.22 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.296/0.296, allocations: 143.6 MB / 491.2 MB, free: 9.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009536/0.297, allocations: 0.9812 MB / 492.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.2971, allocations: 0 / 492.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.2973, allocations: 24.78 kB / 492.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006538/0.298, allocations: 262.3 kB / 492.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.2983, allocations: 117.4 kB / 492.6 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.2985, allocations: 172.4 kB / 492.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.2985, allocations: 6.156 kB / 492.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.2988, allocations: 107.4 kB / 492.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.2988, allocations: 48 kB / 492.9 MB, free: 9.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.2989, allocations: 6.125 kB / 492.9 MB, free: 9.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003921/0.2993, allocations: 255.8 kB / 493.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.2993, allocations: 22.38 kB / 493.2 MB, free: 9.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.2994, allocations: 33.38 kB / 493.2 MB, free: 9.152 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.2998, allocations: 305.7 kB / 493.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2998, allocations: 0 / 493.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2998, allocations: 0 / 493.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.2998, allocations: 0 / 493.5 MB, free: 9.055 MB / 362.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.0004049/0.3002, allocations: 431.8 kB / 493.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3002, allocations: 11 kB / 494 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.3014, allocations: 212.6 kB / 494.2 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.3016, allocations: 156.6 kB / 494.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3016, allocations: 6.25 kB / 494.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.3017, allocations: 13.44 kB / 494.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.302, allocations: 298.7 kB / 494.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.302, allocations: 0 / 494.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.302, allocations: 10.31 kB / 494.6 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.302, allocations: 0 / 494.6 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3022, allocations: 125.7 kB / 494.8 MB, free: 8.145 MB / 362.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.000662/0.3029, allocations: 0.6431 MB / 495.4 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.3031, allocations: 127.6 kB / 495.5 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.268e-05/0.3032, allocations: 57.31 kB / 495.6 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.3032, allocations: 8 kB / 495.6 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.3032, allocations: 33.39 kB / 495.6 MB, free: 7.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.033e-06/0.3032, allocations: 0 / 495.6 MB, free: 7.453 MB / 362.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.002624/0.3059, allocations: 0.9822 MB / 496.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.3059, allocations: 57.75 kB / 496.7 MB, free: 6.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.01e-05/0.3059, allocations: 166.3 kB / 496.8 MB, free: 6.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.306, allocations: 29.02 kB / 496.9 MB, free: 6.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.306, allocations: 144.8 kB / 497 MB, free: 6.574 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.306, allocations: 76.25 kB / 497.1 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.3061, allocations: 53.73 kB / 497.1 MB, free: 6.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.3061, allocations: 0.4902 MB / 497.6 MB, free: 5.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.3062, allocations: 48.91 kB / 497.7 MB, free: 5.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.3063, allocations: 94.73 kB / 497.7 MB, free: 5.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3064, allocations: 154.6 kB / 497.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3064, allocations: 0 / 497.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000263/0.3067, allocations: 226.7 kB / 498.1 MB, free: 5.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3067, allocations: 6.219 kB / 498.1 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3067, allocations: 0 / 498.1 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.3069, allocations: 31.39 kB / 498.2 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.307, allocations: 63.39 kB / 498.2 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002277/0.3073, allocations: 0.8103 MB / 499 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.3074, allocations: 6.125 kB / 499 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.3074, allocations: 14.31 kB / 499.1 MB, free: 4.941 MB / 362.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.448e-05/0.3075, allocations: 174.4 kB / 499.2 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.3075, allocations: 15.67 kB / 499.2 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.3079, allocations: 279.3 kB / 499.5 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3079, allocations: 2.938 kB / 499.5 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3079, allocations: 7.344 kB / 499.5 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3079, allocations: 0 / 499.5 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.3084, allocations: 0.5474 MB / 0.4883 GB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3084, allocations: 0 / 0.4883 GB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.3086, allocations: 55.09 kB / 0.4884 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.258e-05/0.3087, allocations: 24.27 kB / 0.4884 GB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.3087, allocations: 12.92 kB / 0.4884 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004708/0.3092, allocations: 1.722 MB / 0.4901 GB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3092, allocations: 3.984 kB / 0.4901 GB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.3095, allocations: 435 kB / 0.4905 GB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.3095, allocations: 10.91 kB / 0.4905 GB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.3095, allocations: 5.75 kB / 0.4905 GB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3096, allocations: 6.656 kB / 0.4906 GB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.3097, allocations: 27.23 kB / 0.4906 GB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.3097, allocations: 17.69 kB / 0.4906 GB, free: 2.164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.94e-05/0.3097, allocations: 140 kB / 0.4907 GB, free: 2.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3097, allocations: 0 / 0.4907 GB, free: 2.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.31, allocations: 83.5 kB / 0.4908 GB, free: 2.027 MB / 362.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.0002963/0.3103, allocations: 151.3 kB / 0.491 GB, free: 1.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.3106, allocations: 170.6 kB / 0.4911 GB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3106, allocations: 0 / 0.4911 GB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.3108, allocations: 267.1 kB / 0.4914 GB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.3112, allocations: 55.02 kB / 0.4914 GB, free: 1.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008882/0.312, allocations: 410.3 kB / 0.4918 GB, free: 1.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.3121, allocations: 67.41 kB / 0.4919 GB, free: 1.258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.3123, allocations: 70.75 kB / 0.4919 GB, free: 1.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3124, allocations: 43.91 kB / 0.492 GB, free: 1.199 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/0.3124, allocations: 4 kB / 0.492 GB, free: 1.195 MB / 362.7 MB Notification: Performance of Templates: time 0.007595/0.32, allocations: 5.332 MB / 0.4972 GB, free: 14.52 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.537496726028621]