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.001806/0.001806, allocations: 90 kB / 20.69 MB, free: 1.02 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.002396/0.002396, allocations: 158.6 kB / 23.95 MB, free: 4.152 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.602/1.602, allocations: 177 MB / 204.1 MB, free: 9.125 MB / 190.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.2988/0.2988, allocations: 34.27 MB / 294.8 MB, free: 14.49 MB / 286.1 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 1.553e-06/1.553e-06, allocations: 0 / 442.6 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.262e-05, allocations: 4.953 kB / 442.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4852/0.4852, allocations: 131.8 MB / 0.561 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004442/0.4897, allocations: 2.916 MB / 0.5639 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.4898, allocations: 4 kB / 0.5639 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.4902, allocations: 59.59 kB / 0.5639 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.4935, allocations: 1.115 MB / 0.565 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005892/0.4941, allocations: 200.9 kB / 0.5652 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005957/0.4947, allocations: 378.4 kB / 0.5656 GB, free: 13.17 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.481e-05/0.4947, allocations: 10.06 kB / 0.5656 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.4951, allocations: 195.4 kB / 0.5658 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.4954, allocations: 115.7 kB / 0.5659 GB, free: 12.85 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.4954, allocations: 12 kB / 0.5659 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.4984, allocations: 1.356 MB / 0.5672 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.4986, allocations: 95.75 kB / 0.5673 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.4987, allocations: 87.83 kB / 0.5674 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.5006, allocations: 1.076 MB / 0.5684 GB, free: 10.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5007, allocations: 0 / 0.5684 GB, free: 10.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5007, allocations: 0 / 0.5684 GB, free: 10.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.5007, allocations: 0 / 0.5684 GB, free: 10.22 MB / 478.1 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.001045/0.5017, allocations: 498.7 kB / 0.5689 GB, free: 9.707 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.5017, allocations: 12.02 kB / 0.5689 GB, free: 9.695 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.5033, allocations: 204.6 kB / 0.5691 GB, free: 9.496 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.5037, allocations: 193.5 kB / 0.5693 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.5037, allocations: 8.75 kB / 0.5693 GB, free: 9.273 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.5038, allocations: 28.52 kB / 0.5693 GB, free: 9.246 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/0.5046, allocations: 0.5918 MB / 0.5699 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5046, allocations: 4 kB / 0.5699 GB, free: 8.594 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.5046, allocations: 4 kB / 0.5699 GB, free: 8.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.5047, allocations: 15.98 kB / 0.5699 GB, free: 8.574 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.5053, allocations: 412.5 kB / 0.5703 GB, free: 8.172 MB / 478.1 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.001864/0.5072, allocations: 0.7203 MB / 0.571 GB, free: 7.418 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.5077, allocations: 226.6 kB / 0.5713 GB, free: 7.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.5079, allocations: 117.7 kB / 0.5714 GB, free: 7.059 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001667/0.5095, allocations: 311 kB / 0.5717 GB, free: 6.758 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.5096, allocations: 46.48 kB / 0.5717 GB, free: 6.703 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 1.974e-06/0.5096, allocations: 0 / 0.5717 GB, free: 6.703 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001358/0.5109, allocations: 385.1 kB / 0.5721 GB, free: 6.324 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.511, allocations: 89.05 kB / 0.5722 GB, free: 6.219 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.5111, allocations: 120.3 kB / 0.5723 GB, free: 6.094 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.5112, allocations: 33.69 kB / 0.5723 GB, free: 6.055 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.495e-05/0.5113, allocations: 116.5 kB / 0.5724 GB, free: 5.938 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.5114, allocations: 115 kB / 0.5725 GB, free: 5.824 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.5115, allocations: 58.03 kB / 0.5726 GB, free: 5.762 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.5117, allocations: 330.8 kB / 0.5729 GB, free: 5.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.512, allocations: 100.3 kB / 0.573 GB, free: 5.332 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.5123, allocations: 182.9 kB / 0.5732 GB, free: 5.117 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.5128, allocations: 320.3 kB / 0.5735 GB, free: 4.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.5129, allocations: 1.812 kB / 0.5735 GB, free: 4.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007376/0.5136, allocations: 357.1 kB / 0.5738 GB, free: 4.414 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.5136, allocations: 18.89 kB / 0.5738 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5136, allocations: 0 / 0.5738 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.5136, allocations: 8 kB / 0.5738 GB, free: 4.391 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.514, allocations: 67.91 kB / 0.5739 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.514, allocations: 11.94 kB / 0.5739 GB, free: 4.312 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.5143, allocations: 32.14 kB / 0.574 GB, free: 4.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.5143, allocations: 16 kB / 0.574 GB, free: 4.266 MB / 478.1 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.0001996/0.5145, allocations: 141.7 kB / 0.5741 GB, free: 4.117 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.5146, allocations: 23.89 kB / 0.5741 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007726/0.5154, allocations: 337.3 kB / 0.5744 GB, free: 3.758 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.5154, allocations: 4 kB / 0.5744 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.5154, allocations: 0 / 0.5744 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.5154, allocations: 7.984 kB / 0.5745 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.5161, allocations: 242.8 kB / 0.5747 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5161, allocations: 0 / 0.5747 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.5164, allocations: 58.03 kB / 0.5747 GB, free: 3.422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.5164, allocations: 8 kB / 0.5748 GB, free: 3.414 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.5165, allocations: 15.92 kB / 0.5748 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5165, allocations: 0 / 0.5748 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5165, allocations: 0 / 0.5748 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008972/0.5174, allocations: 0.515 MB / 0.5753 GB, free: 2.867 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.5174, allocations: 23.89 kB / 0.5753 GB, free: 2.844 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.5174, allocations: 11.94 kB / 0.5753 GB, free: 2.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.5178, allocations: 15.98 kB / 0.5753 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.5178, allocations: 19.91 kB / 0.5753 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.5179, allocations: 19.98 kB / 0.5754 GB, free: 2.777 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.069e-05/0.5179, allocations: 95.56 kB / 0.5754 GB, free: 2.684 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5179, allocations: 0 / 0.5754 GB, free: 2.684 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001007/0.5189, allocations: 243.3 kB / 0.5757 GB, free: 2.445 MB / 478.1 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.001574/0.5205, allocations: 470.2 kB / 0.5761 GB, free: 1.977 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006082/0.5211, allocations: 255.8 kB / 0.5764 GB, free: 1.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5211, allocations: 0 / 0.5764 GB, free: 1.727 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.5214, allocations: 131.8 kB / 0.5765 GB, free: 1.598 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/0.5221, allocations: 90.69 kB / 0.5766 GB, free: 1.516 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.5233, allocations: 0.5897 MB / 0.5772 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.5235, allocations: 128.5 kB / 0.5773 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003705/0.5239, allocations: 77.77 kB / 0.5774 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.524, allocations: 32.48 kB / 0.5774 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.524, allocations: 0 / 0.5774 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of Templates: time 0.0188/0.5428, allocations: 8.624 MB / 0.5858 GB, free: 8.109 MB / 494.1 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: 6.055598463863134]