Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.001966/0.001966, allocations: 103.6 kB / 21.18 MB, free: 0.5234 MB / 14.72 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.00191/0.00191, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.598/1.598, allocations: 230.5 MB / 258.1 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2586/0.2586, allocations: 46.95 MB / 361.6 MB, free: 3.945 MB / 286.1 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 79.88 kB / 0.4974 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3063, allocations: 66.09 MB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1726/0.4789, allocations: 131.3 MB / 0.6902 GB, free: 120 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.4804, allocations: 0.9578 MB / 0.6911 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.4804, allocations: 4 kB / 0.6911 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.4807, allocations: 31.77 kB / 0.6911 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007325/0.4814, allocations: 274.5 kB / 0.6914 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.4818, allocations: 118.6 kB / 0.6915 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.482, allocations: 183.2 kB / 0.6917 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.4821, allocations: 7.984 kB / 0.6917 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.4823, allocations: 99.62 kB / 0.6918 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.4824, allocations: 55.81 kB / 0.6918 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.4824, allocations: 7.938 kB / 0.6918 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005155/0.4829, allocations: 255.7 kB / 0.6921 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.483, allocations: 27.91 kB / 0.6921 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.483, allocations: 35.86 kB / 0.6921 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.4835, allocations: 282 kB / 0.6924 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4835, allocations: 0 / 0.6924 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.226e-06/0.4835, allocations: 4 kB / 0.6924 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.4835, allocations: 0 / 0.6924 GB, free: 13.8 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.0005374/0.484, allocations: 337.8 kB / 0.6927 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.4841, allocations: 8.031 kB / 0.6927 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/0.4863, allocations: 192.6 kB / 0.6929 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.4866, allocations: 161.7 kB / 0.6931 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.4866, allocations: 4 kB / 0.6931 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.4867, allocations: 8 kB / 0.6931 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005919/0.4873, allocations: 303.9 kB / 0.6934 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4873, allocations: 0 / 0.6934 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.4873, allocations: 7.938 kB / 0.6934 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.4873, allocations: 4 kB / 0.6934 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.4878, allocations: 163.9 kB / 0.6936 GB, free: 12.55 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.001075/0.4888, allocations: 0.5126 MB / 0.6941 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.4892, allocations: 142.5 kB / 0.6942 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.4894, allocations: 64.83 kB / 0.6943 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.4894, allocations: 0 / 0.6943 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.4894, allocations: 38.5 kB / 0.6943 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.4894, allocations: 0 / 0.6943 GB, free: 11.74 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.005569/0.495, allocations: 1.165 MB / 0.6954 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.495, allocations: 59.39 kB / 0.6955 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.4951, allocations: 113.8 kB / 0.6956 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.4952, allocations: 29.7 kB / 0.6956 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.4953, allocations: 95.98 kB / 0.6957 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.4953, allocations: 79.36 kB / 0.6958 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.4954, allocations: 49.7 kB / 0.6958 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4956, allocations: 318.8 kB / 0.6961 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.4957, allocations: 71.95 kB / 0.6962 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.4959, allocations: 107.2 kB / 0.6963 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.4963, allocations: 183.3 kB / 0.6965 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4963, allocations: 4 kB / 0.6965 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005524/0.4969, allocations: 257.7 kB / 0.6967 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4969, allocations: 4 kB / 0.6967 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4969, allocations: 4 kB / 0.6967 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.4971, allocations: 52.92 kB / 0.6968 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.4974, allocations: 51.91 kB / 0.6968 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004745/0.4979, allocations: 0.5679 MB / 0.6974 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.498, allocations: 8.031 kB / 0.6974 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.4981, allocations: 23.98 kB / 0.6974 GB, free: 8.367 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.0001277/0.4982, allocations: 123.2 kB / 0.6975 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.4983, allocations: 16 kB / 0.6976 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007936/0.4991, allocations: 359.2 kB / 0.6979 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4991, allocations: 0 / 0.6979 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4991, allocations: 0 / 0.6979 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4991, allocations: 3.938 kB / 0.6979 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.5001, allocations: 0.5447 MB / 0.6984 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5001, allocations: 0 / 0.6984 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.5005, allocations: 71.98 kB / 0.6985 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.642e-05/0.5006, allocations: 16.84 kB / 0.6985 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.5006, allocations: 12 kB / 0.6985 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.5017, allocations: 1.237 MB / 0.6997 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5017, allocations: 0 / 0.6997 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.5024, allocations: 437.4 kB / 0.7002 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.5025, allocations: 15.86 kB / 0.7002 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.5025, allocations: 8 kB / 0.7002 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.5027, allocations: 11.98 kB / 0.7002 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.5028, allocations: 23.91 kB / 0.7002 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.5028, allocations: 27.98 kB / 0.7002 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.113e-05/0.5029, allocations: 91.27 kB / 0.7003 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5029, allocations: 0 / 0.7003 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000398/0.5033, allocations: 75.94 kB / 0.7004 GB, free: 5.129 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.0003608/0.5036, allocations: 163 kB / 0.7006 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005327/0.5042, allocations: 194.8 kB / 0.7007 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5042, allocations: 0 / 0.7007 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003833/0.5046, allocations: 226.5 kB / 0.701 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.505, allocations: 44.34 kB / 0.701 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009295/0.5059, allocations: 0.5006 MB / 0.7015 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.81e-05/0.506, allocations: 97.84 kB / 0.7016 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.5062, allocations: 59.41 kB / 0.7016 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.5062, allocations: 0 / 0.7016 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of Templates: time 0.006967/0.5132, allocations: 3.923 MB / 0.7055 GB, free: 15.84 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.676726520992815]