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.00195/0.00195, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001544/0.001544, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.438/1.438, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2216/0.2216, allocations: 46.97 MB / 361.6 MB, free: 4.016 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.002073/0.002073, allocations: 59.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2828, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1658/0.4486, allocations: 131.3 MB / 0.6901 GB, free: 288 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.4501, allocations: 0.9462 MB / 0.691 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.4501, allocations: 4 kB / 0.691 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.4504, allocations: 31.75 kB / 0.691 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007172/0.4511, allocations: 274.6 kB / 0.6913 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.4515, allocations: 126.9 kB / 0.6914 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.4517, allocations: 183.2 kB / 0.6916 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.4518, allocations: 8 kB / 0.6916 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.452, allocations: 91.62 kB / 0.6917 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.4521, allocations: 67.69 kB / 0.6917 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.4521, allocations: 8 kB / 0.6917 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004987/0.4526, allocations: 267.7 kB / 0.692 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.4527, allocations: 23.97 kB / 0.692 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/0.4527, allocations: 39.8 kB / 0.6921 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.4532, allocations: 278 kB / 0.6923 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4532, allocations: 0 / 0.6923 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4532, allocations: 4 kB / 0.6923 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.4532, allocations: 0 / 0.6923 GB, free: 13.96 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.0005252/0.4537, allocations: 329.8 kB / 0.6926 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.4537, allocations: 8.031 kB / 0.6927 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.456, allocations: 200.6 kB / 0.6928 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.4564, allocations: 157.7 kB / 0.693 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4564, allocations: 4 kB / 0.693 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.4564, allocations: 8 kB / 0.693 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/0.457, allocations: 305.1 kB / 0.6933 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4571, allocations: 7.938 kB / 0.6933 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.4571, allocations: 4 kB / 0.6933 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.4571, allocations: 4 kB / 0.6933 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.4576, allocations: 167.9 kB / 0.6935 GB, free: 12.7 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.001103/0.4587, allocations: 0.5127 MB / 0.694 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.4591, allocations: 138.5 kB / 0.6941 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.4592, allocations: 72.81 kB / 0.6942 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.4593, allocations: 3.984 kB / 0.6942 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4593, allocations: 38.56 kB / 0.6942 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.4593, allocations: 0 / 0.6942 GB, free: 11.88 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.005779/0.4651, allocations: 1.142 MB / 0.6953 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.4651, allocations: 59.34 kB / 0.6954 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.4652, allocations: 113.8 kB / 0.6955 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.4653, allocations: 29.7 kB / 0.6955 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.4653, allocations: 99.98 kB / 0.6956 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.593e-05/0.4654, allocations: 75.36 kB / 0.6957 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.4655, allocations: 57.62 kB / 0.6957 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4657, allocations: 314.8 kB / 0.696 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.4658, allocations: 71.95 kB / 0.6961 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.466, allocations: 104.9 kB / 0.6962 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.4664, allocations: 189.3 kB / 0.6964 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4664, allocations: 4 kB / 0.6964 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005507/0.467, allocations: 259.8 kB / 0.6966 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.467, allocations: 4 kB / 0.6967 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.467, allocations: 4 kB / 0.6967 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.4672, allocations: 52.77 kB / 0.6967 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.4675, allocations: 56.06 kB / 0.6968 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004894/0.468, allocations: 0.5679 MB / 0.6973 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.4682, allocations: 12.02 kB / 0.6973 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.4683, allocations: 27.94 kB / 0.6974 GB, free: 8.508 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.0001269/0.4684, allocations: 117.8 kB / 0.6975 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.4685, allocations: 11.91 kB / 0.6975 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008278/0.4693, allocations: 349.3 kB / 0.6978 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4693, allocations: 4 kB / 0.6978 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4693, allocations: 0 / 0.6978 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4693, allocations: 4 kB / 0.6978 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.4704, allocations: 0.5408 MB / 0.6983 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4704, allocations: 0 / 0.6983 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.4708, allocations: 67.89 kB / 0.6984 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.463e-05/0.4708, allocations: 16.94 kB / 0.6984 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.4709, allocations: 19.98 kB / 0.6984 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.4719, allocations: 1.241 MB / 0.6997 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4719, allocations: 0 / 0.6997 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007655/0.4727, allocations: 433.1 kB / 0.7001 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.4727, allocations: 20.08 kB / 0.7001 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.4727, allocations: 11.98 kB / 0.7001 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.473, allocations: 8 kB / 0.7001 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.473, allocations: 23.97 kB / 0.7001 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.4731, allocations: 23.98 kB / 0.7002 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.4731, allocations: 91.58 kB / 0.7002 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.4731, allocations: 0 / 0.7002 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004139/0.4736, allocations: 79.94 kB / 0.7003 GB, free: 5.281 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.0003721/0.4739, allocations: 155 kB / 0.7005 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005281/0.4745, allocations: 194.8 kB / 0.7006 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4745, allocations: 4.188 kB / 0.7007 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.4749, allocations: 222.5 kB / 0.7009 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.4753, allocations: 55.02 kB / 0.7009 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009052/0.4762, allocations: 492.5 kB / 0.7014 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.766e-05/0.4763, allocations: 85.98 kB / 0.7015 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.4766, allocations: 81.38 kB / 0.7015 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.4768, allocations: 51.42 kB / 0.7016 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.4768, allocations: 0 / 0.7016 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of Templates: time 0.01034/0.4872, allocations: 5.747 MB / 0.7072 GB, free: 14.18 MB / 0.545 GB " [Timeout remaining time 660] 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 -s gbode -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: 5.163846497001941]