Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009987/0.0009987, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009953/0.0009953, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.093/1.093, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2822/0.2822, allocations: 32.8 MB / 294.6 MB, free: 1.293 MB / 266.7 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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.909e-06/4.909e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.637e-05, allocations: 6.25 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2982/0.2983, allocations: 145.2 MB / 0.509 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.2997, allocations: 1.622 MB / 0.5105 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.2998, allocations: 0 / 0.5105 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.3001, allocations: 45.44 kB / 0.5106 GB, free: 19.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008858/0.301, allocations: 428.5 kB / 0.511 GB, free: 19.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.3014, allocations: 177 kB / 0.5112 GB, free: 19.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.3016, allocations: 186.3 kB / 0.5113 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.3016, allocations: 2.516 kB / 0.5113 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.3018, allocations: 109.2 kB / 0.5114 GB, free: 19.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3019, allocations: 52.86 kB / 0.5115 GB, free: 19.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.3019, allocations: 5.938 kB / 0.5115 GB, free: 19.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007473/0.3026, allocations: 0.5522 MB / 0.512 GB, free: 18.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.3027, allocations: 27.91 kB / 0.5121 GB, free: 18.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.3027, allocations: 43.69 kB / 0.5121 GB, free: 18.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.3033, allocations: 421.8 kB / 0.5125 GB, free: 18.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3033, allocations: 4 kB / 0.5125 GB, free: 18.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3033, allocations: 0.7969 kB / 0.5125 GB, free: 18.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3033, allocations: 0 / 0.5125 GB, free: 18.8 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004542/0.3038, allocations: 465.8 kB / 0.513 GB, free: 18.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3038, allocations: 8.969 kB / 0.513 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.305, allocations: 223.8 kB / 0.5132 GB, free: 18.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.3052, allocations: 151.3 kB / 0.5133 GB, free: 18.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3052, allocations: 7.938 kB / 0.5133 GB, free: 18.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.3052, allocations: 14.25 kB / 0.5133 GB, free: 18.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.3055, allocations: 253.8 kB / 0.5136 GB, free: 18.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.3055, allocations: 3.938 kB / 0.5136 GB, free: 18.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.3055, allocations: 1.078 kB / 0.5136 GB, free: 18.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3055, allocations: 2.719 kB / 0.5136 GB, free: 18.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.3058, allocations: 161.4 kB / 0.5137 GB, free: 17.98 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.0009131/0.3067, allocations: 0.5479 MB / 0.5143 GB, free: 17.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.3069, allocations: 176.4 kB / 0.5144 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.581e-05/0.307, allocations: 81.92 kB / 0.5145 GB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.468e-05/0.3071, allocations: 12.7 kB / 0.5145 GB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.3071, allocations: 40.8 kB / 0.5146 GB, free: 17.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.3071, allocations: 0 / 0.5146 GB, free: 17.45 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.002612/0.3097, allocations: 1.204 MB / 0.5158 GB, free: 16.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/0.3097, allocations: 59.34 kB / 0.5158 GB, free: 16.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.586e-05/0.3098, allocations: 175.7 kB / 0.516 GB, free: 16.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3098, allocations: 29.7 kB / 0.516 GB, free: 16.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.3098, allocations: 139.9 kB / 0.5161 GB, free: 16.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.3099, allocations: 79.09 kB / 0.5162 GB, free: 16.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.3099, allocations: 49.86 kB / 0.5163 GB, free: 16.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.274e-05/0.31, allocations: 0.4913 MB / 0.5167 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.3101, allocations: 65.27 kB / 0.5168 GB, free: 15.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.3102, allocations: 108.9 kB / 0.5169 GB, free: 15.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.3104, allocations: 193.8 kB / 0.5171 GB, free: 15.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3104, allocations: 2.312 kB / 0.5171 GB, free: 15.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002955/0.3107, allocations: 244.1 kB / 0.5173 GB, free: 15.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3107, allocations: 5.594 kB / 0.5173 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.3107, allocations: 0 / 0.5173 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000108/0.3108, allocations: 36.2 kB / 0.5174 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.311, allocations: 53.56 kB / 0.5174 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001753/0.3112, allocations: 0.8013 MB / 0.5182 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3113, allocations: 2.844 kB / 0.5182 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.3113, allocations: 17.16 kB / 0.5182 GB, free: 14.76 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 6.744e-05/0.3114, allocations: 170.5 kB / 0.5184 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.3114, allocations: 24.69 kB / 0.5184 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.3118, allocations: 271.2 kB / 0.5187 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3118, allocations: 2.781 kB / 0.5187 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3118, allocations: 0 / 0.5187 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3118, allocations: 2.156 kB / 0.5187 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.3123, allocations: 0.5979 MB / 0.5193 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3123, allocations: 6.125 kB / 0.5193 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.3125, allocations: 51.12 kB / 0.5193 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.865e-05/0.3126, allocations: 22.22 kB / 0.5193 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.3126, allocations: 12.42 kB / 0.5193 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004283/0.313, allocations: 1.734 MB / 0.521 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.313, allocations: 3.062 kB / 0.521 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.3134, allocations: 483.6 kB / 0.5215 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.3134, allocations: 14.5 kB / 0.5215 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3135, allocations: 4 kB / 0.5215 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.3136, allocations: 11.48 kB / 0.5215 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.3136, allocations: 21.31 kB / 0.5215 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.3136, allocations: 14.94 kB / 0.5216 GB, free: 11.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.106e-05/0.3137, allocations: 127.7 kB / 0.5217 GB, free: 11.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3137, allocations: 0 / 0.5217 GB, free: 11.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.314, allocations: 134.2 kB / 0.5218 GB, free: 11.76 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 (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.0003957/0.3144, allocations: 268.7 kB / 0.5221 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.3147, allocations: 200.5 kB / 0.5223 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3147, allocations: 0 / 0.5223 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3149, allocations: 284.7 kB / 0.5225 GB, free: 11.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.3152, allocations: 52.14 kB / 0.5226 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006899/0.3158, allocations: 404.6 kB / 0.523 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.843e-05/0.3159, allocations: 72.02 kB / 0.523 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.316, allocations: 55.08 kB / 0.5231 GB, free: 10.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.3161, allocations: 24.11 kB / 0.5231 GB, free: 10.93 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3161, allocations: 0 / 0.5231 GB, free: 10.93 MB / 410.7 MB Notification: Performance of Templates: time 0.006801/0.3229, allocations: 6.409 MB / 0.5294 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.717073333915323]