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.001574/0.001574, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001813/0.001813, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.59/1.59, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.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.266/0.266, allocations: 46.93 MB / 360.8 MB, free: 3.957 MB / 286.1 MB " [Timeout remaining time 179] 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.002721/0.002721, allocations: 79.88 kB / 0.4966 GB, free: 7.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3339, allocations: 66.09 MB / 0.5612 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1797/0.5136, allocations: 131.3 MB / 0.6894 GB, free: 164 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.5152, allocations: 0.9461 MB / 0.6903 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.5153, allocations: 8 kB / 0.6904 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.5156, allocations: 31.77 kB / 0.6904 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007866/0.5164, allocations: 270.5 kB / 0.6906 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.5168, allocations: 125.9 kB / 0.6908 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.517, allocations: 179.2 kB / 0.6909 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.5171, allocations: 7.938 kB / 0.6909 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.5173, allocations: 95.61 kB / 0.691 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.5174, allocations: 63.69 kB / 0.6911 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.5174, allocations: 4 kB / 0.6911 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005869/0.518, allocations: 263.7 kB / 0.6914 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.5181, allocations: 19.92 kB / 0.6914 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.5181, allocations: 47.84 kB / 0.6914 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.5186, allocations: 278.9 kB / 0.6917 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.5186, allocations: 4 kB / 0.6917 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5186, allocations: 0 / 0.6917 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5186, allocations: 0 / 0.6917 GB, free: 13.85 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.0005722/0.5192, allocations: 333.8 kB / 0.692 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.5192, allocations: 8.031 kB / 0.692 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.5213, allocations: 204.6 kB / 0.6922 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.5217, allocations: 153.7 kB / 0.6924 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.5217, allocations: 8 kB / 0.6924 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.5217, allocations: 7.984 kB / 0.6924 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005603/0.5223, allocations: 303.9 kB / 0.6927 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5223, allocations: 0 / 0.6927 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.5223, allocations: 0 / 0.6927 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.5224, allocations: 4 kB / 0.6927 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.5228, allocations: 171.8 kB / 0.6928 GB, free: 12.6 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.001085/0.5239, allocations: 0.5166 MB / 0.6933 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.5242, allocations: 130.5 kB / 0.6935 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.5244, allocations: 64.83 kB / 0.6935 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.5244, allocations: 4 kB / 0.6935 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.5244, allocations: 38.81 kB / 0.6936 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.5244, allocations: 4 kB / 0.6936 GB, free: 11.79 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.005371/0.5298, allocations: 1.147 MB / 0.6947 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.5299, allocations: 55.41 kB / 0.6947 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.53, allocations: 117.8 kB / 0.6948 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.53, allocations: 25.7 kB / 0.6949 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.5301, allocations: 104 kB / 0.695 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.5301, allocations: 71.39 kB / 0.695 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.5302, allocations: 61.62 kB / 0.6951 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5304, allocations: 318.8 kB / 0.6954 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.5306, allocations: 67.97 kB / 0.6955 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.5308, allocations: 103.2 kB / 0.6956 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.5312, allocations: 195.2 kB / 0.6958 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5312, allocations: 0 / 0.6958 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000526/0.5317, allocations: 253.9 kB / 0.696 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5317, allocations: 4 kB / 0.696 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5317, allocations: 4 kB / 0.696 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.5319, allocations: 56.81 kB / 0.6961 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.5322, allocations: 51.91 kB / 0.6961 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004777/0.5327, allocations: 0.5602 MB / 0.6967 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.5329, allocations: 12.12 kB / 0.6967 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.5329, allocations: 35.94 kB / 0.6967 GB, free: 8.41 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.0001329/0.5331, allocations: 121.8 kB / 0.6968 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.5331, allocations: 11.91 kB / 0.6968 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007785/0.5339, allocations: 347.2 kB / 0.6972 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5339, allocations: 3.938 kB / 0.6972 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5339, allocations: 0 / 0.6972 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5339, allocations: 7.984 kB / 0.6972 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.535, allocations: 0.5447 MB / 0.6977 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.535, allocations: 0 / 0.6977 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.5353, allocations: 59.95 kB / 0.6978 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-05/0.5354, allocations: 24.78 kB / 0.6978 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.5354, allocations: 15.98 kB / 0.6978 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.5365, allocations: 1.245 MB / 0.699 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5365, allocations: 0 / 0.699 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.5373, allocations: 429.3 kB / 0.6994 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.5373, allocations: 15.86 kB / 0.6994 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.5373, allocations: 11.94 kB / 0.6994 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.5375, allocations: 4 kB / 0.6994 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.5376, allocations: 32.17 kB / 0.6995 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.5376, allocations: 23.98 kB / 0.6995 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.422e-05/0.5377, allocations: 91.27 kB / 0.6996 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5377, allocations: 0 / 0.6996 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00042/0.5381, allocations: 79.94 kB / 0.6997 GB, free: 5.176 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.0003927/0.5385, allocations: 151 kB / 0.6998 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005475/0.5391, allocations: 198.8 kB / 0.7 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5391, allocations: 0 / 0.7 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003833/0.5395, allocations: 226.8 kB / 0.7002 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.5399, allocations: 45.92 kB / 0.7003 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009603/0.5409, allocations: 488.6 kB / 0.7007 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.541, allocations: 97.97 kB / 0.7008 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003102/0.5414, allocations: 81.38 kB / 0.7009 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.5415, allocations: 51.41 kB / 0.7009 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.5415, allocations: 0 / 0.7009 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of Templates: time 0.01159/0.5531, allocations: 5.694 MB / 0.7065 GB, free: 14.12 MB / 0.545 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.1.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.742470640689135]