Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001529/0.001529, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001743/0.001743, allocations: 209 kB / 24.48 MB, free: 3.938 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.598/1.598, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2415/0.2415, allocations: 44.94 MB / 359.6 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002401/0.002401, allocations: 67.91 kB / 0.4942 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3396, allocations: 65.47 MB / 0.5582 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1761/0.5157, allocations: 131.8 MB / 0.6869 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004025/0.5197, allocations: 2.831 MB / 0.6896 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.41e-05/0.5198, allocations: 4 kB / 0.6897 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.5201, allocations: 47.67 kB / 0.6897 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002613/0.5228, allocations: 1.057 MB / 0.6907 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.5233, allocations: 199.2 kB / 0.6909 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.5237, allocations: 362.5 kB / 0.6913 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.087e-05/0.5238, allocations: 9.297 kB / 0.6913 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.5241, allocations: 159.4 kB / 0.6914 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.5243, allocations: 115.6 kB / 0.6915 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.5243, allocations: 15.94 kB / 0.6916 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.5269, allocations: 1.309 MB / 0.6928 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.5271, allocations: 79.83 kB / 0.6929 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.5272, allocations: 87.7 kB / 0.693 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.5287, allocations: 0.9585 MB / 0.6939 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5287, allocations: 4 kB / 0.6939 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.562e-06/0.5287, allocations: 0 / 0.6939 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5287, allocations: 0 / 0.6939 GB, free: 11.9 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009147/0.5296, allocations: 497.1 kB / 0.6944 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.5297, allocations: 15.97 kB / 0.6944 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.5311, allocations: 204.6 kB / 0.6946 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.5315, allocations: 194 kB / 0.6948 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.5316, allocations: 16.38 kB / 0.6948 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/0.5316, allocations: 16 kB / 0.6948 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000772/0.5324, allocations: 0.5658 MB / 0.6954 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.5324, allocations: 0 / 0.6954 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.5325, allocations: 12 kB / 0.6954 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.5325, allocations: 4 kB / 0.6954 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.5331, allocations: 399.7 kB / 0.6958 GB, free: 9.895 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.001685/0.5348, allocations: 0.7107 MB / 0.6965 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.5352, allocations: 217 kB / 0.6967 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.5354, allocations: 120.5 kB / 0.6968 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.5369, allocations: 305.9 kB / 0.6971 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.5369, allocations: 38.56 kB / 0.6971 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.774e-06/0.5369, allocations: 0 / 0.6971 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.001221/0.5382, allocations: 357.8 kB / 0.6975 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.5382, allocations: 85.11 kB / 0.6975 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.5383, allocations: 117.8 kB / 0.6977 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.5384, allocations: 37.69 kB / 0.6977 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.5385, allocations: 108.5 kB / 0.6978 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.5386, allocations: 122.9 kB / 0.6979 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.5387, allocations: 58.03 kB / 0.698 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5388, allocations: 330.8 kB / 0.6983 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.539, allocations: 88.61 kB / 0.6984 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.5393, allocations: 187.5 kB / 0.6985 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.5398, allocations: 297.9 kB / 0.6988 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5398, allocations: 11.88 kB / 0.6988 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006591/0.5405, allocations: 344.3 kB / 0.6992 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.5405, allocations: 10.66 kB / 0.6992 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5405, allocations: 0 / 0.6992 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.5405, allocations: 7.984 kB / 0.6992 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.5409, allocations: 71.91 kB / 0.6993 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.5409, allocations: 4.312 kB / 0.6993 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.5411, allocations: 27.84 kB / 0.6993 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.5412, allocations: 27.92 kB / 0.6993 GB, free: 6.074 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 (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.0001705/0.5414, allocations: 141.7 kB / 0.6994 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/0.5415, allocations: 15.94 kB / 0.6995 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006955/0.5422, allocations: 318.1 kB / 0.6998 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.5422, allocations: 7.984 kB / 0.6998 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5422, allocations: 0 / 0.6998 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5422, allocations: 3.938 kB / 0.6998 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.5427, allocations: 246.6 kB / 0.7 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5427, allocations: 4 kB / 0.7 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.5431, allocations: 51.97 kB / 0.7001 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.5431, allocations: 8 kB / 0.7001 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.5431, allocations: 11.98 kB / 0.7001 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5431, allocations: 0 / 0.7001 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.5431, allocations: 7.938 kB / 0.7001 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.5439, allocations: 0.5023 MB / 0.7006 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.544, allocations: 15.84 kB / 0.7006 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.544, allocations: 8.062 kB / 0.7006 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.5443, allocations: 11.98 kB / 0.7006 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.5444, allocations: 19.97 kB / 0.7006 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.5444, allocations: 19.98 kB / 0.7007 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.461e-05/0.5445, allocations: 91.27 kB / 0.7007 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5445, allocations: 0 / 0.7007 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008327/0.5453, allocations: 227.4 kB / 0.701 GB, free: 4.324 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 (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.001011/0.5463, allocations: 446.2 kB / 0.7014 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005359/0.5468, allocations: 247.7 kB / 0.7016 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.5468, allocations: 0 / 0.7016 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.5471, allocations: 123.9 kB / 0.7017 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.5477, allocations: 84.09 kB / 0.7018 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.5491, allocations: 0.7567 MB / 0.7026 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.5493, allocations: 123.8 kB / 0.7027 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.5494, allocations: 35.42 kB / 0.7027 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/0.5494, allocations: 0 / 0.7027 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of Templates: time 0.01184/0.5613, allocations: 6.455 MB / 0.709 GB, free: 12.02 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.40160746499896]