Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001517/0.001517, allocations: 105 kB / 20.44 MB, free: 1.504 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.001648/0.001648, allocations: 215 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2003/0.2003, allocations: 44.24 MB / 331 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 67.89 kB / 468.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1135, allocations: 61.04 MB / 0.5174 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3621/0.4756, allocations: 151.7 MB / 0.6655 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003878/0.4795, allocations: 3.058 MB / 0.6685 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.4796, allocations: 3.938 kB / 0.6685 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.48, allocations: 59.64 kB / 0.6685 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.4824, allocations: 1.062 MB / 0.6696 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.4829, allocations: 201.3 kB / 0.6698 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.4834, allocations: 362.7 kB / 0.6701 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.4835, allocations: 5.312 kB / 0.6701 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.4838, allocations: 155.4 kB / 0.6703 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.484, allocations: 115.6 kB / 0.6704 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.484, allocations: 12 kB / 0.6704 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.4868, allocations: 1.574 MB / 0.6719 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.919e-05/0.4869, allocations: 71.78 kB / 0.672 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.4871, allocations: 103.6 kB / 0.6721 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.4887, allocations: 0.9962 MB / 0.6731 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4887, allocations: 0 / 0.6731 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4887, allocations: 0 / 0.6731 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4887, allocations: 1.125 kB / 0.6731 GB, free: 4.164 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008911/0.4896, allocations: 489.2 kB / 0.6735 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.4896, allocations: 8.031 kB / 0.6735 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.4909, allocations: 196.6 kB / 0.6737 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.4913, allocations: 190.3 kB / 0.6739 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.4913, allocations: 8.938 kB / 0.6739 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.4913, allocations: 31.94 kB / 0.6739 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.4919, allocations: 377.5 kB / 0.6743 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.492, allocations: 3.938 kB / 0.6743 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.492, allocations: 8 kB / 0.6743 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.492, allocations: 4 kB / 0.6743 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005952/0.4926, allocations: 415.7 kB / 0.6747 GB, free: 2.406 MB / 0.4981 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.001664/0.4943, allocations: 0.7881 MB / 0.6755 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.4947, allocations: 217.1 kB / 0.6757 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.4948, allocations: 117.9 kB / 0.6758 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/0.4963, allocations: 313.8 kB / 0.6761 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.4963, allocations: 30.56 kB / 0.6761 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.323e-06/0.4963, allocations: 0 / 0.6761 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.001131/0.4974, allocations: 361.6 kB / 0.6765 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.4975, allocations: 89.11 kB / 0.6766 GB, free: 416 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.4976, allocations: 110.9 kB / 0.6767 GB, free: 296 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.4976, allocations: 33.7 kB / 0.6767 GB, free: 256 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.4977, allocations: 116.5 kB / 0.6768 GB, free: 136 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.8e-05/0.4978, allocations: 115 kB / 0.6769 GB, free: 20 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.4979, allocations: 58.03 kB / 0.677 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.498, allocations: 326.8 kB / 0.6773 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.4982, allocations: 104.6 kB / 0.6774 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.4985, allocations: 175.5 kB / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.499, allocations: 310.6 kB / 0.6778 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.499, allocations: 0 / 0.6778 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006193/0.4996, allocations: 338.5 kB / 0.6782 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4996, allocations: 8.312 kB / 0.6782 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4996, allocations: 4 kB / 0.6782 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4996, allocations: 4 kB / 0.6782 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.5, allocations: 75.89 kB / 0.6783 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.5, allocations: 4 kB / 0.6783 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.5002, allocations: 27.78 kB / 0.6783 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.5002, allocations: 31.86 kB / 0.6783 GB, free: 14.49 MB / 0.5137 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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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.0001335/0.5004, allocations: 137.8 kB / 0.6784 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/0.5005, allocations: 19.88 kB / 0.6785 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/0.5011, allocations: 325 kB / 0.6788 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5011, allocations: 8 kB / 0.6788 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5011, allocations: 0 / 0.6788 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.5011, allocations: 9.297 kB / 0.6788 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/0.5017, allocations: 298.2 kB / 0.6791 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5017, allocations: 0 / 0.6791 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.502, allocations: 67.83 kB / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.502, allocations: 0 / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.502, allocations: 8 kB / 0.6791 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.502, allocations: 4 kB / 0.6792 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.502, allocations: 0 / 0.6792 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007476/0.5028, allocations: 0.5161 MB / 0.6797 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.5028, allocations: 15.84 kB / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.5028, allocations: 8.062 kB / 0.6797 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.5031, allocations: 15.98 kB / 0.6797 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.5032, allocations: 23.89 kB / 0.6797 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.5032, allocations: 16 kB / 0.6797 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.37e-05/0.5033, allocations: 92.67 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5033, allocations: 0 / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007017/0.504, allocations: 227.4 kB / 0.68 GB, free: 12.66 MB / 0.5137 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 (29): * Single equations (assignments): 29 * Array equations: 0 * 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.000953/0.5049, allocations: 427 kB / 0.6804 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004915/0.5054, allocations: 256 kB / 0.6807 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5054, allocations: 0 / 0.6807 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.5056, allocations: 119.8 kB / 0.6808 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.5062, allocations: 92.28 kB / 0.6809 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.5074, allocations: 0.7507 MB / 0.6816 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.5078, allocations: 0.7363 MB / 0.6823 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.5079, allocations: 35.42 kB / 0.6824 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.5079, allocations: 4 kB / 0.6824 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.009219/0.5171, allocations: 6.314 MB / 0.6885 GB, free: 3.883 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.030604754108936]