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.001467/0.001466, allocations: 117 kB / 19.13 MB, free: 3.922 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.001353/0.001353, allocations: 214.6 kB / 22.08 MB, free: 0.9727 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.747/1.747, allocations: 227.4 MB / 252.3 MB, free: 272 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.2209/0.2209, allocations: 46.17 MB / 351.8 MB, free: 14.33 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.002258/0.002258, allocations: 81 kB / 490.9 MB, free: 27.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1133, allocations: 62.45 MB / 0.5403 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4404/0.5538, allocations: 152.3 MB / 0.689 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.5553, allocations: 1.053 MB / 0.6901 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.5553, allocations: 0 / 0.6901 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.5556, allocations: 36.55 kB / 0.6901 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007106/0.5564, allocations: 276.7 kB / 0.6904 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.5568, allocations: 108.2 kB / 0.6905 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.557, allocations: 180.9 kB / 0.6906 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.5571, allocations: 10.22 kB / 0.6906 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.5573, allocations: 97.66 kB / 0.6907 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.5574, allocations: 53.48 kB / 0.6908 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.5574, allocations: 4.875 kB / 0.6908 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005177/0.5579, allocations: 273.2 kB / 0.6911 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.558, allocations: 27.41 kB / 0.6911 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.5581, allocations: 46.14 kB / 0.6911 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.5586, allocations: 278 kB / 0.6914 GB, free: 2.656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5586, allocations: 0 / 0.6914 GB, free: 2.656 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5586, allocations: 2.844 kB / 0.6914 GB, free: 2.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.5586, allocations: 0 / 0.6914 GB, free: 2.656 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.0005516/0.5591, allocations: 416.9 kB / 0.6918 GB, free: 2.238 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5592, allocations: 10.09 kB / 0.6918 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.5612, allocations: 194.9 kB / 0.692 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.5616, allocations: 211.9 kB / 0.6922 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.5616, allocations: 5.062 kB / 0.6922 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.5617, allocations: 12.5 kB / 0.6922 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.5622, allocations: 220.1 kB / 0.6924 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5622, allocations: 3.938 kB / 0.6924 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.5623, allocations: 4 kB / 0.6924 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5623, allocations: 2.844 kB / 0.6924 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/0.5627, allocations: 177 kB / 0.6926 GB, free: 1.641 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.001048/0.5638, allocations: 0.5869 MB / 0.6932 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.5641, allocations: 136.1 kB / 0.6933 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.5643, allocations: 72.55 kB / 0.6934 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.5643, allocations: 6.297 kB / 0.6934 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.5643, allocations: 34.81 kB / 0.6934 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.5644, allocations: 2.938 kB / 0.6934 GB, free: 0.9023 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.005189/0.5695, allocations: 1.297 MB / 0.6947 GB, free: 28 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.5696, allocations: 54.25 kB / 0.6947 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/0.5697, allocations: 112 kB / 0.6948 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.5698, allocations: 29.7 kB / 0.6949 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.5698, allocations: 98.55 kB / 0.695 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.5699, allocations: 73.75 kB / 0.695 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/0.57, allocations: 51.94 kB / 0.6951 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5701, allocations: 329.3 kB / 0.6954 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.5703, allocations: 73.7 kB / 0.6955 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.5705, allocations: 106.1 kB / 0.6956 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.5708, allocations: 185.4 kB / 0.6957 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5708, allocations: 0 / 0.6957 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000475/0.5713, allocations: 255.8 kB / 0.696 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.5713, allocations: 5.656 kB / 0.696 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5714, allocations: 2.094 kB / 0.696 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.5715, allocations: 47.33 kB / 0.696 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.5719, allocations: 60.06 kB / 0.6961 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004397/0.5723, allocations: 0.5621 MB / 0.6966 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.5725, allocations: 13.23 kB / 0.6967 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.5725, allocations: 28.73 kB / 0.6967 GB, free: 14.34 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.0001226/0.5727, allocations: 126.7 kB / 0.6968 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.5727, allocations: 11.64 kB / 0.6968 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000725/0.5735, allocations: 353.8 kB / 0.6971 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.5735, allocations: 6.703 kB / 0.6972 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5735, allocations: 2.562 kB / 0.6972 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.5735, allocations: 0 / 0.6972 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009694/0.5745, allocations: 0.6271 MB / 0.6978 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5745, allocations: 0 / 0.6978 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.5748, allocations: 56.86 kB / 0.6978 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-05/0.5749, allocations: 26.91 kB / 0.6978 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.5749, allocations: 11.78 kB / 0.6979 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009967/0.5759, allocations: 1.368 MB / 0.6992 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5759, allocations: 6.594 kB / 0.6992 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/0.5766, allocations: 426.8 kB / 0.6996 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.5767, allocations: 87.86 kB / 0.6997 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.5767, allocations: 12.69 kB / 0.6997 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.5769, allocations: 10.84 kB / 0.6997 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.577, allocations: 24.5 kB / 0.6997 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.577, allocations: 30.55 kB / 0.6998 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.243e-05/0.5771, allocations: 80.12 kB / 0.6998 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5771, allocations: 2.219 kB / 0.6998 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000388/0.5775, allocations: 85.42 kB / 0.6999 GB, free: 11.47 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.0003587/0.5779, allocations: 156.6 kB / 0.7001 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004988/0.5784, allocations: 208.8 kB / 0.7003 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5784, allocations: 0 / 0.7003 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.5787, allocations: 230.3 kB / 0.7005 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.5792, allocations: 51.12 kB / 0.7005 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008768/0.5801, allocations: 498.1 kB / 0.701 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.5804, allocations: 0.7046 MB / 0.7017 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.5806, allocations: 59.41 kB / 0.7018 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.5806, allocations: 0 / 0.7018 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of Templates: time 0.006666/0.5873, allocations: 3.876 MB / 0.7055 GB, free: 5.906 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.648012941936031]