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.001329/0.001329, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001592/0.001592, allocations: 165 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.8978/0.8978, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.122/0.122, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.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: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/3.068e-05, allocations: 2.312 kB / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2926/0.2926, allocations: 143.8 MB / 491.5 MB, free: 9.578 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.2938, allocations: 1.51 MB / 493 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.2939, allocations: 0 / 493 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.2942, allocations: 58.03 kB / 493 MB, free: 9.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008041/0.295, allocations: 400.1 kB / 493.4 MB, free: 9.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.2954, allocations: 178.9 kB / 493.6 MB, free: 9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.2956, allocations: 183 kB / 493.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.2957, allocations: 6.297 kB / 493.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.2958, allocations: 101 kB / 493.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.2959, allocations: 54.91 kB / 494 MB, free: 8.883 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2959, allocations: 5.781 kB / 494 MB, free: 8.883 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006738/0.2966, allocations: 0.5278 MB / 494.5 MB, free: 8.715 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.2967, allocations: 34.27 kB / 494.5 MB, free: 8.703 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.2967, allocations: 40.22 kB / 494.6 MB, free: 8.695 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.2972, allocations: 406 kB / 495 MB, free: 8.559 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2972, allocations: 3.375 kB / 495 MB, free: 8.559 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2972, allocations: 0 / 495 MB, free: 8.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2973, allocations: 0 / 495 MB, free: 8.559 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004083/0.2977, allocations: 460.4 kB / 495.4 MB, free: 8.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2977, allocations: 8.25 kB / 495.4 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.2988, allocations: 214 kB / 495.6 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.299, allocations: 153.9 kB / 495.8 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.299, allocations: 11.16 kB / 495.8 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.2991, allocations: 9.906 kB / 495.8 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.2993, allocations: 257.8 kB / 496 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2993, allocations: 0 / 496 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.2994, allocations: 10.81 kB / 496.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2994, allocations: 0 / 496.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.2996, allocations: 155.7 kB / 496.2 MB, free: 7.68 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.0009402/0.3005, allocations: 0.5559 MB / 496.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.3008, allocations: 182.5 kB / 496.9 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.084e-05/0.3008, allocations: 79.81 kB / 497 MB, free: 7.199 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.3009, allocations: 19.86 kB / 497 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.301, allocations: 40.89 kB / 497.1 MB, free: 7.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.923e-06/0.301, allocations: 0 / 497.1 MB, free: 7.145 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.00274/0.3037, allocations: 1.201 MB / 498.3 MB, free: 6.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.3037, allocations: 57.66 kB / 498.3 MB, free: 6.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.3038, allocations: 169.9 kB / 498.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3038, allocations: 29.2 kB / 498.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.3039, allocations: 145.1 kB / 498.7 MB, free: 6.156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.3039, allocations: 77.89 kB / 498.8 MB, free: 6.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.3039, allocations: 51.09 kB / 498.8 MB, free: 6.066 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.053e-05/0.304, allocations: 0.4939 MB / 499.3 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.3041, allocations: 63.86 kB / 499.4 MB, free: 5.559 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.3042, allocations: 109.3 kB / 499.5 MB, free: 5.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.3044, allocations: 181.6 kB / 499.6 MB, free: 5.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3044, allocations: 6.781 kB / 499.6 MB, free: 5.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003122/0.3047, allocations: 246.7 kB / 499.9 MB, free: 5.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3047, allocations: 5.688 kB / 499.9 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3047, allocations: 2.562 kB / 499.9 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/0.3048, allocations: 23.58 kB / 499.9 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.305, allocations: 67.3 kB / 500 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001954/0.3052, allocations: 0.7912 MB / 0.489 GB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.3054, allocations: 14.2 kB / 0.4891 GB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.3054, allocations: 9.094 kB / 0.4891 GB, free: 4.52 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 7.451e-05/0.3055, allocations: 168.9 kB / 0.4892 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.3055, allocations: 20.72 kB / 0.4892 GB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.3059, allocations: 283.5 kB / 0.4895 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3059, allocations: 0 / 0.4895 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3059, allocations: 0 / 0.4895 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3059, allocations: 2.875 kB / 0.4895 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.3064, allocations: 0.5978 MB / 0.4901 GB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3064, allocations: 6.938 kB / 0.4901 GB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.3066, allocations: 50.27 kB / 0.4902 GB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.428e-05/0.3067, allocations: 23.08 kB / 0.4902 GB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3067, allocations: 10.42 kB / 0.4902 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004838/0.3072, allocations: 1.728 MB / 0.4919 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3072, allocations: 4.125 kB / 0.4919 GB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.3076, allocations: 479.5 kB / 0.4923 GB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.3077, allocations: 6.891 kB / 0.4923 GB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3077, allocations: 10.14 kB / 0.4924 GB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3078, allocations: 6.344 kB / 0.4924 GB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.3079, allocations: 20.28 kB / 0.4924 GB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.3079, allocations: 17.14 kB / 0.4924 GB, free: 1.707 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.475e-05/0.3079, allocations: 127.5 kB / 0.4925 GB, free: 1.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3079, allocations: 0 / 0.4925 GB, free: 1.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003914/0.3083, allocations: 137.8 kB / 0.4926 GB, free: 1.562 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 (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.0004557/0.3087, allocations: 254 kB / 0.4929 GB, free: 1.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003551/0.3091, allocations: 207.7 kB / 0.4931 GB, free: 1.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3091, allocations: 0 / 0.4931 GB, free: 1.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.3093, allocations: 284.6 kB / 0.4934 GB, free: 1.152 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.3096, allocations: 54.45 kB / 0.4934 GB, free: 1.133 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008187/0.3104, allocations: 399.5 kB / 0.4938 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.621e-05/0.3105, allocations: 73.92 kB / 0.4939 GB, free: 0.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.3107, allocations: 60.05 kB / 0.4939 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/0.3107, allocations: 24.08 kB / 0.4939 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.3107, allocations: 0 / 0.4939 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of Templates: time 0.00866/0.3194, allocations: 6.441 MB / 0.5002 GB, free: 12.64 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.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.57108400715515]