Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.002005/0.002005, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002526/0.002526, allocations: 161.6 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.542/1.542, allocations: 177.2 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.3838/0.3838, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.454e-05/3.662e-05, allocations: 6.25 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3937/0.3937, allocations: 131.8 MB / 0.4952 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.3977, allocations: 2.813 MB / 0.4979 GB, free: 25.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.3978, allocations: 5.094 kB / 0.4979 GB, free: 25.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.3983, allocations: 57.34 kB / 0.498 GB, free: 25.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.4014, allocations: 1.085 MB / 0.4991 GB, free: 24.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.4019, allocations: 199.2 kB / 0.4992 GB, free: 24.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004922/0.4024, allocations: 366.5 kB / 0.4996 GB, free: 24.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.4024, allocations: 10.94 kB / 0.4996 GB, free: 24.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003613/0.4028, allocations: 200.8 kB / 0.4998 GB, free: 24.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.403, allocations: 100.5 kB / 0.4999 GB, free: 24.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.4031, allocations: 12.53 kB / 0.4999 GB, free: 24.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.4057, allocations: 1.323 MB / 0.5012 GB, free: 23.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4059, allocations: 83.09 kB / 0.5013 GB, free: 23.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.406, allocations: 83.77 kB / 0.5014 GB, free: 23.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.4077, allocations: 1.073 MB / 0.5024 GB, free: 23.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4077, allocations: 1.609 kB / 0.5024 GB, free: 23.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4077, allocations: 0 / 0.5024 GB, free: 23.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.4078, allocations: 0 / 0.5024 GB, free: 23.54 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001006/0.4088, allocations: 485.7 kB / 0.5029 GB, free: 23.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4088, allocations: 10.25 kB / 0.5029 GB, free: 23.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.4105, allocations: 281 kB / 0.5031 GB, free: 23.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.4108, allocations: 195.5 kB / 0.5033 GB, free: 22.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.4109, allocations: 12.19 kB / 0.5033 GB, free: 22.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/0.4109, allocations: 23.97 kB / 0.5034 GB, free: 22.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.4117, allocations: 0.5677 MB / 0.5039 GB, free: 22.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4117, allocations: 0 / 0.5039 GB, free: 22.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.4117, allocations: 7.375 kB / 0.5039 GB, free: 22.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.4118, allocations: 4.5 kB / 0.5039 GB, free: 22.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007033/0.4125, allocations: 403.1 kB / 0.5043 GB, free: 22.43 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.001695/0.4142, allocations: 0.7035 MB / 0.505 GB, free: 21.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.4145, allocations: 215.1 kB / 0.5052 GB, free: 21.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.4147, allocations: 115.2 kB / 0.5053 GB, free: 21.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/0.4162, allocations: 325.1 kB / 0.5056 GB, free: 21.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.4163, allocations: 41.97 kB / 0.5057 GB, free: 21.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.293e-06/0.4163, allocations: 0 / 0.5057 GB, free: 21.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001152/0.4174, allocations: 390.2 kB / 0.506 GB, free: 21.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.4174, allocations: 80.77 kB / 0.5061 GB, free: 21.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.4175, allocations: 118.9 kB / 0.5062 GB, free: 21.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.4176, allocations: 32.58 kB / 0.5063 GB, free: 21.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.4176, allocations: 108.6 kB / 0.5064 GB, free: 21.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.4177, allocations: 113.5 kB / 0.5065 GB, free: 21.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.882e-05/0.4178, allocations: 70.06 kB / 0.5065 GB, free: 21.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.4178, allocations: 324.9 kB / 0.5069 GB, free: 20.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.418, allocations: 97.05 kB / 0.5069 GB, free: 20.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.4182, allocations: 180.8 kB / 0.5071 GB, free: 20.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.4186, allocations: 300.6 kB / 0.5074 GB, free: 20.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4186, allocations: 0 / 0.5074 GB, free: 20.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005471/0.4192, allocations: 371.5 kB / 0.5078 GB, free: 20.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4192, allocations: 9.219 kB / 0.5078 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4192, allocations: 9.625 kB / 0.5078 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.4192, allocations: 5.656 kB / 0.5078 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.4195, allocations: 72 kB / 0.5078 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4195, allocations: 6.031 kB / 0.5079 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.4197, allocations: 27.94 kB / 0.5079 GB, free: 20.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.4198, allocations: 17.84 kB / 0.5079 GB, free: 20.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.4199, allocations: 135.7 kB / 0.508 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.42, allocations: 31.2 kB / 0.5081 GB, free: 20.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005919/0.4206, allocations: 328.3 kB / 0.5084 GB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4206, allocations: 7.469 kB / 0.5084 GB, free: 19.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.4206, allocations: 2.812 kB / 0.5084 GB, free: 19.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4206, allocations: 3 kB / 0.5084 GB, free: 19.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.421, allocations: 230.7 kB / 0.5086 GB, free: 19.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.421, allocations: 6.875 kB / 0.5086 GB, free: 19.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.4214, allocations: 54.94 kB / 0.5087 GB, free: 19.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4214, allocations: 2.812 kB / 0.5087 GB, free: 19.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.4214, allocations: 13.09 kB / 0.5087 GB, free: 19.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4214, allocations: 2.109 kB / 0.5087 GB, free: 19.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4214, allocations: 0 / 0.5087 GB, free: 19.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/0.422, allocations: 0.5263 MB / 0.5092 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.4221, allocations: 18.78 kB / 0.5092 GB, free: 19.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.4221, allocations: 9.625 kB / 0.5092 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.4224, allocations: 18.34 kB / 0.5092 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.4225, allocations: 22 kB / 0.5093 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.4225, allocations: 14.86 kB / 0.5093 GB, free: 19.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.984e-05/0.4225, allocations: 85.17 kB / 0.5094 GB, free: 19.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4225, allocations: 0 / 0.5094 GB, free: 19.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001053/0.4236, allocations: 242.1 kB / 0.5096 GB, free: 19.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009627/0.4245, allocations: 466.6 kB / 0.51 GB, free: 19.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004414/0.425, allocations: 248.1 kB / 0.5103 GB, free: 18.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.425, allocations: 0.625 kB / 0.5103 GB, free: 18.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.4252, allocations: 123.2 kB / 0.5104 GB, free: 18.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/0.4258, allocations: 100.8 kB / 0.5105 GB, free: 18.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.4268, allocations: 0.5714 MB / 0.511 GB, free: 18.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.4269, allocations: 127.2 kB / 0.5112 GB, free: 18.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.4271, allocations: 68.55 kB / 0.5112 GB, free: 18.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4272, allocations: 33.58 kB / 0.5113 GB, free: 18.4 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4272, allocations: 2 kB / 0.5113 GB, free: 18.4 MB / 410.7 MB Notification: Performance of Templates: time 0.01263/0.4399, allocations: 8.443 MB / 0.5195 GB, free: 16.94 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.697713835979812]