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.001631/0.001631, allocations: 118 kB / 18.46 MB, free: 4.613 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.002401/0.002401, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.554/1.554, allocations: 227.4 MB / 251.6 MB, free: 76 kB / 190.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.2673/0.2673, allocations: 46.17 MB / 351.1 MB, free: 14.32 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.002223/0.002223, allocations: 77.72 kB / 490.2 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1352, allocations: 62.45 MB / 0.5397 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5069/0.6421, allocations: 152.3 MB / 0.6884 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.6437, allocations: 1.047 MB / 0.6894 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.6438, allocations: 0 / 0.6894 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.6441, allocations: 41.02 kB / 0.6894 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007479/0.6449, allocations: 274.2 kB / 0.6897 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.6453, allocations: 116.5 kB / 0.6898 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.6455, allocations: 179.2 kB / 0.69 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.6456, allocations: 9.719 kB / 0.69 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.6458, allocations: 98.61 kB / 0.6901 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.6459, allocations: 52.27 kB / 0.6901 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.646, allocations: 7.688 kB / 0.6901 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.6465, allocations: 271 kB / 0.6904 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.6466, allocations: 19.27 kB / 0.6904 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.534e-05/0.6467, allocations: 51.53 kB / 0.6905 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.6472, allocations: 282.7 kB / 0.6907 GB, free: 2.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.6472, allocations: 2.5 kB / 0.6907 GB, free: 2.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6472, allocations: 0 / 0.6907 GB, free: 2.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.6472, allocations: 0 / 0.6907 GB, free: 2.609 MB / 494.1 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.0005938/0.6478, allocations: 411 kB / 0.6911 GB, free: 2.199 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.6478, allocations: 11.67 kB / 0.6911 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.6499, allocations: 198.7 kB / 0.6913 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.6503, allocations: 210.2 kB / 0.6915 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.6503, allocations: 6.875 kB / 0.6915 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.6504, allocations: 8.812 kB / 0.6915 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.6509, allocations: 222.6 kB / 0.6917 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.6509, allocations: 4 kB / 0.6918 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.651, allocations: 1.781 kB / 0.6918 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.651, allocations: 3.125 kB / 0.6918 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.6514, allocations: 173.6 kB / 0.6919 GB, free: 1.598 MB / 494.1 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.001088/0.6525, allocations: 0.5793 MB / 0.6925 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.6529, allocations: 144 kB / 0.6926 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.653, allocations: 76.05 kB / 0.6927 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.6531, allocations: 2.906 kB / 0.6927 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.6531, allocations: 30.81 kB / 0.6927 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.6531, allocations: 4 kB / 0.6927 GB, free: 0.8594 MB / 494.1 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.005298/0.6584, allocations: 1.301 MB / 0.694 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.6585, allocations: 54.03 kB / 0.6941 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.6586, allocations: 111.9 kB / 0.6942 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.6587, allocations: 32.14 kB / 0.6942 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.6587, allocations: 101.9 kB / 0.6943 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.6588, allocations: 63.22 kB / 0.6943 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.6589, allocations: 60.55 kB / 0.6944 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.6591, allocations: 321.2 kB / 0.6947 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.6593, allocations: 65.44 kB / 0.6948 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.6594, allocations: 110.3 kB / 0.6949 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.6598, allocations: 186.1 kB / 0.6951 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6598, allocations: 2.125 kB / 0.6951 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004939/0.6603, allocations: 260.3 kB / 0.6953 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6603, allocations: 7.281 kB / 0.6953 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6604, allocations: 0 / 0.6953 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.6605, allocations: 53.2 kB / 0.6954 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.6609, allocations: 56.86 kB / 0.6954 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004889/0.6614, allocations: 0.5658 MB / 0.696 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.6615, allocations: 6.094 kB / 0.696 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.6616, allocations: 27 kB / 0.696 GB, free: 14.3 MB / 0.4981 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.0001312/0.6617, allocations: 126.1 kB / 0.6961 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.6618, allocations: 13.78 kB / 0.6961 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007431/0.6625, allocations: 345.6 kB / 0.6965 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.6626, allocations: 6.219 kB / 0.6965 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.6626, allocations: 0 / 0.6965 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.6626, allocations: 3.984 kB / 0.6965 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.6636, allocations: 0.627 MB / 0.6971 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6636, allocations: 3 kB / 0.6971 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.664, allocations: 60.89 kB / 0.6972 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.582e-05/0.664, allocations: 20.72 kB / 0.6972 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.6641, allocations: 19.61 kB / 0.6972 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.6652, allocations: 1.369 MB / 0.6985 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6652, allocations: 2.5 kB / 0.6985 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.6659, allocations: 437.1 kB / 0.6989 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.666, allocations: 87.78 kB / 0.699 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.666, allocations: 6.094 kB / 0.699 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.6663, allocations: 13.23 kB / 0.699 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.6663, allocations: 20.38 kB / 0.6991 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.6664, allocations: 30.94 kB / 0.6991 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.28e-05/0.6664, allocations: 92.05 kB / 0.6992 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6664, allocations: 0 / 0.6992 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003857/0.6668, allocations: 80.28 kB / 0.6993 GB, free: 11.43 MB / 0.4981 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.0003656/0.6672, allocations: 155.6 kB / 0.6994 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005358/0.6678, allocations: 205.8 kB / 0.6996 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6678, allocations: 0 / 0.6996 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.6681, allocations: 225.1 kB / 0.6998 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.6686, allocations: 43.95 kB / 0.6999 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009003/0.6695, allocations: 485 kB / 0.7003 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.6699, allocations: 0.7046 MB / 0.701 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003041/0.6702, allocations: 73.39 kB / 0.7011 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.6704, allocations: 55.41 kB / 0.7011 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of SimCode: time 2.214e-06/0.6704, allocations: 0 / 0.7011 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of Templates: time 0.01059/0.681, allocations: 5.643 MB / 0.7066 GB, free: 4.105 MB / 0.4981 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/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: 5.777448436245322]