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.001386/0.001386, 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.00156/0.00156, allocations: 213.3 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.453/1.453, 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.2392/0.2392, allocations: 46.95 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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.002203/0.002203, allocations: 67.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3651, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1784/0.5434, allocations: 131.3 MB / 0.6901 GB, free: 276 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.5449, allocations: 0.9501 MB / 0.691 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.545, allocations: 0 / 0.691 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.5452, allocations: 31.78 kB / 0.691 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007286/0.5459, allocations: 278.5 kB / 0.6913 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.5463, allocations: 119.1 kB / 0.6914 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.5467, allocations: 187.2 kB / 0.6916 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.5467, allocations: 4 kB / 0.6916 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.5469, allocations: 95.61 kB / 0.6917 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.547, allocations: 63.69 kB / 0.6917 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.5471, allocations: 4 kB / 0.6917 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005077/0.5476, allocations: 275.7 kB / 0.692 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.5476, allocations: 11.98 kB / 0.692 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.5477, allocations: 39.86 kB / 0.6921 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.5481, allocations: 286 kB / 0.6923 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5481, allocations: 0 / 0.6923 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5481, allocations: 0 / 0.6923 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.5482, 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.0005809/0.5487, allocations: 341.8 kB / 0.6927 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5488, allocations: 12.03 kB / 0.6927 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.551, allocations: 196.6 kB / 0.6929 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.5515, allocations: 157.7 kB / 0.693 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.5515, allocations: 7.938 kB / 0.693 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.5515, allocations: 8 kB / 0.693 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006352/0.5522, allocations: 301.1 kB / 0.6933 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.5522, allocations: 0 / 0.6933 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.5522, allocations: 7.938 kB / 0.6933 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.5522, allocations: 0 / 0.6933 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.5527, allocations: 175.9 kB / 0.6935 GB, free: 12.69 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.001151/0.5539, allocations: 0.5088 MB / 0.694 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.5542, allocations: 130.5 kB / 0.6941 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.5544, allocations: 64.83 kB / 0.6942 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.5544, allocations: 11.98 kB / 0.6942 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.5544, allocations: 30.56 kB / 0.6942 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.5544, allocations: 0 / 0.6942 GB, free: 11.89 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.005311/0.5597, allocations: 1.158 MB / 0.6953 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.5598, allocations: 55.34 kB / 0.6954 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/0.5599, allocations: 113.8 kB / 0.6955 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.5599, allocations: 25.7 kB / 0.6955 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.56, allocations: 108 kB / 0.6956 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/0.5601, allocations: 71.38 kB / 0.6957 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.931e-05/0.5602, allocations: 57.7 kB / 0.6958 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5603, allocations: 322.8 kB / 0.6961 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.5605, allocations: 63.97 kB / 0.6961 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.5607, allocations: 112.9 kB / 0.6962 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.561, allocations: 185.2 kB / 0.6964 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.561, allocations: 0 / 0.6964 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005627/0.5616, allocations: 258.3 kB / 0.6967 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5616, allocations: 4 kB / 0.6967 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5616, allocations: 0 / 0.6967 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002036/0.5618, allocations: 56.77 kB / 0.6967 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.5622, allocations: 47.97 kB / 0.6968 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004959/0.5627, allocations: 0.5679 MB / 0.6973 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.5628, allocations: 8.219 kB / 0.6973 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.5629, allocations: 31.98 kB / 0.6973 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.0001341/0.563, allocations: 127.3 kB / 0.6975 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.5631, allocations: 11.91 kB / 0.6975 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008128/0.5639, allocations: 343 kB / 0.6978 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5639, allocations: 7.938 kB / 0.6978 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5639, allocations: 0 / 0.6978 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5639, allocations: 3.984 kB / 0.6978 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.5649, allocations: 0.5525 MB / 0.6984 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5649, allocations: 0 / 0.6984 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.5653, allocations: 59.89 kB / 0.6984 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.239e-05/0.5654, allocations: 24.84 kB / 0.6984 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.5654, allocations: 8 kB / 0.6984 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.5665, allocations: 1.249 MB / 0.6997 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5665, allocations: 0 / 0.6997 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/0.5672, allocations: 432.7 kB / 0.7001 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.5672, allocations: 15.83 kB / 0.7001 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.5673, allocations: 8 kB / 0.7001 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.5675, allocations: 4 kB / 0.7001 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.5675, allocations: 27.95 kB / 0.7001 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.5676, allocations: 28.14 kB / 0.7002 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.5676, allocations: 91.28 kB / 0.7002 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5676, allocations: 0 / 0.7002 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004193/0.5681, allocations: 79.92 kB / 0.7003 GB, free: 5.27 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.0003632/0.5684, allocations: 155 kB / 0.7005 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005047/0.5689, allocations: 195.8 kB / 0.7007 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5689, allocations: 0 / 0.7007 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.5693, allocations: 224.2 kB / 0.7009 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.5697, allocations: 47.69 kB / 0.7009 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000904/0.5706, allocations: 495 kB / 0.7014 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.23e-05/0.5707, allocations: 97.97 kB / 0.7015 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002915/0.571, allocations: 73.39 kB / 0.7016 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.5712, allocations: 47.41 kB / 0.7016 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.5712, allocations: 0 / 0.7016 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of Templates: time 0.01037/0.5816, allocations: 5.742 MB / 0.7072 GB, free: 14.18 MB / 0.545 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 -s cvode -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.431120084002032]