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.001512/0.001512, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001543/0.001543, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 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.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.338/0.338, allocations: 34.26 MB / 295.3 MB, free: 0.6992 MB / 266.7 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.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 1.513e-06/1.513e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.604e-05/3.755e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3401/0.3401, allocations: 131.6 MB / 0.4969 GB, free: 25.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3418, allocations: 1.431 MB / 0.4983 GB, free: 24.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.3419, allocations: 1.094 kB / 0.4983 GB, free: 24.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.3422, allocations: 54.81 kB / 0.4983 GB, free: 24.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009744/0.3432, allocations: 418.8 kB / 0.4987 GB, free: 24.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.3437, allocations: 180.7 kB / 0.4989 GB, free: 23.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.3439, allocations: 185.1 kB / 0.4991 GB, free: 23.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.3439, allocations: 3.547 kB / 0.4991 GB, free: 23.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.3442, allocations: 107.1 kB / 0.4992 GB, free: 23.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.3443, allocations: 54.3 kB / 0.4993 GB, free: 23.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3443, allocations: 5.562 kB / 0.4993 GB, free: 23.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.3454, allocations: 0.5527 MB / 0.4998 GB, free: 23.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.3454, allocations: 34.58 kB / 0.4998 GB, free: 23.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.3455, allocations: 38.05 kB / 0.4999 GB, free: 23.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000671/0.3462, allocations: 449 kB / 0.5003 GB, free: 23.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3462, allocations: 0.6562 kB / 0.5003 GB, free: 23.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3462, allocations: 0 / 0.5003 GB, free: 23.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3462, allocations: 1.219 kB / 0.5003 GB, free: 23.48 MB / 410.7 MB 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.0004984/0.3467, allocations: 363.3 kB / 0.5006 GB, free: 23.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3467, allocations: 10.28 kB / 0.5007 GB, free: 23.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/0.3489, allocations: 235.8 kB / 0.5009 GB, free: 23.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.3491, allocations: 149.2 kB / 0.501 GB, free: 22.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3492, allocations: 4.75 kB / 0.501 GB, free: 22.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.3492, allocations: 19.12 kB / 0.501 GB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.3497, allocations: 279.1 kB / 0.5013 GB, free: 22.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3497, allocations: 0 / 0.5013 GB, free: 22.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.3497, allocations: 1.531 kB / 0.5013 GB, free: 22.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.3497, allocations: 6.719 kB / 0.5013 GB, free: 22.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005481/0.3503, allocations: 231.3 kB / 0.5015 GB, free: 22.69 MB / 410.7 MB 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.001564/0.3518, allocations: 0.5371 MB / 0.5021 GB, free: 22.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.3523, allocations: 184 kB / 0.5022 GB, free: 22.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.3525, allocations: 94.56 kB / 0.5023 GB, free: 22.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.3526, allocations: 16.77 kB / 0.5023 GB, free: 22.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3527, allocations: 35.81 kB / 0.5024 GB, free: 22.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3527, allocations: 1.469 kB / 0.5024 GB, free: 22.15 MB / 410.7 MB 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.005699/0.3584, allocations: 1.394 MB / 0.5037 GB, free: 21.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.3584, allocations: 52.84 kB / 0.5038 GB, free: 21.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.3585, allocations: 121.3 kB / 0.5039 GB, free: 21.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3585, allocations: 26.8 kB / 0.5039 GB, free: 21.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.3585, allocations: 97.53 kB / 0.504 GB, free: 21.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.3586, allocations: 69.03 kB / 0.5041 GB, free: 21.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.3587, allocations: 50.62 kB / 0.5041 GB, free: 21.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.3587, allocations: 325.7 kB / 0.5045 GB, free: 20.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.359, allocations: 87.31 kB / 0.5045 GB, free: 20.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.3592, allocations: 127.1 kB / 0.5047 GB, free: 20.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/0.3597, allocations: 221.9 kB / 0.5049 GB, free: 20.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3597, allocations: 0 / 0.5049 GB, free: 20.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006455/0.3603, allocations: 300.7 kB / 0.5052 GB, free: 20.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3603, allocations: 5.5 kB / 0.5052 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3603, allocations: 0.75 kB / 0.5052 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.3605, allocations: 30.08 kB / 0.5052 GB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.361, allocations: 55.78 kB / 0.5052 GB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002361/0.3612, allocations: 0.5348 MB / 0.5058 GB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.3615, allocations: 12.08 kB / 0.5058 GB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.479e-05/0.3615, allocations: 7.672 kB / 0.5058 GB, free: 19.79 MB / 410.7 MB 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.0001022/0.3616, allocations: 129.9 kB / 0.5059 GB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.3617, allocations: 24.5 kB / 0.5059 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007495/0.3625, allocations: 314.6 kB / 0.5062 GB, free: 19.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3625, allocations: 5.188 kB / 0.5062 GB, free: 19.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.3625, allocations: 1.797 kB / 0.5062 GB, free: 19.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3625, allocations: 1.172 kB / 0.5062 GB, free: 19.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009888/0.3635, allocations: 0.5867 MB / 0.5068 GB, free: 19.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3635, allocations: 3.938 kB / 0.5068 GB, free: 19.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.3639, allocations: 53.06 kB / 0.5069 GB, free: 19.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.382e-05/0.364, allocations: 21.77 kB / 0.5069 GB, free: 19.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.364, allocations: 17.7 kB / 0.5069 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005865/0.3646, allocations: 1.236 MB / 0.5081 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.3646, allocations: 1.5 kB / 0.5081 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008131/0.3654, allocations: 462.3 kB / 0.5086 GB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.3655, allocations: 12.55 kB / 0.5086 GB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3655, allocations: 7.312 kB / 0.5086 GB, free: 17.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.3658, allocations: 12 kB / 0.5086 GB, free: 17.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.3659, allocations: 23.11 kB / 0.5086 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.3659, allocations: 9.406 kB / 0.5086 GB, free: 17.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.422e-05/0.3659, allocations: 92.72 kB / 0.5087 GB, free: 17.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3659, allocations: 0 / 0.5087 GB, free: 17.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000605/0.3666, allocations: 133.8 kB / 0.5088 GB, free: 17.39 MB / 410.7 MB 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.0006227/0.3672, allocations: 259.7 kB / 0.5091 GB, free: 17.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006017/0.3678, allocations: 226.7 kB / 0.5093 GB, free: 17.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3678, allocations: 1.125 kB / 0.5093 GB, free: 17.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.3681, allocations: 228.7 kB / 0.5095 GB, free: 17.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.3686, allocations: 57.56 kB / 0.5096 GB, free: 17.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.3693, allocations: 406.1 kB / 0.51 GB, free: 16.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.765e-05/0.3694, allocations: 91.05 kB / 0.51 GB, free: 16.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.3697, allocations: 57.08 kB / 0.5101 GB, free: 16.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3698, allocations: 26.5 kB / 0.5101 GB, free: 16.61 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3698, allocations: 0 / 0.5101 GB, free: 16.61 MB / 410.7 MB Notification: Performance of Templates: time 0.009738/0.3795, allocations: 6.334 MB / 0.5163 GB, free: 16.07 MB / 410.7 MB " [Timeout remaining time 660] 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.363267854088917]