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.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.001283/0.001283, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001661/0.001661, allocations: 174.8 kB / 24.91 MB, free: 8.734 MB / 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2532/0.2532, allocations: 32.81 MB / 294.6 MB, free: 1.254 MB / 266.7 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.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 1.984e-06/1.984e-06, allocations: 0 / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.155e-05, allocations: 8 kB / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3321/0.3321, allocations: 144.8 MB / 468 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.3339, allocations: 1.635 MB / 469.7 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.754e-05/0.334, allocations: 0 / 469.7 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.3343, allocations: 40.73 kB / 469.7 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.3355, allocations: 432.2 kB / 470.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.336, allocations: 172.6 kB / 470.3 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.3363, allocations: 186 kB / 470.5 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.3363, allocations: 18.17 kB / 470.5 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.3366, allocations: 105.4 kB / 470.6 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.3367, allocations: 47.44 kB / 470.7 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3367, allocations: 5.344 kB / 470.7 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.338, allocations: 0.547 MB / 471.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.3381, allocations: 33.59 kB / 471.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.01e-05/0.3382, allocations: 38.03 kB / 471.3 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000905/0.3391, allocations: 422.6 kB / 471.7 MB, free: 13.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3391, allocations: 0 / 471.7 MB, free: 13.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3391, allocations: 0 / 471.7 MB, free: 13.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3391, allocations: 4 kB / 471.7 MB, free: 13.23 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.000523/0.3396, allocations: 346.5 kB / 472 MB, free: 12.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3397, allocations: 8.281 kB / 472 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.3411, allocations: 251.5 kB / 472.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.3414, allocations: 131.4 kB / 472.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3414, allocations: 7.984 kB / 472.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.3414, allocations: 15.31 kB / 472.4 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.3418, allocations: 236.9 kB / 472.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3418, allocations: 2.938 kB / 472.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.3418, allocations: 6.125 kB / 472.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3418, allocations: 0 / 472.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.342, allocations: 106.5 kB / 472.8 MB, free: 12.64 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.0009159/0.3429, allocations: 356.8 kB / 473.1 MB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.3431, allocations: 117.5 kB / 473.2 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.156e-05/0.3432, allocations: 67.88 kB / 473.3 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-05/0.3433, allocations: 10.66 kB / 473.3 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3433, allocations: 36.78 kB / 473.4 MB, free: 12.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.3433, allocations: 0 / 473.4 MB, free: 12.39 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.003044/0.3463, allocations: 1.026 MB / 474.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.3464, allocations: 51.41 kB / 474.4 MB, free: 11.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.3464, allocations: 118.3 kB / 474.5 MB, free: 11.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3464, allocations: 28.83 kB / 474.6 MB, free: 11.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.3465, allocations: 99.81 kB / 474.7 MB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.3465, allocations: 75.98 kB / 474.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.3466, allocations: 42.97 kB / 474.8 MB, free: 11.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.3466, allocations: 321.6 kB / 475.1 MB, free: 11.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.3467, allocations: 42.11 kB / 475.1 MB, free: 11.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.257e-05/0.3468, allocations: 74.28 kB / 475.2 MB, free: 11.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.347, allocations: 140.1 kB / 475.4 MB, free: 11.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.347, allocations: 0 / 475.4 MB, free: 11.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003251/0.3473, allocations: 182.4 kB / 475.5 MB, free: 11.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3473, allocations: 5.531 kB / 475.5 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3473, allocations: 3.938 kB / 475.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.3474, allocations: 21.09 kB / 475.6 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.3477, allocations: 50.09 kB / 475.6 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008539/0.3563, allocations: 1.843 MB / 477.5 MB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.3565, allocations: 11.2 kB / 477.5 MB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.3565, allocations: 6.484 kB / 477.5 MB, free: 9.629 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.3566, allocations: 125.1 kB / 477.6 MB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.3567, allocations: 21.06 kB / 477.6 MB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.3569, allocations: 207.5 kB / 477.8 MB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3569, allocations: 2.375 kB / 477.8 MB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3569, allocations: 0 / 477.8 MB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3569, allocations: 0 / 477.8 MB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.3574, allocations: 403.2 kB / 478.2 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3574, allocations: 2.688 kB / 478.2 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.3576, allocations: 44.88 kB / 478.3 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.402e-05/0.3576, allocations: 20.11 kB / 478.3 MB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3576, allocations: 9.422 kB / 478.3 MB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003279/0.358, allocations: 1.159 MB / 479.4 MB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.358, allocations: 6.656 kB / 479.5 MB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.3583, allocations: 343.5 kB / 479.8 MB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.3583, allocations: 6.766 kB / 479.8 MB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.3583, allocations: 6.062 kB / 479.8 MB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3584, allocations: 11.48 kB / 479.8 MB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.3584, allocations: 19.73 kB / 479.8 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3585, allocations: 14.38 kB / 479.8 MB, free: 7.859 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.635e-05/0.3585, allocations: 11.23 kB / 479.9 MB, free: 7.852 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.3585, allocations: 0 / 479.9 MB, free: 7.852 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000393/0.3589, allocations: 144.1 kB / 480 MB, free: 7.828 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.0004392/0.3593, allocations: 244.8 kB / 480.2 MB, free: 7.727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002979/0.3596, allocations: 252 kB / 480.5 MB, free: 7.598 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3596, allocations: 0 / 480.5 MB, free: 7.598 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3597, allocations: 199.8 kB / 480.7 MB, free: 7.473 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.3599, allocations: 59.14 kB / 480.7 MB, free: 7.461 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.3606, allocations: 379.4 kB / 481.1 MB, free: 7.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.3607, allocations: 73.7 kB / 481.2 MB, free: 7.137 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.3609, allocations: 52.25 kB / 481.2 MB, free: 7.102 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.361, allocations: 100.2 kB / 481.3 MB, free: 7.055 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.361, allocations: 1.203 kB / 481.3 MB, free: 7.055 MB / 410.7 MB Notification: Performance of Templates: time 0.008951/0.37, allocations: 7.225 MB / 488.6 MB, free: 5.207 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.615042112302035]