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.001508/0.001508, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001698/0.001698, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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.388/1.388, allocations: 230.5 MB / 258.1 MB, free: 8.031 MB / 206.1 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.2065/0.2065, allocations: 46.92 MB / 361.5 MB, free: 4.211 MB / 286.1 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.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 0.00219/0.00219, allocations: 75.88 kB / 0.4974 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2979, allocations: 66.08 MB / 0.5619 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1715/0.4694, allocations: 153.3 MB / 0.7116 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0042/0.4736, allocations: 3.259 MB / 0.7148 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.4737, allocations: 0 / 0.7148 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.4741, allocations: 67.62 kB / 0.7149 GB, free: 7.055 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.4768, allocations: 1.108 MB / 0.716 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.4773, allocations: 198.4 kB / 0.7162 GB, free: 5.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005351/0.4779, allocations: 378.6 kB / 0.7165 GB, free: 5.383 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.009e-05/0.4779, allocations: 13.28 kB / 0.7165 GB, free: 5.371 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.4783, allocations: 159.5 kB / 0.7167 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.4785, allocations: 127.5 kB / 0.7168 GB, free: 5.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.975e-05/0.4786, allocations: 12 kB / 0.7168 GB, free: 5.078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.4819, allocations: 1.64 MB / 0.7184 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.482, allocations: 83.77 kB / 0.7185 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.4822, allocations: 115.5 kB / 0.7186 GB, free: 3.238 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.4842, allocations: 1.016 MB / 0.7196 GB, free: 2.227 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.4842, allocations: 0 / 0.7196 GB, free: 2.227 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4842, allocations: 4 kB / 0.7196 GB, free: 2.223 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.4842, allocations: 0 / 0.7196 GB, free: 2.223 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.001016/0.4853, allocations: 497.1 kB / 0.7201 GB, free: 1.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.4853, allocations: 8.031 kB / 0.7201 GB, free: 1.699 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.4867, allocations: 212.6 kB / 0.7203 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.4871, allocations: 194 kB / 0.7205 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4871, allocations: 16.38 kB / 0.7205 GB, free: 1.262 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.4872, allocations: 20 kB / 0.7205 GB, free: 1.242 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.4878, allocations: 392.1 kB / 0.7209 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4878, allocations: 0 / 0.7209 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.4879, allocations: 12 kB / 0.7209 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.4879, allocations: 4 kB / 0.7209 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005998/0.4885, allocations: 420.4 kB / 0.7213 GB, free: 436 kB / 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.001781/0.4903, allocations: 0.7972 MB / 0.7221 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.4907, allocations: 225 kB / 0.7223 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.4909, allocations: 127.7 kB / 0.7224 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/0.4924, allocations: 309.7 kB / 0.7227 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.4924, allocations: 42.56 kB / 0.7227 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.434e-06/0.4924, allocations: 3.938 kB / 0.7228 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001204/0.4936, allocations: 381.8 kB / 0.7231 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.4937, allocations: 85.05 kB / 0.7232 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.4938, allocations: 117.8 kB / 0.7233 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.4938, allocations: 29.7 kB / 0.7233 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.4939, allocations: 112.6 kB / 0.7234 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.494, allocations: 119 kB / 0.7236 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.4941, allocations: 66.02 kB / 0.7236 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4943, allocations: 326.8 kB / 0.7239 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.4945, allocations: 108 kB / 0.724 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.4947, allocations: 186.9 kB / 0.7242 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.4952, allocations: 320.8 kB / 0.7245 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4952, allocations: 4 kB / 0.7245 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006381/0.4959, allocations: 349.2 kB / 0.7249 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4959, allocations: 8 kB / 0.7249 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4959, allocations: 3.984 kB / 0.7249 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4959, allocations: 4.312 kB / 0.7249 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.4963, allocations: 75.91 kB / 0.7249 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.4963, allocations: 7.938 kB / 0.725 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.4965, allocations: 31.77 kB / 0.725 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.4965, allocations: 16 kB / 0.725 GB, free: 12.42 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.0001469/0.4967, allocations: 147 kB / 0.7251 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.716e-05/0.4968, allocations: 15.91 kB / 0.7252 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.4974, allocations: 336.4 kB / 0.7255 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4975, allocations: 4 kB / 0.7255 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4975, allocations: 0 / 0.7255 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4975, allocations: 7.984 kB / 0.7255 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005964/0.4981, allocations: 314.1 kB / 0.7258 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4981, allocations: 4 kB / 0.7258 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.4984, allocations: 51.91 kB / 0.7258 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4984, allocations: 0 / 0.7258 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.4984, allocations: 12 kB / 0.7259 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4984, allocations: 3.938 kB / 0.7259 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4984, allocations: 0 / 0.7259 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.4992, allocations: 0.5381 MB / 0.7264 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.4992, allocations: 15.95 kB / 0.7264 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.4993, allocations: 8 kB / 0.7264 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.4996, allocations: 11.98 kB / 0.7264 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.4996, allocations: 15.97 kB / 0.7264 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.4997, allocations: 19.98 kB / 0.7264 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.4997, allocations: 95.2 kB / 0.7265 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4997, allocations: 4 kB / 0.7265 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007861/0.5005, allocations: 243.3 kB / 0.7268 GB, free: 10.53 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.001115/0.5016, allocations: 450.4 kB / 0.7272 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005428/0.5022, allocations: 260 kB / 0.7275 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5022, allocations: 0 / 0.7275 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.5024, allocations: 134.6 kB / 0.7276 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.503, allocations: 84.7 kB / 0.7277 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.5043, allocations: 0.7839 MB / 0.7284 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.5047, allocations: 0.7402 MB / 0.7292 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.5048, allocations: 35.42 kB / 0.7292 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.5048, allocations: 0 / 0.7292 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of Templates: time 0.01073/0.5155, allocations: 6.527 MB / 0.7356 GB, free: 1.457 MB / 0.5606 GB " [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/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_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: 8.502322233980522]