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.00129/0.00129, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001477/0.001477, allocations: 218.2 kB / 23.73 MB, free: 4.164 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.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.236/0.236, allocations: 46.95 MB / 360.9 MB, free: 4.051 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.002167/0.002167, allocations: 63.91 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4252, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1999/0.625, allocations: 131.8 MB / 0.6898 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004254/0.6293, allocations: 2.921 MB / 0.6926 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.6294, allocations: 7.938 kB / 0.6926 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000438/0.6298, allocations: 59.66 kB / 0.6927 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.6331, allocations: 1.093 MB / 0.6938 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.6336, allocations: 211.1 kB / 0.694 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005208/0.6342, allocations: 358.7 kB / 0.6943 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.138e-05/0.6342, allocations: 21.27 kB / 0.6943 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.6346, allocations: 159.4 kB / 0.6945 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.6348, allocations: 123.5 kB / 0.6946 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.6348, allocations: 12 kB / 0.6946 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.6379, allocations: 1.336 MB / 0.6959 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.638, allocations: 83.7 kB / 0.696 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.6382, allocations: 95.72 kB / 0.6961 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.64, allocations: 0.9804 MB / 0.697 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.64, allocations: 0 / 0.697 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.675e-06/0.64, allocations: 0 / 0.697 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.64, allocations: 0 / 0.697 GB, free: 8.426 MB / 0.5294 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.001015/0.641, allocations: 493.1 kB / 0.6975 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.6411, allocations: 12.03 kB / 0.6975 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.6425, allocations: 208.6 kB / 0.6977 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.6429, allocations: 201.9 kB / 0.6979 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.643, allocations: 12.38 kB / 0.6979 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.643, allocations: 20 kB / 0.6979 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.6438, allocations: 0.5837 MB / 0.6985 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6438, allocations: 4 kB / 0.6985 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.6439, allocations: 8 kB / 0.6985 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.6439, allocations: 7.984 kB / 0.6985 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/0.6445, allocations: 424.4 kB / 0.6989 GB, free: 6.371 MB / 0.5294 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.001786/0.6463, allocations: 0.7081 MB / 0.6996 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.6468, allocations: 225.1 kB / 0.6998 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.647, allocations: 125.5 kB / 0.7 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/0.6485, allocations: 309.7 kB / 0.7003 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.6486, allocations: 42.56 kB / 0.7003 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 3.427e-06/0.6486, allocations: 0 / 0.7003 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001334/0.6499, allocations: 381.9 kB / 0.7007 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.65, allocations: 81.11 kB / 0.7007 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.6501, allocations: 121.8 kB / 0.7009 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.6501, allocations: 33.7 kB / 0.7009 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.6502, allocations: 108.6 kB / 0.701 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.6503, allocations: 119 kB / 0.7011 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.6504, allocations: 65.95 kB / 0.7012 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6506, allocations: 326.8 kB / 0.7015 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.6508, allocations: 104 kB / 0.7016 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.6511, allocations: 190.8 kB / 0.7018 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/0.6515, allocations: 308.1 kB / 0.7021 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.6515, allocations: 3.938 kB / 0.7021 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006526/0.6522, allocations: 367.8 kB / 0.7024 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6522, allocations: 4 kB / 0.7024 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.6522, allocations: 4 kB / 0.7024 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.6523, allocations: 4 kB / 0.7024 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.6526, allocations: 79.83 kB / 0.7025 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.6526, allocations: 4 kB / 0.7025 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.6529, allocations: 28.09 kB / 0.7025 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.6529, allocations: 27.98 kB / 0.7026 GB, free: 2.465 MB / 0.5294 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.0001603/0.6531, allocations: 137.7 kB / 0.7027 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.6532, allocations: 23.89 kB / 0.7027 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007159/0.6539, allocations: 330.3 kB / 0.703 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.6539, allocations: 4 kB / 0.703 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6539, allocations: 0 / 0.703 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.6539, allocations: 3.938 kB / 0.703 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.6545, allocations: 250.8 kB / 0.7033 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.6545, allocations: 0 / 0.7033 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.6548, allocations: 59.91 kB / 0.7033 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.6548, allocations: 0 / 0.7033 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.6548, allocations: 15.98 kB / 0.7033 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.6549, allocations: 4 kB / 0.7033 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6549, allocations: 3.984 kB / 0.7034 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008696/0.6557, allocations: 0.527 MB / 0.7039 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.6558, allocations: 15.88 kB / 0.7039 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.6558, allocations: 12.05 kB / 0.7039 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.6561, allocations: 8 kB / 0.7039 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.6562, allocations: 19.95 kB / 0.7039 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.6562, allocations: 19.98 kB / 0.7039 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.219e-05/0.6563, allocations: 87.28 kB / 0.704 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6563, allocations: 4 kB / 0.704 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009456/0.6572, allocations: 239.4 kB / 0.7043 GB, free: 0.6602 MB / 0.5294 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.001118/0.6583, allocations: 458.2 kB / 0.7047 GB, free: 208 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006363/0.659, allocations: 259.7 kB / 0.7049 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.659, allocations: 4 kB / 0.7049 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.6592, allocations: 130.1 kB / 0.7051 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.6599, allocations: 84.7 kB / 0.7051 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.6613, allocations: 0.7471 MB / 0.7059 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.6614, allocations: 123.8 kB / 0.706 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003192/0.6617, allocations: 81.75 kB / 0.7061 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.6618, allocations: 31.44 kB / 0.7061 GB, free: 14.71 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.6618, allocations: 0 / 0.7061 GB, free: 14.71 MB / 0.545 GB Notification: Performance of Templates: time 0.02069/0.6825, allocations: 8.9 MB / 0.7148 GB, free: 5.914 MB / 0.545 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/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_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: 5.997762303799391]