Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001767/0.001768, allocations: 117 kB / 19.13 MB, free: 3.965 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.001806/0.001806, allocations: 206.6 kB / 22.08 MB, free: 1.012 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.548/1.548, allocations: 227.4 MB / 252.3 MB, free: 92 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.2255/0.2255, allocations: 46.17 MB / 351.8 MB, free: 14.31 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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 81.02 kB / 490.9 MB, free: 28.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1158, allocations: 62.45 MB / 0.5403 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4467/0.5625, allocations: 152.5 MB / 0.6892 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.5646, allocations: 1.591 MB / 0.6908 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.5647, allocations: 2.75 kB / 0.6908 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.565, allocations: 53.91 kB / 0.6908 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.5661, allocations: 402.2 kB / 0.6912 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.5667, allocations: 175.4 kB / 0.6914 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.5669, allocations: 185.9 kB / 0.6916 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.567, allocations: 5 kB / 0.6916 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.5672, allocations: 78.81 kB / 0.6916 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.5673, allocations: 63.94 kB / 0.6917 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.5673, allocations: 4.844 kB / 0.6917 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.5684, allocations: 0.5986 MB / 0.6923 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.5685, allocations: 34.03 kB / 0.6923 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.232e-05/0.5686, allocations: 45.98 kB / 0.6924 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.5693, allocations: 414 kB / 0.6928 GB, free: 1.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5694, allocations: 0 / 0.6928 GB, free: 1.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5694, allocations: 0 / 0.6928 GB, free: 1.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.5694, allocations: 0 / 0.6928 GB, free: 1.93 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006242/0.57, allocations: 431.4 kB / 0.6932 GB, free: 1.508 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.57, allocations: 9.531 kB / 0.6932 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.5723, allocations: 205 kB / 0.6934 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.5726, allocations: 215.8 kB / 0.6936 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.5726, allocations: 6.719 kB / 0.6936 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.5726, allocations: 8.562 kB / 0.6936 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.5731, allocations: 199 kB / 0.6938 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5732, allocations: 3.984 kB / 0.6938 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.5732, allocations: 7.031 kB / 0.6938 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5732, allocations: 0 / 0.6938 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.5738, allocations: 238.8 kB / 0.694 GB, free: 0.9023 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.001802/0.5756, allocations: 0.6679 MB / 0.6947 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.5761, allocations: 191.8 kB / 0.6949 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.5763, allocations: 96.05 kB / 0.6949 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.5765, allocations: 90.56 kB / 0.695 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.5765, allocations: 31.31 kB / 0.6951 GB, free: 16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.5765, allocations: 0 / 0.6951 GB, free: 16 MB / 0.4981 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.005815/0.5824, allocations: 1.54 MB / 0.6966 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.5824, allocations: 57.75 kB / 0.6966 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.5825, allocations: 112 kB / 0.6967 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.5826, allocations: 35.73 kB / 0.6968 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.5826, allocations: 94.66 kB / 0.6969 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.5827, allocations: 71.22 kB / 0.6969 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.5828, allocations: 46 kB / 0.697 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.583, allocations: 321 kB / 0.6973 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.5832, allocations: 89.02 kB / 0.6974 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.5835, allocations: 126 kB / 0.6975 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.5839, allocations: 230.2 kB / 0.6977 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5839, allocations: 1.75 kB / 0.6977 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006334/0.5846, allocations: 278.6 kB / 0.698 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5846, allocations: 8.812 kB / 0.698 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5846, allocations: 1.812 kB / 0.698 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/0.5848, allocations: 25.91 kB / 0.698 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.5852, allocations: 64.48 kB / 0.6981 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004134/0.5857, allocations: 0.5315 MB / 0.6986 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.586, allocations: 10.66 kB / 0.6986 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.586, allocations: 19.33 kB / 0.6986 GB, free: 13.15 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.0001424/0.5862, allocations: 125.2 kB / 0.6987 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.5862, allocations: 9.359 kB / 0.6987 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007677/0.587, allocations: 313.2 kB / 0.699 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.587, allocations: 10.34 kB / 0.699 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.587, allocations: 0 / 0.699 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.5871, allocations: 0 / 0.699 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.5882, allocations: 0.6731 MB / 0.6997 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5882, allocations: 5.219 kB / 0.6997 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.5887, allocations: 43.25 kB / 0.6997 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.073e-05/0.5888, allocations: 26.84 kB / 0.6998 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.5888, allocations: 6.172 kB / 0.6998 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.5899, allocations: 1.374 MB / 0.7011 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5899, allocations: 2.031 kB / 0.7011 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008945/0.5908, allocations: 448.8 kB / 0.7015 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.5909, allocations: 89.03 kB / 0.7016 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.5909, allocations: 12 kB / 0.7016 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.5913, allocations: 16.05 kB / 0.7017 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.5913, allocations: 15.97 kB / 0.7017 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.5914, allocations: 12 kB / 0.7017 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.913e-05/0.5914, allocations: 83.27 kB / 0.7018 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5914, allocations: 0 / 0.7018 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005774/0.592, allocations: 139.7 kB / 0.7019 GB, free: 9.934 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 (19): * Single equations (assignments): 18 * 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.0006953/0.5927, allocations: 266.6 kB / 0.7022 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006735/0.5934, allocations: 243.8 kB / 0.7024 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5934, allocations: 0 / 0.7024 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.5938, allocations: 230.6 kB / 0.7026 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.5943, allocations: 53.59 kB / 0.7027 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009283/0.5952, allocations: 0.4967 MB / 0.7031 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.5956, allocations: 0.7084 MB / 0.7038 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.5957, allocations: 27.42 kB / 0.7039 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.5957, allocations: 0 / 0.7039 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of Templates: time 0.008549/0.6043, allocations: 5.191 MB / 0.7089 GB, free: 2.648 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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: 9.09453266102355]