Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.002479/0.002479, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001139/0.001139, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.038/1.038, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1439/0.1439, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.476e-06/3.476e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.518e-05/4.865e-05, allocations: 8.219 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4012/0.4013, allocations: 143.6 MB / 491.2 MB, free: 9.719 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.4023, allocations: 0.9839 MB / 492.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.4024, allocations: 0 / 492.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.4027, allocations: 24.77 kB / 492.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006582/0.4034, allocations: 259.1 kB / 492.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.4037, allocations: 118.3 kB / 492.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.4039, allocations: 173.2 kB / 492.8 MB, free: 9.262 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.404, allocations: 3.062 kB / 492.8 MB, free: 9.262 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.4042, allocations: 118.8 kB / 492.9 MB, free: 9.219 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.322e-05/0.4043, allocations: 40.2 kB / 492.9 MB, free: 9.207 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.4043, allocations: 6.203 kB / 492.9 MB, free: 9.207 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.4047, allocations: 254 kB / 493.2 MB, free: 9.145 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.4048, allocations: 23.05 kB / 493.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.4048, allocations: 36.11 kB / 493.2 MB, free: 9.129 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.4052, allocations: 302.3 kB / 493.5 MB, free: 9.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4052, allocations: 0 / 493.5 MB, free: 9.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4052, allocations: 0 / 493.5 MB, free: 9.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4052, allocations: 0 / 493.5 MB, free: 9.031 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004315/0.4057, allocations: 438.8 kB / 494 MB, free: 8.621 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4057, allocations: 8.656 kB / 494 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.4068, allocations: 207.9 kB / 494.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.407, allocations: 166.2 kB / 494.3 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.407, allocations: 3.188 kB / 494.3 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.4071, allocations: 13.66 kB / 494.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.4074, allocations: 298.8 kB / 494.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4074, allocations: 3.406 kB / 494.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.4074, allocations: 3.25 kB / 494.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.4075, allocations: 2.562 kB / 494.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.4077, allocations: 129.8 kB / 494.8 MB, free: 8.117 MB / 362.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.0007135/0.4084, allocations: 0.6431 MB / 495.4 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.4086, allocations: 123.2 kB / 495.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.4086, allocations: 60.75 kB / 495.6 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.4087, allocations: 2.5 kB / 495.6 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.4087, allocations: 39.89 kB / 495.6 MB, free: 7.426 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.4087, allocations: 0 / 495.6 MB, free: 7.426 MB / 362.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.00261/0.4113, allocations: 0.977 MB / 496.6 MB, free: 6.949 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.4113, allocations: 58.47 kB / 496.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.519e-05/0.4114, allocations: 169.3 kB / 496.8 MB, free: 6.715 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.4114, allocations: 28.39 kB / 496.9 MB, free: 6.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.4115, allocations: 144.6 kB / 497 MB, free: 6.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.4115, allocations: 74.16 kB / 497.1 MB, free: 6.488 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.4116, allocations: 50.23 kB / 497.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.4116, allocations: 0.4909 MB / 497.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/0.4117, allocations: 49.03 kB / 497.7 MB, free: 5.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.4118, allocations: 93.92 kB / 497.8 MB, free: 5.898 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.4119, allocations: 154.2 kB / 497.9 MB, free: 5.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4119, allocations: 0 / 497.9 MB, free: 5.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002673/0.4122, allocations: 223.7 kB / 498.1 MB, free: 5.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4122, allocations: 5.562 kB / 498.1 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4122, allocations: 0 / 498.1 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.4124, allocations: 35.7 kB / 498.2 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.4125, allocations: 52.11 kB / 498.2 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00025/0.4128, allocations: 0.8176 MB / 499 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.542e-05/0.4129, allocations: 6.344 kB / 499 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.4129, allocations: 18.61 kB / 499.1 MB, free: 4.91 MB / 362.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 8.261e-05/0.413, allocations: 172.8 kB / 499.2 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.413, allocations: 15.7 kB / 499.2 MB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.4134, allocations: 275.9 kB / 499.5 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4134, allocations: 2.875 kB / 499.5 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4134, allocations: 3.312 kB / 499.5 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4134, allocations: 0 / 499.5 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/0.4139, allocations: 0.5532 MB / 0.4883 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4139, allocations: 0 / 0.4883 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.4141, allocations: 55.62 kB / 0.4884 GB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-05/0.4142, allocations: 28.34 kB / 0.4884 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.4142, allocations: 9.188 kB / 0.4884 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005086/0.4147, allocations: 1.729 MB / 0.4901 GB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4147, allocations: 3 kB / 0.4901 GB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.415, allocations: 432.1 kB / 0.4905 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.4151, allocations: 13.56 kB / 0.4906 GB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.4151, allocations: 6.25 kB / 0.4906 GB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.4152, allocations: 9.641 kB / 0.4906 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.4152, allocations: 24.47 kB / 0.4906 GB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.4152, allocations: 18.67 kB / 0.4906 GB, free: 2.129 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.762e-05/0.4153, allocations: 134.6 kB / 0.4907 GB, free: 2.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4153, allocations: 0 / 0.4907 GB, free: 2.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.4156, allocations: 80.62 kB / 0.4908 GB, free: 2 MB / 362.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 (20): * Single equations (assignments): 19 * 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.000272/0.4158, allocations: 150.3 kB / 0.491 GB, free: 1.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.4161, allocations: 171 kB / 0.4911 GB, free: 1.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4161, allocations: 0 / 0.4911 GB, free: 1.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.4163, allocations: 266.5 kB / 0.4914 GB, free: 1.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.4166, allocations: 61.17 kB / 0.4914 GB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007983/0.4174, allocations: 407.9 kB / 0.4918 GB, free: 1.305 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.4175, allocations: 70.41 kB / 0.4919 GB, free: 1.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.4176, allocations: 67.56 kB / 0.492 GB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.364e-05/0.4177, allocations: 40.44 kB / 0.492 GB, free: 1.172 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4177, allocations: 7.406 kB / 0.492 GB, free: 1.168 MB / 362.7 MB Notification: Performance of Templates: time 0.007819/0.4255, allocations: 5.821 MB / 0.4977 GB, free: 14.21 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.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.716780581045896]