Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.369/0.369, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 3.938 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.162e-05, allocations: 2.312 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4743/0.4743, allocations: 131.8 MB / 0.4971 GB, free: 25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007292/0.4816, allocations: 2.923 MB / 0.5 GB, free: 23.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.4819, allocations: 0 / 0.5 GB, free: 23.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006572/0.4826, allocations: 61.38 kB / 0.5 GB, free: 23.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005631/0.4882, allocations: 1.123 MB / 0.5011 GB, free: 22.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.4891, allocations: 195.4 kB / 0.5013 GB, free: 22.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008938/0.49, allocations: 371.8 kB / 0.5017 GB, free: 22.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.634e-05/0.49, allocations: 5.969 kB / 0.5017 GB, free: 22.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007806/0.4908, allocations: 207.9 kB / 0.5019 GB, free: 22.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.4912, allocations: 113.9 kB / 0.502 GB, free: 22.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.045e-05/0.4912, allocations: 12.41 kB / 0.502 GB, free: 22.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00485/0.4961, allocations: 1.356 MB / 0.5033 GB, free: 21.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.4963, allocations: 87.28 kB / 0.5034 GB, free: 21.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.4967, allocations: 88.66 kB / 0.5035 GB, free: 21.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004195/0.5009, allocations: 1.083 MB / 0.5045 GB, free: 21.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.5009, allocations: 4 kB / 0.5045 GB, free: 21.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5009, allocations: 1.375 kB / 0.5045 GB, free: 21.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.5009, allocations: 3.938 kB / 0.5045 GB, free: 21.33 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002055/0.5029, allocations: 495.5 kB / 0.505 GB, free: 20.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.503, allocations: 9.609 kB / 0.505 GB, free: 20.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/0.5057, allocations: 279.1 kB / 0.5053 GB, free: 20.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.5063, allocations: 187.3 kB / 0.5055 GB, free: 20.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.5063, allocations: 20.11 kB / 0.5055 GB, free: 20.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.5064, allocations: 29.8 kB / 0.5055 GB, free: 20.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.5076, allocations: 0.5796 MB / 0.5061 GB, free: 20.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5076, allocations: 1.344 kB / 0.5061 GB, free: 20.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.068e-05/0.5077, allocations: 10.66 kB / 0.5061 GB, free: 20.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.5078, allocations: 9.766 kB / 0.5061 GB, free: 20.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.5088, allocations: 420.2 kB / 0.5065 GB, free: 20.2 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.002651/0.5114, allocations: 0.7222 MB / 0.5072 GB, free: 19.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.5121, allocations: 219.9 kB / 0.5074 GB, free: 19.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.5123, allocations: 126 kB / 0.5075 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002368/0.5147, allocations: 313 kB / 0.5078 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.5147, allocations: 43.34 kB / 0.5079 GB, free: 19.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 5.29e-06/0.5148, allocations: 0 / 0.5079 GB, free: 19.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001908/0.5167, allocations: 408.5 kB / 0.5083 GB, free: 19.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.5167, allocations: 81.89 kB / 0.5083 GB, free: 19.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.5169, allocations: 121 kB / 0.5085 GB, free: 19.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.5169, allocations: 31.86 kB / 0.5085 GB, free: 19.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.517, allocations: 114.7 kB / 0.5086 GB, free: 19.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.5171, allocations: 122.5 kB / 0.5087 GB, free: 18.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.5173, allocations: 61.27 kB / 0.5088 GB, free: 18.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5174, allocations: 327.1 kB / 0.5091 GB, free: 18.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.5177, allocations: 102.3 kB / 0.5092 GB, free: 18.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.5181, allocations: 190.8 kB / 0.5094 GB, free: 18.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.5187, allocations: 309.1 kB / 0.5097 GB, free: 18.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.5187, allocations: 0 / 0.5097 GB, free: 18.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001067/0.5198, allocations: 381 kB / 0.51 GB, free: 18.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.5198, allocations: 9.656 kB / 0.51 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.5198, allocations: 5.781 kB / 0.51 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.982e-05/0.5199, allocations: 5.344 kB / 0.51 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.5204, allocations: 72.94 kB / 0.5101 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.5204, allocations: 5.625 kB / 0.5101 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.5208, allocations: 26.23 kB / 0.5101 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/0.5208, allocations: 22.05 kB / 0.5102 GB, free: 18 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 (40): * Single equations (assignments): 39 * Array equations: 1 * 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.0002005/0.521, allocations: 147.1 kB / 0.5103 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.5212, allocations: 31.53 kB / 0.5103 GB, free: 17.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009486/0.5222, allocations: 343.9 kB / 0.5107 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.5222, allocations: 2.719 kB / 0.5107 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.5222, allocations: 2.094 kB / 0.5107 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.5222, allocations: 10.61 kB / 0.5107 GB, free: 17.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008425/0.5231, allocations: 240 kB / 0.5109 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.5231, allocations: 0 / 0.5109 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.5235, allocations: 54.81 kB / 0.511 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.5235, allocations: 2.875 kB / 0.511 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.5236, allocations: 13.48 kB / 0.511 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.5236, allocations: 8.344 kB / 0.511 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5236, allocations: 0 / 0.511 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.5247, allocations: 0.5329 MB / 0.5115 GB, free: 17.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.5247, allocations: 23.97 kB / 0.5115 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.5248, allocations: 16.81 kB / 0.5115 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.5253, allocations: 12.2 kB / 0.5116 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.5253, allocations: 20.89 kB / 0.5116 GB, free: 17.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/0.5254, allocations: 19.31 kB / 0.5116 GB, free: 17.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.667e-05/0.5255, allocations: 86.94 kB / 0.5117 GB, free: 17.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5255, allocations: 0 / 0.5117 GB, free: 17.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002649/0.5281, allocations: 242 kB / 0.5119 GB, free: 17 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.003247/0.5314, allocations: 462.2 kB / 0.5123 GB, free: 16.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007526/0.5321, allocations: 260.9 kB / 0.5126 GB, free: 16.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5321, allocations: 4.562 kB / 0.5126 GB, free: 16.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.5325, allocations: 133.5 kB / 0.5127 GB, free: 16.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.5336, allocations: 103 kB / 0.5128 GB, free: 16.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.5351, allocations: 0.5988 MB / 0.5134 GB, free: 16.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.5353, allocations: 118.5 kB / 0.5135 GB, free: 16.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005221/0.5358, allocations: 83.83 kB / 0.5136 GB, free: 16.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.536, allocations: 35.08 kB / 0.5136 GB, free: 16.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.536, allocations: 0 / 0.5136 GB, free: 16.13 MB / 410.7 MB Notification: Performance of Templates: time 0.02338/0.5594, allocations: 8.73 MB / 0.5222 GB, free: 14.25 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.96065115602687]