Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001268/0.001268, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001453/0.001453, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2239/0.2239, allocations: 46.93 MB / 361.6 MB, free: 4.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 0.4974 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2995, allocations: 66.02 MB / 0.5619 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1778/0.4772, allocations: 153.3 MB / 0.7116 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003993/0.4812, allocations: 3.247 MB / 0.7147 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/0.4813, allocations: 8 kB / 0.7147 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.4817, allocations: 67.58 kB / 0.7148 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.4843, allocations: 1.108 MB / 0.7159 GB, free: 6.113 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.4848, allocations: 203.3 kB / 0.7161 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.4853, allocations: 374.6 kB / 0.7164 GB, free: 5.551 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.4854, allocations: 9.297 kB / 0.7164 GB, free: 5.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.4856, allocations: 159.5 kB / 0.7166 GB, free: 5.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.4858, allocations: 131.5 kB / 0.7167 GB, free: 5.258 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.4859, allocations: 12 kB / 0.7167 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.4888, allocations: 1.64 MB / 0.7183 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.489, allocations: 87.7 kB / 0.7184 GB, free: 3.516 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.4891, allocations: 111.6 kB / 0.7185 GB, free: 3.406 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.4907, allocations: 1.019 MB / 0.7195 GB, free: 2.391 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4907, allocations: 0 / 0.7195 GB, free: 2.391 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4907, allocations: 4 kB / 0.7195 GB, free: 2.387 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.4907, allocations: 0 / 0.7195 GB, free: 2.387 MB / 0.545 GB 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.0008737/0.4916, allocations: 497.1 kB / 0.72 GB, free: 1.871 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4916, allocations: 8.031 kB / 0.72 GB, free: 1.863 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.493, allocations: 208.6 kB / 0.7202 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.4934, allocations: 202 kB / 0.7204 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4934, allocations: 12.38 kB / 0.7204 GB, free: 1.426 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.4934, allocations: 27.98 kB / 0.7204 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/0.494, allocations: 388.1 kB / 0.7208 GB, free: 1.012 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4941, allocations: 0 / 0.7208 GB, free: 1.012 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.4941, allocations: 12 kB / 0.7208 GB, free: 1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.4941, allocations: 4 kB / 0.7208 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.4947, allocations: 424.4 kB / 0.7212 GB, free: 0.582 MB / 0.545 GB 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.001717/0.4964, allocations: 0.7894 MB / 0.722 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.4969, allocations: 225.1 kB / 0.7222 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.497, allocations: 125.7 kB / 0.7223 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/0.4985, allocations: 313.7 kB / 0.7226 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.4986, allocations: 42.5 kB / 0.7227 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.4986, allocations: 0 / 0.7227 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001192/0.4998, allocations: 384.2 kB / 0.723 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.4998, allocations: 85.05 kB / 0.7231 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/0.4999, allocations: 117.8 kB / 0.7232 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.5, allocations: 29.7 kB / 0.7233 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.5001, allocations: 112.6 kB / 0.7234 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.573e-05/0.5001, allocations: 119 kB / 0.7235 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5003, allocations: 62.02 kB / 0.7235 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5004, allocations: 330.8 kB / 0.7238 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.5006, allocations: 108 kB / 0.724 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.5008, allocations: 186.9 kB / 0.7241 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.5013, allocations: 312.2 kB / 0.7244 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.5013, allocations: 8 kB / 0.7244 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006466/0.502, allocations: 357.4 kB / 0.7248 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.502, allocations: 8 kB / 0.7248 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.502, allocations: 0 / 0.7248 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.502, allocations: 4 kB / 0.7248 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.5024, allocations: 75.89 kB / 0.7249 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.5024, allocations: 7.938 kB / 0.7249 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.5026, allocations: 27.78 kB / 0.7249 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.5026, allocations: 23.98 kB / 0.7249 GB, free: 12.58 MB / 0.5606 GB 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.0001463/0.5028, allocations: 137.8 kB / 0.725 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.5029, allocations: 23.89 kB / 0.7251 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/0.5036, allocations: 336.6 kB / 0.7254 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.5036, allocations: 4 kB / 0.7254 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5036, allocations: 0 / 0.7254 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5036, allocations: 0 / 0.7254 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005945/0.5042, allocations: 314.1 kB / 0.7257 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.5042, allocations: 4 kB / 0.7257 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.5045, allocations: 51.91 kB / 0.7257 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.5045, allocations: 3.984 kB / 0.7258 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.5045, allocations: 16 kB / 0.7258 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5045, allocations: 0 / 0.7258 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5045, allocations: 7.938 kB / 0.7258 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007865/0.5053, allocations: 0.5347 MB / 0.7263 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.5054, allocations: 11.89 kB / 0.7263 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.5054, allocations: 8.062 kB / 0.7263 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.5057, allocations: 15.97 kB / 0.7263 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.5057, allocations: 19.97 kB / 0.7264 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.5058, allocations: 19.98 kB / 0.7264 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.146e-05/0.5058, allocations: 95.2 kB / 0.7265 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5058, allocations: 0 / 0.7265 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008009/0.5066, allocations: 235.4 kB / 0.7267 GB, free: 10.7 MB / 0.5606 GB 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.0009848/0.5076, allocations: 454.7 kB / 0.7271 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005265/0.5082, allocations: 251.8 kB / 0.7274 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5082, allocations: 3.938 kB / 0.7274 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.5084, allocations: 136.4 kB / 0.7275 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006352/0.509, allocations: 94.62 kB / 0.7276 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.5103, allocations: 0.7761 MB / 0.7283 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.5106, allocations: 0.7363 MB / 0.7291 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.5108, allocations: 39.42 kB / 0.7291 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.5108, allocations: 0 / 0.7291 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of Templates: time 0.01007/0.5208, allocations: 6.532 MB / 0.7355 GB, free: 1.625 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 9.177096517989412]