Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001702/0.001702, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002073/0.002073, allocations: 207.9 kB / 23.73 MB, free: 4.379 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.622/1.622, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2434/0.2434, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.89 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3586, allocations: 66.03 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.176/0.5347, allocations: 131.5 MB / 0.6895 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.5369, allocations: 1.437 MB / 0.6909 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.5369, allocations: 0 / 0.6909 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.5372, allocations: 47.75 kB / 0.6909 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.5383, allocations: 418 kB / 0.6913 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.5388, allocations: 178.2 kB / 0.6915 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.5391, allocations: 183.3 kB / 0.6917 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.5391, allocations: 7.938 kB / 0.6917 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.5393, allocations: 91.61 kB / 0.6918 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.5394, allocations: 55.81 kB / 0.6918 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.5395, allocations: 15.94 kB / 0.6918 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.5405, allocations: 0.5534 MB / 0.6924 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.5406, allocations: 27.91 kB / 0.6924 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.5407, allocations: 51.78 kB / 0.6925 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006884/0.5414, allocations: 393.6 kB / 0.6928 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.5414, allocations: 4 kB / 0.6928 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5414, allocations: 0 / 0.6928 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.5414, allocations: 0 / 0.6928 GB, free: 12.73 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.0006847/0.5421, allocations: 357.8 kB / 0.6932 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.5421, allocations: 16.03 kB / 0.6932 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/0.5445, allocations: 196.6 kB / 0.6934 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.5448, allocations: 150 kB / 0.6935 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.5448, allocations: 8 kB / 0.6935 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.5449, allocations: 15.94 kB / 0.6936 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006187/0.5455, allocations: 270.6 kB / 0.6938 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5455, allocations: 0 / 0.6938 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.5456, allocations: 15.94 kB / 0.6938 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.5456, allocations: 7.922 kB / 0.6938 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006301/0.5462, allocations: 229.9 kB / 0.6941 GB, free: 11.42 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.001894/0.5481, allocations: 0.5361 MB / 0.6946 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.5486, allocations: 190.4 kB / 0.6948 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.5488, allocations: 92.81 kB / 0.6948 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.5489, allocations: 11.98 kB / 0.6949 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.549, allocations: 30.56 kB / 0.6949 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.549, allocations: 4 kB / 0.6949 GB, free: 10.51 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.005957/0.5549, allocations: 1.392 MB / 0.6963 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.555, allocations: 55.41 kB / 0.6963 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.5551, allocations: 109.8 kB / 0.6964 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.5551, allocations: 29.7 kB / 0.6964 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.5552, allocations: 104.3 kB / 0.6965 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.879e-05/0.5553, allocations: 71.44 kB / 0.6966 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.5554, allocations: 49.59 kB / 0.6967 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5555, allocations: 318.8 kB / 0.697 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.5558, allocations: 87.95 kB / 0.697 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.556, allocations: 130.8 kB / 0.6972 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.5566, allocations: 233 kB / 0.6974 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5566, allocations: 0 / 0.6974 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006774/0.5572, allocations: 278.3 kB / 0.6977 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.5573, allocations: 4 kB / 0.6977 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5573, allocations: 0 / 0.6977 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.5574, allocations: 24.84 kB / 0.6977 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.5579, allocations: 63.98 kB / 0.6977 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004258/0.5583, allocations: 0.5251 MB / 0.6983 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.5586, allocations: 16.02 kB / 0.6983 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.5586, allocations: 19.88 kB / 0.6983 GB, free: 6.844 MB / 0.5294 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.0001522/0.5588, allocations: 127.9 kB / 0.6984 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.5588, allocations: 7.953 kB / 0.6984 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008239/0.5597, allocations: 317.8 kB / 0.6987 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.5597, allocations: 7.922 kB / 0.6987 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5597, allocations: 0 / 0.6987 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5597, allocations: 0 / 0.6987 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.5609, allocations: 0.5856 MB / 0.6993 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5609, allocations: 0 / 0.6993 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.5614, allocations: 47.95 kB / 0.6993 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.5615, allocations: 24.78 kB / 0.6994 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.5616, allocations: 11.98 kB / 0.6994 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.5628, allocations: 1.233 MB / 0.7006 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5628, allocations: 11.91 kB / 0.7006 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009199/0.5637, allocations: 441.4 kB / 0.701 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.5637, allocations: 11.97 kB / 0.701 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.5638, allocations: 11.94 kB / 0.701 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.5641, allocations: 12.19 kB / 0.7011 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.5641, allocations: 23.84 kB / 0.7011 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.5642, allocations: 11.98 kB / 0.7011 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001178/0.5643, allocations: 91.25 kB / 0.7012 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5643, allocations: 3.938 kB / 0.7012 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005549/0.5648, allocations: 131.7 kB / 0.7013 GB, free: 3.559 MB / 0.5294 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.0007101/0.5655, allocations: 266.6 kB / 0.7016 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006832/0.5662, allocations: 231.6 kB / 0.7018 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5662, allocations: 192 / 0.7018 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.5668, allocations: 230.6 kB / 0.702 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.5673, allocations: 47.89 kB / 0.702 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009296/0.5682, allocations: 472.7 kB / 0.7025 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.5683, allocations: 93.97 kB / 0.7026 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002785/0.5686, allocations: 53.61 kB / 0.7026 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.5687, allocations: 23.42 kB / 0.7027 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of SimCode: time 4.3e-07/0.5687, allocations: 4 kB / 0.7027 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of Templates: time 0.01249/0.5812, allocations: 6.509 MB / 0.709 GB, free: 11.6 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.765037065837532]