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.001082/0.001082, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001217/0.001217, allocations: 160.5 kB / 24.55 MB, free: 20 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.036/1.036, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.2473/0.2473, allocations: 34.87 MB / 296.3 MB, free: 492 kB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.689e-05, allocations: 4.422 kB / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2884/0.2884, allocations: 145.8 MB / 0.5123 GB, free: 17.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.2914, allocations: 3.302 MB / 0.5155 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2916, allocations: 3.938 kB / 0.5155 GB, free: 15.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.292, allocations: 58.88 kB / 0.5155 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.2943, allocations: 1.122 MB / 0.5166 GB, free: 14.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.2947, allocations: 200.9 kB / 0.5168 GB, free: 14.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.2951, allocations: 379.1 kB / 0.5172 GB, free: 14.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.2952, allocations: 9.531 kB / 0.5172 GB, free: 14.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.2954, allocations: 205.6 kB / 0.5174 GB, free: 14.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.2956, allocations: 113.2 kB / 0.5175 GB, free: 14.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.2956, allocations: 11.78 kB / 0.5175 GB, free: 14.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.2977, allocations: 1.355 MB / 0.5188 GB, free: 13.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.917e-05/0.2978, allocations: 83.89 kB / 0.5189 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.2979, allocations: 85.48 kB / 0.519 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.2993, allocations: 1.034 MB / 0.52 GB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2993, allocations: 0 / 0.52 GB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2993, allocations: 6.875 kB / 0.52 GB, free: 13.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2993, allocations: 0 / 0.52 GB, free: 13.57 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.0007637/0.3001, allocations: 0.5833 MB / 0.5206 GB, free: 13.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3001, allocations: 9.688 kB / 0.5206 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009058/0.301, allocations: 270.9 kB / 0.5208 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.3013, allocations: 196.1 kB / 0.521 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3013, allocations: 13.19 kB / 0.521 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.3013, allocations: 26.95 kB / 0.5211 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.3017, allocations: 485.8 kB / 0.5215 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3017, allocations: 0 / 0.5215 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.3018, allocations: 10.94 kB / 0.5215 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.3018, allocations: 12 kB / 0.5216 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.3021, allocations: 209.6 kB / 0.5218 GB, free: 12.46 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.001001/0.3031, allocations: 0.773 MB / 0.5225 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.3033, allocations: 199.5 kB / 0.5227 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.161e-05/0.3034, allocations: 93.92 kB / 0.5228 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008075/0.3042, allocations: 306.8 kB / 0.5231 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3042, allocations: 40.67 kB / 0.5231 GB, free: 11.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.3042, allocations: 0 / 0.5231 GB, free: 11.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006998/0.3049, allocations: 347.3 kB / 0.5235 GB, free: 11.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.305, allocations: 87.73 kB / 0.5235 GB, free: 11.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.305, allocations: 178.2 kB / 0.5237 GB, free: 11.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.305, allocations: 29.7 kB / 0.5237 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.3051, allocations: 155.4 kB / 0.5239 GB, free: 11.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.3051, allocations: 122.7 kB / 0.524 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/0.3052, allocations: 66.27 kB / 0.5241 GB, free: 10.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.3052, allocations: 0.4984 MB / 0.5246 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.3053, allocations: 60.34 kB / 0.5246 GB, free: 10.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3054, allocations: 184 kB / 0.5248 GB, free: 10.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.3057, allocations: 278.1 kB / 0.5251 GB, free: 10.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.3057, allocations: 0 / 0.5251 GB, free: 10.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003591/0.306, allocations: 300.5 kB / 0.5253 GB, free: 10 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.306, allocations: 12.66 kB / 0.5254 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.306, allocations: 0 / 0.5254 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3061, allocations: 5.812 kB / 0.5254 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.3063, allocations: 71.47 kB / 0.5254 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3063, allocations: 9.781 kB / 0.5254 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3064, allocations: 32.36 kB / 0.5255 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.3064, allocations: 18.41 kB / 0.5255 GB, free: 9.957 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 7.563e-05/0.3065, allocations: 173.9 kB / 0.5256 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/0.3066, allocations: 39.11 kB / 0.5257 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.3069, allocations: 287 kB / 0.526 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.3069, allocations: 3.156 kB / 0.526 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3069, allocations: 1.969 kB / 0.526 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3069, allocations: 2.688 kB / 0.526 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.3072, allocations: 244.9 kB / 0.5262 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3072, allocations: 0 / 0.5262 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.3074, allocations: 58.11 kB / 0.5263 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3074, allocations: 9.297 kB / 0.5263 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3074, allocations: 10.88 kB / 0.5263 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3074, allocations: 3.281 kB / 0.5263 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3074, allocations: 0 / 0.5263 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.3078, allocations: 0.5632 MB / 0.5268 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.3079, allocations: 19.5 kB / 0.5268 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.3079, allocations: 15.36 kB / 0.5269 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.308, allocations: 12.14 kB / 0.5269 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.3081, allocations: 21.75 kB / 0.5269 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.3081, allocations: 20.06 kB / 0.5269 GB, free: 9.031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.626e-05/0.3081, allocations: 131.4 kB / 0.527 GB, free: 8.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3081, allocations: 0 / 0.527 GB, free: 8.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007714/0.3089, allocations: 238.3 kB / 0.5273 GB, free: 8.855 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.0007839/0.3097, allocations: 479 kB / 0.5277 GB, free: 8.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.31, allocations: 215.9 kB / 0.5279 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.31, allocations: 0 / 0.5279 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3101, allocations: 114.8 kB / 0.528 GB, free: 8.586 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.3105, allocations: 100.4 kB / 0.5281 GB, free: 8.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009533/0.3115, allocations: 0.5823 MB / 0.5287 GB, free: 8.137 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.569e-05/0.3115, allocations: 84.72 kB / 0.5288 GB, free: 8.066 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001937/0.3117, allocations: 77.03 kB / 0.5289 GB, free: 8.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.3118, allocations: 34.45 kB / 0.5289 GB, free: 8.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3118, allocations: 0 / 0.5289 GB, free: 8.02 MB / 410.7 MB Notification: Performance of Templates: time 0.009929/0.3217, allocations: 8.788 MB / 0.5375 GB, free: 5.219 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] 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","",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.6667418689467013]