Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 190.8 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.2459/0.2459, allocations: 44.91 MB / 351.6 MB, free: 12.23 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 68.12 kB / 495.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4868, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.216/0.7028, allocations: 150.1 MB / 0.6929 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.7054, allocations: 1.596 MB / 0.6945 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.7056, allocations: 0 / 0.6945 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004731/0.706, allocations: 51.72 kB / 0.6945 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.7077, allocations: 414.1 kB / 0.6949 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/0.7085, allocations: 170 kB / 0.6951 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.709, allocations: 183.3 kB / 0.6953 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.7091, allocations: 7.938 kB / 0.6953 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.7094, allocations: 83.62 kB / 0.6953 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.7096, allocations: 59.81 kB / 0.6954 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.7097, allocations: 4 kB / 0.6954 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.7115, allocations: 0.6314 MB / 0.696 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.7116, allocations: 27.91 kB / 0.6961 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.7117, allocations: 59.66 kB / 0.6961 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.7132, allocations: 394.7 kB / 0.6965 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.7132, allocations: 0 / 0.6965 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.756e-06/0.7132, allocations: 0 / 0.6965 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.7132, allocations: 0 / 0.6965 GB, free: 5.535 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001108/0.7143, allocations: 438.9 kB / 0.6969 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.527e-05/0.7144, allocations: 8.031 kB / 0.6969 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/0.7169, allocations: 196.6 kB / 0.6971 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.7172, allocations: 207.8 kB / 0.6973 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.7172, allocations: 8 kB / 0.6973 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.7173, allocations: 11.94 kB / 0.6973 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.7178, allocations: 193.5 kB / 0.6975 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.7178, allocations: 4 kB / 0.6975 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.7179, allocations: 8 kB / 0.6975 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.7179, allocations: 3.938 kB / 0.6975 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/0.7185, allocations: 235.8 kB / 0.6977 GB, free: 4.156 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.001926/0.7204, allocations: 0.6634 MB / 0.6984 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.7209, allocations: 190.4 kB / 0.6986 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.7211, allocations: 88.81 kB / 0.6987 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.7213, allocations: 93.09 kB / 0.6987 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.7214, allocations: 34.56 kB / 0.6988 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.913e-06/0.7214, allocations: 4 kB / 0.6988 GB, free: 2.992 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.006491/0.7278, allocations: 1.523 MB / 0.7003 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.7279, allocations: 55.41 kB / 0.7003 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.7281, allocations: 117.8 kB / 0.7004 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.7281, allocations: 25.7 kB / 0.7005 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.7282, allocations: 100.4 kB / 0.7006 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-05/0.7283, allocations: 67.42 kB / 0.7006 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.7285, allocations: 49.58 kB / 0.7007 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.7287, allocations: 322.8 kB / 0.701 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.7289, allocations: 95.81 kB / 0.7011 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.7292, allocations: 126.8 kB / 0.7012 GB, free: 368 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.7298, allocations: 229.1 kB / 0.7014 GB, free: 128 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.7298, allocations: 0 / 0.7014 GB, free: 128 kB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007829/0.7305, allocations: 283.2 kB / 0.7017 GB, free: 15.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.7306, allocations: 4 kB / 0.7017 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.7306, allocations: 8.094 kB / 0.7017 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.7307, allocations: 20.84 kB / 0.7017 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.7312, allocations: 59.89 kB / 0.7018 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004585/0.7317, allocations: 0.529 MB / 0.7023 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.732, allocations: 19.95 kB / 0.7023 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.732, allocations: 12.03 kB / 0.7023 GB, free: 15.16 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.7321, allocations: 132.8 kB / 0.7024 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-05/0.7322, allocations: 7.953 kB / 0.7024 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/0.733, allocations: 321.6 kB / 0.7027 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.733, allocations: 3.984 kB / 0.7028 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.733, allocations: 7.922 kB / 0.7028 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.733, allocations: 0 / 0.7028 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.7343, allocations: 0.6835 MB / 0.7034 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7343, allocations: 0 / 0.7034 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.7348, allocations: 51.95 kB / 0.7035 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.612e-05/0.7348, allocations: 20.78 kB / 0.7035 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.7349, allocations: 11.98 kB / 0.7035 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.7361, allocations: 1.359 MB / 0.7048 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.7361, allocations: 12.12 kB / 0.7048 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008796/0.737, allocations: 446.6 kB / 0.7053 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.7371, allocations: 89.16 kB / 0.7054 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.7371, allocations: 8 kB / 0.7054 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.7374, allocations: 7.984 kB / 0.7054 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.7375, allocations: 19.92 kB / 0.7054 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.7375, allocations: 11.98 kB / 0.7054 GB, free: 11.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.7376, allocations: 83.28 kB / 0.7055 GB, free: 11.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7376, allocations: 0 / 0.7055 GB, free: 11.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006155/0.7382, allocations: 135.7 kB / 0.7056 GB, free: 11.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007288/0.7389, allocations: 262.7 kB / 0.7059 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006612/0.7396, allocations: 231.6 kB / 0.7061 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.7396, allocations: 0 / 0.7061 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004238/0.74, allocations: 225.4 kB / 0.7063 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.7405, allocations: 52.27 kB / 0.7063 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009766/0.7414, allocations: 484.6 kB / 0.7068 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.7418, allocations: 0.7085 MB / 0.7075 GB, free: 9.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002882/0.7421, allocations: 57.38 kB / 0.7076 GB, free: 9.426 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.7423, allocations: 23.42 kB / 0.7076 GB, free: 9.402 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.7423, allocations: 0 / 0.7076 GB, free: 9.402 MB / 0.545 GB Notification: Performance of Templates: time 0.01207/0.7543, allocations: 6.32 MB / 0.7138 GB, free: 3.094 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.91005611885339]