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.001187/0.001187, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001232/0.001232, allocations: 165 kB / 24.56 MB, free: 16 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 0.99/0.99, allocations: 177.1 MB / 205 MB, free: 5.609 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.2899/0.2899, allocations: 32.81 MB / 294.3 MB, free: 1.281 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 2.195e-06/2.195e-06, allocations: 0 / 376 MB, free: 4.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.431e-05/3.65e-05, allocations: 2.312 kB / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2935/0.2936, allocations: 145.5 MB / 0.5092 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.295, allocations: 1.622 MB / 0.5108 GB, free: 19.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.2951, allocations: 3.375 kB / 0.5108 GB, free: 19.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.2954, allocations: 44.31 kB / 0.5109 GB, free: 19.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008342/0.2963, allocations: 430.1 kB / 0.5113 GB, free: 19.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.2966, allocations: 167.9 kB / 0.5114 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.2968, allocations: 193.8 kB / 0.5116 GB, free: 18.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.2969, allocations: 3.688 kB / 0.5116 GB, free: 18.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.297, allocations: 110.7 kB / 0.5117 GB, free: 18.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.2972, allocations: 50.5 kB / 0.5118 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2972, allocations: 6.375 kB / 0.5118 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007454/0.2979, allocations: 0.5528 MB / 0.5123 GB, free: 18.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.298, allocations: 29.91 kB / 0.5124 GB, free: 18.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.298, allocations: 39.67 kB / 0.5124 GB, free: 18.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.2986, allocations: 428.3 kB / 0.5128 GB, free: 18.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2986, allocations: 0 / 0.5128 GB, free: 18.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2986, allocations: 4 kB / 0.5128 GB, free: 18.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2986, allocations: 0 / 0.5128 GB, free: 18.52 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.0004413/0.299, allocations: 465.1 kB / 0.5133 GB, free: 18.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2991, allocations: 8.094 kB / 0.5133 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.3002, allocations: 222.2 kB / 0.5135 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3004, allocations: 158.8 kB / 0.5136 GB, free: 17.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3004, allocations: 7.688 kB / 0.5136 GB, free: 17.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.3004, allocations: 13.47 kB / 0.5136 GB, free: 17.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.3007, allocations: 255.6 kB / 0.5139 GB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3007, allocations: 0 / 0.5139 GB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.3007, allocations: 6.875 kB / 0.5139 GB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3007, allocations: 0 / 0.5139 GB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.3009, allocations: 162.2 kB / 0.5141 GB, free: 17.7 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.0009402/0.3019, allocations: 0.5383 MB / 0.5146 GB, free: 17.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.3021, allocations: 177.8 kB / 0.5147 GB, free: 17.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.594e-05/0.3022, allocations: 88.72 kB / 0.5148 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.64e-05/0.3023, allocations: 12.16 kB / 0.5148 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.3023, allocations: 37.67 kB / 0.5149 GB, free: 17.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3023, allocations: 0 / 0.5149 GB, free: 17.18 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.002494/0.3048, allocations: 1.201 MB / 0.5161 GB, free: 16.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.3048, allocations: 54.56 kB / 0.5161 GB, free: 16.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.93e-05/0.3048, allocations: 170.3 kB / 0.5163 GB, free: 16.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3049, allocations: 36.86 kB / 0.5163 GB, free: 16.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.3049, allocations: 144 kB / 0.5164 GB, free: 16.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.3049, allocations: 73.86 kB / 0.5165 GB, free: 16.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.305, allocations: 51.09 kB / 0.5166 GB, free: 16.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.305, allocations: 0.4903 MB / 0.517 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.603e-05/0.3051, allocations: 66.14 kB / 0.5171 GB, free: 15.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.656e-05/0.3052, allocations: 115.6 kB / 0.5172 GB, free: 15.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3054, allocations: 194.4 kB / 0.5174 GB, free: 15.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3054, allocations: 0 / 0.5174 GB, free: 15.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002787/0.3057, allocations: 253.1 kB / 0.5176 GB, free: 15.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.3057, allocations: 6 kB / 0.5176 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3057, allocations: 0 / 0.5176 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.871e-05/0.3058, allocations: 32.11 kB / 0.5177 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.306, allocations: 53.33 kB / 0.5177 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001853/0.3062, allocations: 0.7952 MB / 0.5185 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.3063, allocations: 9.297 kB / 0.5185 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.3063, allocations: 11.7 kB / 0.5185 GB, free: 14.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 6.848e-05/0.3064, allocations: 170 kB / 0.5187 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.3064, allocations: 23.81 kB / 0.5187 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.3068, allocations: 279.5 kB / 0.519 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3068, allocations: 3.438 kB / 0.519 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3068, allocations: 0 / 0.519 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3068, allocations: 0 / 0.519 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.3073, allocations: 0.6021 MB / 0.5196 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3073, allocations: 0 / 0.5196 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.3075, allocations: 49.48 kB / 0.5196 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.885e-05/0.3076, allocations: 21.03 kB / 0.5196 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3076, allocations: 12.44 kB / 0.5196 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003925/0.308, allocations: 1.737 MB / 0.5213 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.308, allocations: 0.875 kB / 0.5213 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.3083, allocations: 480.7 kB / 0.5218 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.3083, allocations: 10.97 kB / 0.5218 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3084, allocations: 9.609 kB / 0.5218 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3085, allocations: 10.19 kB / 0.5218 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.3085, allocations: 22.55 kB / 0.5218 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3085, allocations: 12.72 kB / 0.5219 GB, free: 11.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.11e-05/0.3086, allocations: 130.8 kB / 0.522 GB, free: 11.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3086, allocations: 6.656 kB / 0.522 GB, free: 11.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003253/0.3089, allocations: 133.8 kB / 0.5221 GB, free: 11.48 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.0003982/0.3093, allocations: 262 kB / 0.5224 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.3096, allocations: 205.3 kB / 0.5226 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3096, allocations: 0 / 0.5226 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.3098, allocations: 284 kB / 0.5228 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.31, allocations: 48.09 kB / 0.5229 GB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007003/0.3107, allocations: 400.8 kB / 0.5233 GB, free: 10.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.943e-05/0.3108, allocations: 72.83 kB / 0.5233 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.3109, allocations: 60.34 kB / 0.5234 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.311, allocations: 24.75 kB / 0.5234 GB, free: 10.66 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.311, allocations: 0 / 0.5234 GB, free: 10.66 MB / 410.7 MB Notification: Performance of Templates: time 0.00714/0.3181, allocations: 7.088 MB / 0.5303 GB, free: 9.84 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.6132961846888065]