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.001109/0.001109, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001258/0.001258, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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.018/1.018, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.2453/0.2453, allocations: 34.87 MB / 296.3 MB, free: 0.5352 MB / 266.7 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 1.293e-06/1.293e-06, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.551e-05, allocations: 2.312 kB / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2961/0.2961, allocations: 145.3 MB / 0.5117 GB, free: 17.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009995/0.2971, allocations: 1.072 MB / 0.5128 GB, free: 16.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.2971, allocations: 0 / 0.5128 GB, free: 16.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.2974, allocations: 27.75 kB / 0.5128 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006734/0.2981, allocations: 283.3 kB / 0.5131 GB, free: 16.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.2984, allocations: 123.3 kB / 0.5132 GB, free: 16.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.2986, allocations: 186.7 kB / 0.5134 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.2987, allocations: 4.25 kB / 0.5134 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.2989, allocations: 114.9 kB / 0.5135 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.299, allocations: 55.81 kB / 0.5135 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.299, allocations: 5.562 kB / 0.5135 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.2994, allocations: 250 kB / 0.5138 GB, free: 16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.2995, allocations: 29.84 kB / 0.5138 GB, free: 15.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.2995, allocations: 38.28 kB / 0.5138 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.2999, allocations: 304.6 kB / 0.5141 GB, free: 15.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2999, allocations: 0 / 0.5141 GB, free: 15.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2999, allocations: 0 / 0.5141 GB, free: 15.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3, allocations: 0 / 0.5141 GB, free: 15.86 MB / 410.7 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.000426/0.3004, allocations: 442.6 kB / 0.5146 GB, free: 15.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3004, allocations: 9 kB / 0.5146 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.3016, allocations: 213.4 kB / 0.5148 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3018, allocations: 157.8 kB / 0.5149 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3018, allocations: 15.45 kB / 0.5149 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.3019, allocations: 9.438 kB / 0.5149 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.3022, allocations: 289 kB / 0.5152 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3022, allocations: 0 / 0.5152 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.3022, allocations: 4.562 kB / 0.5152 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3023, allocations: 3.094 kB / 0.5152 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.3025, allocations: 133.9 kB / 0.5154 GB, free: 15.02 MB / 410.7 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.0006564/0.3031, allocations: 0.6239 MB / 0.516 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.3033, allocations: 142 kB / 0.5161 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.3034, allocations: 60.81 kB / 0.5162 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.3034, allocations: 2.562 kB / 0.5162 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.3034, allocations: 39.06 kB / 0.5162 GB, free: 14.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.914e-06/0.3034, allocations: 0 / 0.5162 GB, free: 14.32 MB / 410.7 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.002652/0.3061, allocations: 0.957 MB / 0.5171 GB, free: 13.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/0.3061, allocations: 58.75 kB / 0.5172 GB, free: 13.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.948e-05/0.3062, allocations: 180.5 kB / 0.5174 GB, free: 13.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3062, allocations: 25.7 kB / 0.5174 GB, free: 13.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.3062, allocations: 153.2 kB / 0.5175 GB, free: 13.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.3063, allocations: 64.45 kB / 0.5176 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.3063, allocations: 57.62 kB / 0.5177 GB, free: 13.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.3064, allocations: 0.4934 MB / 0.5181 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.3064, allocations: 42.75 kB / 0.5182 GB, free: 12.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.449e-05/0.3065, allocations: 91.94 kB / 0.5183 GB, free: 12.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3067, allocations: 159.5 kB / 0.5184 GB, free: 12.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3067, allocations: 2.781 kB / 0.5184 GB, free: 12.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002565/0.3069, allocations: 215.6 kB / 0.5186 GB, free: 12.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3069, allocations: 5.562 kB / 0.5186 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3069, allocations: 0 / 0.5186 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.3071, allocations: 40.38 kB / 0.5187 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.3073, allocations: 56.27 kB / 0.5187 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002165/0.3075, allocations: 0.8101 MB / 0.5195 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.3076, allocations: 6.938 kB / 0.5195 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.3076, allocations: 24.22 kB / 0.5195 GB, free: 11.81 MB / 410.7 MB 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 6.766e-05/0.3077, allocations: 163.1 kB / 0.5197 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3077, allocations: 20.61 kB / 0.5197 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.3081, allocations: 273.8 kB / 0.52 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3081, allocations: 2.969 kB / 0.52 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3081, allocations: 0 / 0.52 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3081, allocations: 6.422 kB / 0.52 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.3086, allocations: 0.5412 MB / 0.5205 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3086, allocations: 11.03 kB / 0.5205 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.3088, allocations: 51.16 kB / 0.5206 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.162e-05/0.3089, allocations: 26.16 kB / 0.5206 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.3089, allocations: 10.69 kB / 0.5206 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000458/0.3093, allocations: 1.726 MB / 0.5223 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3093, allocations: 2.688 kB / 0.5223 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.3097, allocations: 436.3 kB / 0.5227 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.3097, allocations: 7.359 kB / 0.5227 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3097, allocations: 6.562 kB / 0.5227 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3098, allocations: 9.188 kB / 0.5227 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.3098, allocations: 24.92 kB / 0.5228 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.3099, allocations: 20.81 kB / 0.5228 GB, free: 9.012 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.391e-05/0.3099, allocations: 127.3 kB / 0.5229 GB, free: 8.895 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3099, allocations: 4.094 kB / 0.5229 GB, free: 8.891 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.3102, allocations: 82 kB / 0.523 GB, free: 8.875 MB / 410.7 MB 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 (20): * Single equations (assignments): 19 * 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.0002795/0.3105, allocations: 159.1 kB / 0.5231 GB, free: 8.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.3108, allocations: 172.9 kB / 0.5233 GB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3108, allocations: 0 / 0.5233 GB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3109, allocations: 274.4 kB / 0.5236 GB, free: 8.512 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.3113, allocations: 63.19 kB / 0.5236 GB, free: 8.488 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008385/0.3121, allocations: 399 kB / 0.524 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.425e-05/0.3121, allocations: 70.84 kB / 0.5241 GB, free: 8.137 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.3123, allocations: 61.34 kB / 0.5241 GB, free: 8.109 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3124, allocations: 40.58 kB / 0.5242 GB, free: 8.098 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3124, allocations: 0 / 0.5242 GB, free: 8.098 MB / 410.7 MB Notification: Performance of Templates: time 0.006679/0.3191, allocations: 5.354 MB / 0.5294 GB, free: 7.637 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6851859260350466]