Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001879/0.001879, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001485/0.001485, allocations: 207.5 kB / 24.48 MB, free: 3.695 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.63/1.63, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2345/0.2345, allocations: 46.98 MB / 361.6 MB, free: 4.039 MB / 286.1 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 68.09 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3075, allocations: 66.04 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1671/0.4746, allocations: 131.3 MB / 0.6901 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.476, allocations: 0.9578 MB / 0.691 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.4761, allocations: 4 kB / 0.691 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.4763, allocations: 23.83 kB / 0.691 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00072/0.477, allocations: 278.5 kB / 0.6913 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.4774, allocations: 125.6 kB / 0.6914 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.4777, allocations: 183.2 kB / 0.6916 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.4777, allocations: 4 kB / 0.6916 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.4779, allocations: 95.67 kB / 0.6917 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.4781, allocations: 63.69 kB / 0.6917 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.4781, allocations: 4 kB / 0.6917 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.4786, allocations: 271.7 kB / 0.692 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.4786, allocations: 15.98 kB / 0.692 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.4787, allocations: 39.86 kB / 0.6921 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.4792, allocations: 290.9 kB / 0.6923 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4792, allocations: 0 / 0.6923 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4792, allocations: 0 / 0.6923 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.4792, allocations: 0 / 0.6923 GB, free: 14.01 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005632/0.4797, allocations: 329.8 kB / 0.6927 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4798, allocations: 16.02 kB / 0.6927 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.482, allocations: 200.6 kB / 0.6929 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.4823, allocations: 157.8 kB / 0.693 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4823, allocations: 0 / 0.693 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.4824, allocations: 12 kB / 0.693 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.483, allocations: 297.1 kB / 0.6933 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.483, allocations: 0 / 0.6933 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.483, allocations: 8 kB / 0.6933 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.483, allocations: 3.938 kB / 0.6933 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.4835, allocations: 175.8 kB / 0.6935 GB, free: 12.75 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.001064/0.4845, allocations: 0.5127 MB / 0.694 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.4849, allocations: 134.5 kB / 0.6941 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.4851, allocations: 64.83 kB / 0.6942 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.4851, allocations: 4 kB / 0.6942 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.4851, allocations: 34.56 kB / 0.6942 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.4851, allocations: 4 kB / 0.6942 GB, free: 11.94 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.005449/0.4906, allocations: 1.16 MB / 0.6953 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.4906, allocations: 51.41 kB / 0.6954 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.883e-05/0.4907, allocations: 109.8 kB / 0.6955 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.4907, allocations: 29.7 kB / 0.6955 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.4908, allocations: 104 kB / 0.6956 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.4909, allocations: 75.38 kB / 0.6957 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.491, allocations: 53.69 kB / 0.6958 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.4911, allocations: 322.8 kB / 0.6961 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.4913, allocations: 67.97 kB / 0.6961 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.4915, allocations: 104.9 kB / 0.6962 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.4919, allocations: 187.3 kB / 0.6964 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4919, allocations: 0 / 0.6964 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005378/0.4924, allocations: 263.8 kB / 0.6967 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4924, allocations: 4 kB / 0.6967 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4924, allocations: 3.984 kB / 0.6967 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.4926, allocations: 48.83 kB / 0.6967 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.493, allocations: 55.91 kB / 0.6968 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004735/0.4934, allocations: 0.5642 MB / 0.6973 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.4936, allocations: 12.09 kB / 0.6973 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.4937, allocations: 23.98 kB / 0.6973 GB, free: 8.574 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.000144/0.4938, allocations: 121.8 kB / 0.6975 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.4939, allocations: 15.91 kB / 0.6975 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007867/0.4947, allocations: 345.4 kB / 0.6978 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.4947, allocations: 11.88 kB / 0.6978 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4947, allocations: 0 / 0.6978 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.4947, allocations: 7.984 kB / 0.6978 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.4957, allocations: 0.5408 MB / 0.6984 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4957, allocations: 0 / 0.6984 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.4961, allocations: 67.83 kB / 0.6984 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.356e-05/0.4962, allocations: 16.84 kB / 0.6984 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.4962, allocations: 15.98 kB / 0.6985 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.4972, allocations: 1.245 MB / 0.6997 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4972, allocations: 0 / 0.6997 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.498, allocations: 430.7 kB / 0.7001 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.498, allocations: 15.83 kB / 0.7001 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.498, allocations: 4 kB / 0.7001 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.4983, allocations: 8 kB / 0.7001 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.4983, allocations: 32.17 kB / 0.7001 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.4984, allocations: 27.98 kB / 0.7002 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.4984, allocations: 83.28 kB / 0.7002 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4984, allocations: 4 kB / 0.7002 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004203/0.4989, allocations: 83.86 kB / 0.7003 GB, free: 5.332 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 (21): * Single equations (assignments): 20 * 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.0003789/0.4992, allocations: 151 kB / 0.7005 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005521/0.4998, allocations: 202.1 kB / 0.7007 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.4998, allocations: 0 / 0.7007 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.5002, allocations: 218.9 kB / 0.7009 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.5006, allocations: 43.95 kB / 0.7009 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009125/0.5015, allocations: 0.5036 MB / 0.7014 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.929e-05/0.5016, allocations: 97.97 kB / 0.7015 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.5018, allocations: 55.41 kB / 0.7015 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.5018, allocations: 0 / 0.7015 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of Templates: time 0.006579/0.5084, allocations: 3.933 MB / 0.7054 GB, free: 56 kB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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: 8.503114415012533]