Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 164.4 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9514/0.9514, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2575/0.2575, allocations: 34.85 MB / 296.6 MB, free: 412 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.677e-05, allocations: 5.406 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.403/0.4031, allocations: 144.8 MB / 470.7 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.4044, allocations: 1.622 MB / 472.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.4044, allocations: 3.938 kB / 472.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.4047, allocations: 44.78 kB / 472.4 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008126/0.4056, allocations: 432.9 kB / 472.8 MB, free: 12.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.4059, allocations: 174.7 kB / 473 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.4061, allocations: 186.2 kB / 473.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.4062, allocations: 8.969 kB / 473.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.4063, allocations: 109.4 kB / 473.3 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.4064, allocations: 49.47 kB / 473.3 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.4064, allocations: 5.5 kB / 473.3 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007093/0.4072, allocations: 0.5446 MB / 473.9 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.4072, allocations: 38.58 kB / 473.9 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.4073, allocations: 38.58 kB / 474 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.4078, allocations: 424.6 kB / 474.4 MB, free: 12.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4078, allocations: 0 / 474.4 MB, free: 12.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4078, allocations: 0 / 474.4 MB, free: 12.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.4078, allocations: 0 / 474.4 MB, free: 12.31 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.0004191/0.4082, allocations: 341.4 kB / 474.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.4083, allocations: 11.28 kB / 474.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.4093, allocations: 251.5 kB / 475 MB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.4094, allocations: 139.6 kB / 475.1 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.4094, allocations: 9.156 kB / 475.1 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.4095, allocations: 16.25 kB / 475.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.4097, allocations: 236 kB / 475.4 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.4097, allocations: 0 / 475.4 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.4097, allocations: 0 / 475.4 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4097, allocations: 2.938 kB / 475.4 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.4099, allocations: 102.2 kB / 475.5 MB, free: 11.71 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.0007112/0.4106, allocations: 366.3 kB / 475.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.4107, allocations: 119.5 kB / 475.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.4108, allocations: 54.03 kB / 476 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.869e-05/0.4109, allocations: 14.5 kB / 476 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.4109, allocations: 38.95 kB / 476 MB, free: 11.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.4109, allocations: 0 / 476 MB, free: 11.47 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.002204/0.4131, allocations: 1.019 MB / 477.1 MB, free: 11.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.4131, allocations: 54.22 kB / 477.1 MB, free: 10.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.982e-05/0.4131, allocations: 113.8 kB / 477.2 MB, free: 10.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.4132, allocations: 28.83 kB / 477.3 MB, free: 10.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.4132, allocations: 111.6 kB / 477.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.4132, allocations: 72.78 kB / 477.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.4133, allocations: 44.45 kB / 477.5 MB, free: 10.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.959e-05/0.4133, allocations: 321.9 kB / 477.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.4134, allocations: 39.5 kB / 477.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.4134, allocations: 71.8 kB / 477.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.4135, allocations: 140.8 kB / 478 MB, free: 10.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4135, allocations: 0 / 478 MB, free: 10.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002173/0.4138, allocations: 172 kB / 478.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4138, allocations: 6.781 kB / 478.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4138, allocations: 6.219 kB / 478.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001123/0.4139, allocations: 22.25 kB / 478.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.4141, allocations: 54.08 kB / 478.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007669/0.4218, allocations: 1.842 MB / 480.1 MB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.4219, allocations: 8 kB / 480.1 MB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.422, allocations: 11.98 kB / 480.2 MB, free: 8.711 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 9.73e-05/0.4221, allocations: 122.7 kB / 480.3 MB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.4221, allocations: 24.08 kB / 480.3 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.4224, allocations: 197.7 kB / 480.5 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4224, allocations: 2.844 kB / 480.5 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4224, allocations: 6.375 kB / 480.5 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4224, allocations: 3.484 kB / 480.5 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.4229, allocations: 392.8 kB / 480.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4229, allocations: 0 / 480.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.423, allocations: 48.14 kB / 480.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.229e-05/0.4231, allocations: 19.98 kB / 481 MB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4231, allocations: 12.64 kB / 481 MB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003462/0.4235, allocations: 1.158 MB / 482.1 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4235, allocations: 0 / 482.1 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.4238, allocations: 350.2 kB / 482.5 MB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.4238, allocations: 16.56 kB / 482.5 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.4238, allocations: 7.766 kB / 482.5 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.4239, allocations: 7.859 kB / 482.5 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.424, allocations: 19.08 kB / 482.5 MB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.424, allocations: 11.77 kB / 482.5 MB, free: 6.945 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.693e-05/0.424, allocations: 12.52 kB / 482.5 MB, free: 6.938 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.424, allocations: 0 / 482.5 MB, free: 6.938 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000387/0.4244, allocations: 137 kB / 482.7 MB, free: 6.914 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.000424/0.4248, allocations: 238.2 kB / 482.9 MB, free: 6.816 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.4251, allocations: 255.7 kB / 483.2 MB, free: 6.688 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4251, allocations: 192 / 483.2 MB, free: 6.688 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.4252, allocations: 199.3 kB / 483.4 MB, free: 6.559 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.4254, allocations: 58.03 kB / 483.4 MB, free: 6.555 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.4261, allocations: 392.2 kB / 483.8 MB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.684e-05/0.4262, allocations: 71.41 kB / 483.9 MB, free: 6.227 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.4263, allocations: 51.7 kB / 483.9 MB, free: 6.191 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.4265, allocations: 101.8 kB / 484 MB, free: 6.141 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4265, allocations: 0 / 484 MB, free: 6.141 MB / 410.7 MB Notification: Performance of Templates: time 0.007686/0.4342, allocations: 7.225 MB / 491.2 MB, free: 3.938 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.507963609416038]