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.001511/0.001511, allocations: 74.36 kB / 19.76 MB, free: 2.121 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.002144/0.002144, allocations: 159.7 kB / 23 MB, free: 5.027 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.572/1.572, allocations: 158.6 MB / 184.8 MB, free: 6.5 MB / 174.1 MB " [Timeout remaining time 178] 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.2381/0.2381, allocations: 32.38 MB / 269.4 MB, free: 2.867 MB / 254.1 MB " [Timeout remaining time 179] 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.002423/0.002423, allocations: 78.55 kB / 407 MB, free: 1.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.465, allocations: 61.01 MB / 468 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2149/0.6799, allocations: 130 MB / 0.584 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004525/0.6845, allocations: 2.73 MB / 0.5867 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.6846, allocations: 0 / 0.5867 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.6851, allocations: 63.66 kB / 0.5868 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.6885, allocations: 1.027 MB / 0.5878 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.6891, allocations: 207.5 kB / 0.588 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005725/0.6897, allocations: 358.7 kB / 0.5883 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.6897, allocations: 5.312 kB / 0.5883 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.6901, allocations: 203.4 kB / 0.5885 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.6903, allocations: 107.6 kB / 0.5886 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.6904, allocations: 12 kB / 0.5886 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.6935, allocations: 1.282 MB / 0.5899 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.6936, allocations: 75.78 kB / 0.5899 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.6938, allocations: 95.64 kB / 0.59 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.6954, allocations: 0.9457 MB / 0.5909 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.6954, allocations: 4 kB / 0.5909 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6954, allocations: 0 / 0.5909 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.6954, allocations: 3.938 kB / 0.591 GB, free: 9.656 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.0009961/0.6964, allocations: 485.2 kB / 0.5914 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6964, allocations: 8.031 kB / 0.5914 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.6979, allocations: 200.6 kB / 0.5916 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.6982, allocations: 198.3 kB / 0.5918 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.6983, allocations: 12.75 kB / 0.5918 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.6983, allocations: 27.92 kB / 0.5918 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000806/0.6991, allocations: 0.5655 MB / 0.5924 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.6992, allocations: 3.984 kB / 0.5924 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.6992, allocations: 16 kB / 0.5924 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.6992, allocations: 4 kB / 0.5924 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.6999, allocations: 415.6 kB / 0.5928 GB, free: 7.637 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.001717/0.7016, allocations: 0.7068 MB / 0.5935 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.7021, allocations: 217 kB / 0.5937 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.7023, allocations: 121.7 kB / 0.5938 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/0.7039, allocations: 309.8 kB / 0.5941 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.7039, allocations: 34.56 kB / 0.5942 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 2.295e-06/0.7039, allocations: 4 kB / 0.5942 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.001407/0.7053, allocations: 369.5 kB / 0.5945 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.7055, allocations: 85.09 kB / 0.5946 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.7056, allocations: 117.8 kB / 0.5947 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.7057, allocations: 29.7 kB / 0.5947 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.7058, allocations: 116.5 kB / 0.5948 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.706, allocations: 111.1 kB / 0.595 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.7061, allocations: 62.02 kB / 0.595 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002531/0.7063, allocations: 322.8 kB / 0.5953 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.7066, allocations: 96.61 kB / 0.5954 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.7069, allocations: 195.4 kB / 0.5956 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/0.7075, allocations: 298.6 kB / 0.5959 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.7075, allocations: 0 / 0.5959 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008078/0.7083, allocations: 353.3 kB / 0.5962 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.7083, allocations: 4 kB / 0.5962 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.7084, allocations: 4 kB / 0.5962 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/0.7084, allocations: 4 kB / 0.5962 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.7088, allocations: 71.91 kB / 0.5963 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.7088, allocations: 4 kB / 0.5963 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.709, allocations: 35.77 kB / 0.5963 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.7091, allocations: 16 kB / 0.5964 GB, free: 3.812 MB / 0.4981 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.0002825/0.7094, allocations: 145.9 kB / 0.5965 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.7095, allocations: 23.84 kB / 0.5965 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009083/0.7104, allocations: 326.2 kB / 0.5968 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.7105, allocations: 4 kB / 0.5968 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.7105, allocations: 0 / 0.5968 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.7105, allocations: 0 / 0.5968 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/0.7112, allocations: 231.1 kB / 0.597 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.7112, allocations: 3.984 kB / 0.5971 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.7116, allocations: 59.89 kB / 0.5971 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.7116, allocations: 4 kB / 0.5971 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.7116, allocations: 11.94 kB / 0.5971 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/0.7116, allocations: 7.875 kB / 0.5971 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7116, allocations: 4 kB / 0.5971 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.7127, allocations: 0.5148 MB / 0.5976 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.7128, allocations: 19.78 kB / 0.5977 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.7128, allocations: 8.062 kB / 0.5977 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.7131, allocations: 11.98 kB / 0.5977 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.7132, allocations: 19.95 kB / 0.5977 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.7132, allocations: 16 kB / 0.5977 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.871e-05/0.7133, allocations: 91.27 kB / 0.5978 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7133, allocations: 0 / 0.5978 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001392/0.7147, allocations: 223.5 kB / 0.598 GB, free: 2.055 MB / 0.4981 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.001356/0.7161, allocations: 434.3 kB / 0.5984 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006917/0.7168, allocations: 248.5 kB / 0.5987 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7168, allocations: 128 / 0.5987 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.7171, allocations: 131.8 kB / 0.5988 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.7178, allocations: 92.08 kB / 0.5989 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.7194, allocations: 0.7159 MB / 0.5996 GB, free: 420 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.7196, allocations: 119.9 kB / 0.5997 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003172/0.7199, allocations: 69.83 kB / 0.5998 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.72, allocations: 36.48 kB / 0.5998 GB, free: 172 kB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.72, allocations: 4 kB / 0.5998 GB, free: 168 kB / 0.4981 GB Notification: Performance of Templates: time 0.01655/0.7366, allocations: 8.284 MB / 0.6079 GB, free: 7.895 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/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: 6.276212632656097]